summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader_Position.cpp
AgeCommit message (Collapse)Author
2019-05-30VertexLoader_Position: Tidy up public function definitionsLioncash
We can use u32 instead of unsigned int to shorten up these definitions and make them much nicer to read. While we're at it, change the size array to house u32 elements to match the return value of the function.
2019-05-30VertexLoader_Position: Make lookup tables immutableLioncash
Allows the compiler to place these arrays within the read-only segment.
2019-05-30VertexLoader_Position: Place helper functions in anonymous namespaceLioncash
2018-04-12Reformat all the things!spycrab
2017-03-03Common: Move byte swapping utilities into their own headerLioncash
This moves all the byte swapping utilities into a header named Swap.h. A dedicated header is much more preferable here due to the size of the code itself. In general usage throughout the codebase, CommonFuncs.h was generally only included for these functions anyway. These being in their own header avoids dumping the lesser used utilities into scope. As well as providing a localized area for more utilities related to byte swapping in the future (should they be needed). This also makes it nicer to identify which files depend on the byte swapping utilities in particular. Since this is a completely new header, moving the code uncovered a few indirect includes, as well as making some other inclusions unnecessary.
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-06-20VertexLoader: Remove the LOADERDECL define.Lioncash
These functions aren't called from jitted code anymore so it isn't necessary.
2015-06-07zfreeze: cache vertex positionsTillmann Karras
Suggested by degasus.
2015-05-30Clean up cached_arraybases. Update VideoSW to new scheme.Scott Mansell
Move ownership of cached_arraybases from CPMemory to VertexLoaderManager to better match it usage.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-03-18VertexLoaders: make positions more compactTillmann Karras
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2015-01-20VertexLoader: remove non-JIT SSE codeTillmann Karras
2015-01-19VertexLoader_Position: remove old JIT ideasTillmann Karras
2015-01-18DataReader: turn WritePointer into GetPointerTillmann Karras
2014-12-21VertexLoader: Skip vertices with position index = -1degasus
2014-12-21VertexLoader: Add a VertexLoader pointer to each function calldegasus
2014-12-09VideoCommon: Rename s_pCurBufferPointerdegasus
2014-12-09VideoCommon: rewrite DataReaderdegasus
2014-11-20Vertex Loader: SSE implementations of more position/texcoord/normal formatsFiora
~35-45% faster NFS:HP2, possibly other vertex-bound games.
2014-09-28Mechanical changes to move most CP state to a struct rather than separate ↵comex
globals. The next commit will add a separate copy of the struct and the ability for LoadCPReg to work on it.
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-09-01VertexLoader: Change VtxDesc to use u64 instead of u32Pierre Bourdon
This is required to make packing consistent between compilers: with u32, MSVC would not allocate a bitfield that spans two u32s (it would leave a "hole").
2014-08-30Get rid of C-style empty function parameter indicatorsLioncash
2014-07-11avoid the extern keyword in .cpp filesdegasus
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-21VertexLoader: temp class for reader/writerdegasus
2014-01-21VertexLoader: inline destionation bufferdegasus
2014-01-21VertexLoader: load scale factor as const, this will save some assembler ↵degasus
instructions
2014-01-16VertexLoader: don't check for possible rangedegasus
I(index) < std::numeric_limits<I>::max() is always true, so we don't have to check it
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre