summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/IndexGenerator.cpp
AgeCommit message (Collapse)Author
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