summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/IndexGenerator.cpp
AgeCommit message (Collapse)Author
2018-12-04Use main buffers for utility drawsStenzek
2018-06-09Compiler: Rename __forceinline define to DOLPHIN_FORCE_INLINELioncash
This is much better as prefixed double underscores are reserved for the implementation when it comes to identifiers. Another reason its better, is that, on Windows, where __forceinline is a compiler built-in, with the previous define, header inclusion software that detects unnecessary includes will erroneously flag usages of Compiler.h as unnecessary (despite being necessary on other platforms). So we define a macro that's used by Windows and other platforms to ensure this doesn't happen.
2018-06-09Common: Add header for compiler-specificsLioncash
Instead of globbing things under an ambiguous Common.h header, move compiler-specifics over to Compiler.h. This gives us a dedicated home for anything related to compilers that we want to make functional across all compilers that we support. This moves us a little closer to eliminating Common.h entirely.
2017-06-07fix various instances of -1 being assigned to unsigned typesShawn Hoffman
2017-02-08OpcodeDecoding: Convert #defines into enum constantsLioncash
Gets several constants out of global scope.
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-17VideoCommon: Header cleanupLioncash
Also remedies places where the video backends and core rely on things being indirectly included.
2015-08-28Fix building with PCH disabled.Rohit Nirmal
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-05-17Video backends: warn on usage of GL_DRAW_QUADS_2.magumagu
It's not normally used, so if it shows up, it could indicate a CPU emulation bug.
2014-05-10Opcode decoding: handle missing opcodes 0x88 etc.magumagu
Hardware testing shows that they do the same thing as the 0x80 family of opcodes: they draw quads.
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-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-18Convert all includes to relative paths.Lioncash
2014-01-17IndexGenerator: inline all variablesdegasus
As we do lots of writes to *Iptr, the compiler isn't allowed to cache any shared variable (neither index nor Iptr itself). This commit inlines Iptr + index into the index generator functions, so the compiler know that they are const.
2014-01-17IndexGenerator: drop unused variabledegasus
2014-01-17VideoCommon: merge triangle+list+point index buffersdegasus
We are used to render them out of order as long as everything else matches, but rendering order does matter, so we have to flush on primitive switch. This commit implements this flush. Also as we flush on primitive switch, we don't have to create three different index buffers. All indices are now stored in one buffer. This will slow down games which switch often primitive types (eg ztp), but it should be more accurate.
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre