summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NativeVertexFormat.h
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
2015-01-24Stop doing nastly shit to OpenGL stream buffers.Scott Mansell
Instead we keep the loaded vertices in CPU memory.
2015-01-24Move Zfreeze code out individual backends into videoCommonScott Mansell
Also: * Implement support for per-vertex PosMatrixIndex * Only update zslope constant once when zfreeze is activated. * Added a bunch of comments.
2014-12-21VideoCommon: split VertexLoaderBase from VertexLoaderdegasus
2014-10-21Add missing includes where headers depend on other headers having been ↵comex
included first. This is good hygiene, and also happens to be required to build Dolphin using Clang modules. (Under this setup, each header file becomes a module, and each #include is automatically translated to a module import. Recursive includes still leak through (by default), but modules are compiled independently, and can't depend on defines or types having previously been set up. The main reason to retrofit it onto Dolphin is compilation performance - no more textual includes whatsoever, rather than putting a few blessed common headers into a PCH. Unfortunately, I found multiple Clang bugs while trying to build Dolphin this way, so it's not ready yet, but I can start with this prerequisite.)
2014-09-28Switch to an unordered_map as a micro-optimization.comex
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-07-04VideoCommon: Cache native vertex formatsdegasus
We are used to have a 1:1 mapping of GX vertex formats and the native (OGL + D3D) ones, but there are by far more GX ones. This new cache maps them directly so that we don't flush on GX vertex format changes as long as the native one doesn't change. The idea is stolen from galop1n.
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-01-31PortableVertexFormat: use AttributeFormat for posmtx attribute formatdegasus
2014-01-31PortableVertexFormat: use AttributeFormat for texcoord attribute formatdegasus
2014-01-31PortableVertexFormat: use AttributeFormat for color attribute formatdegasus
2014-01-31PortableVertexFormat: use AttributeFormat for normal attribute formatdegasus
2014-01-31PortableVertexFormat: add a struct which hold all needed information for ↵degasus
every vertex and use this for position atm, position attribute is hardcoded both in VertexLoader and in backends. v2: fix coding style + cleanup lookup table
2014-01-30NativeVertexFormat: swap unsigned / signed formats to match GX orderdegasus
2014-01-15VideoCommon: cleanup of "components" usagedegasus
This "u32 components" is a list of flags which attributes of the vertex loader are present. We are used to append this variable to lots of vertex generation functions, but some of them don't need it at all.
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre