summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Clipper.cpp
AgeCommit message (Collapse)Author
2022-10-29VideoCommon/Statistics: Require semicolons after statistics macrosPokechu22
This is clearer and reduces IntelliSense problems.
2022-04-16Software: Disable clipping based on xfmemPokechu22
This fixes https://bugs.dolphin-emu.org/issues/12562, and is also needed for a hardware test of mine.
2022-04-16Software: Use new scissor logicPokechu22
Unlike the hardware backends, the software renderer can use multiple scissor rectangles (though this will result in extra rasterization).
2022-04-08Software: Fix zfreeze with CullMode::AllPokechu22
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-04-23Merge pull request #9660 from ezio1900/masterJMC47
VideoCommon: Fix scissorOffset, handle negative value correctly
2021-04-24VideoCommon: Fix scissorOffset, handle negative value correctlyezio1900
VideoCommon: Change the type of BPMemory.scissorOffset to 10bit signed: S32X10Y10 VideoBackends: Fix Software Clipper.PerspectiveDivide function, use BPMemory.scissorOffset instead of hard code 342
2021-03-06Software: Invert backface test when viewport is positivePokechu22
Fixes Jimmie Johnson's Anything with an Engine.
2021-03-06Convert BPMemory to BitField and enum classPokechu22
Additional changes: - For TevStageCombiner's ColorCombiner and AlphaCombiner, op/comparison and scale/compare_mode have been split as there are different meanings and enums if bias is set to compare. (Shift has also been renamed to scale) - In TexMode0, min_filter has been split into min_mip and min_filter. - In TexImage1, image_type is now cache_manually_managed. - The unused bit in GenMode is now exposed. - LPSize's lineaspect is now named adjust_for_aspect_ratio.
2021-02-13Software: Implement pointsPokechu22
2021-02-13Software: Fix line-width effectsPokechu22
2019-07-10VideoCommon/Statistics: Rename stats global to g_statsLioncash
Makes the global variable follow our convention of prefixing g_ on global variables to make it obvious in surrounding code that it's not a local variable.
2019-07-10VideoCommon/Statistics: Normalize statistic variable namesLioncash
Normalizes all variables related to statistics so that they follow our coding style. These are relatively low traffic areas, so this modification isn't too noisy.
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2018-03-14Assert: Uppercase assertion macrosLioncash
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
2017-08-22Clipper: Copy both color sequences in CopyVertex as opposed to oneLioncash
This is likely an oversight.
2017-08-22SW NativeVertexFormat: Utilize std::array where applicableLioncash
Gets rid of some hardcoded looping bounds, and also simplifies code in some places, sometimes allowing for removal of a loop altogether.
2016-09-24Software: Clean out unnecessary includes/fwd declsLioncash
2016-09-22Clipper: const correctnessLioncash
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-03-06VideoSW: Drop SetViewOffset.degasus
Just use the global state.
2016-01-06VideoSW: Use more VideoCommondegasus
Now we require lots of empty functions, but this removes by far more duplicated code.
2015-09-30ChunkFile: Provide additional helpers for C-style arraysLioncash
Gets rid of magic numbers in cases where the array size is known at compile time. This is also useful for future entries that are stack allocated arrays as these functions prevent incorrect sizes being provided.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-10-02Change a bunch of reference function arguments to pointers.comex
Per the coding style and sanity.
2014-08-10Software: Fix some if-statement body placementsLioncash
2014-08-10Software: Fix various brace styling errorsLioncash
2014-07-29Convert some more header inclusions into forward declarationsLioncash
2014-07-11mark all local variables as staticdegasus
2014-07-11mark all local functions as staticdegasus
2014-05-16Video backends: mass-replace "xfregs" with "xfmem".magumagu
2014-05-16Video backends: unify xfregs/xfmem structures.magumagu
Removes the duplicate swxfregs global variable/struct from the software backend in favor of the ones from VideoCommon.
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre