summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexLoader.cpp
AgeCommit message (Collapse)Author
2010-05-26For these assertions to trip, enums in CPMemory.h which seem pretty much setSoren Jorvang
in stone would have to change. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5496 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-04fast commit :Rodolfo Osvaldo Bogado
make native mips loading an option to prevent performance lost in game that not need this functionality.( thanks to dorian.fevrier for point the performance lost.) added a patch from pierre@pirsoft.de to avoid vertex drops when index array is full in opengl implementation that do not support large index arrays git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5432 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-09VideoCommon: Added automatic selection routines for SSSE3/SSE4.1 codes. It ↵nodchip
selects SSSE3/SSE4.1 codes only if a proper preprocessor definition is defined and the target cpu supports SSSE3/SSE4.1. The selection routines in VertexLoader_* use function pointers. TextureDecoder uses a combination of "#if" and "if" statements. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5302 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28Refactored VertexLoader::CompileVertexTranslator(). Now texture coordinates ↵nodchip
loaders are also selected from a function table. I will add a hack to increase the speed in the next commit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5140 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28Refactored VertexLoader::CompileVertexTranslator(). Now the vertex position ↵nodchip
loader is selected from a function table. I will apply the same kind of refactoring to texture coordinates loader. This is a pre-preparation to optimize texture coordinates loaders. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5139 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24Reverted because of some processor and performance issue. I will develop in ↵nodchip
a branch about SSSE3/SSE4.1. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5123 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24Added SSSE3/SSE4.1 code for speed up. The code does not work in this ↵nodchip
revision because cpu_info is not initialized properly. I will fix the issue in another commit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5119 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-12Fix missing shading in NSMBWii etc in the D3D plugin. Now, I'm not entirely ↵hrydgard
sure why the existing code didn't work properly, but hey, this fixes it :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-10Moving pixel engine and command processor from core to video common. This ↵donkopunchstania
will break previous save states. Adds decoding single pixels to texture decoder. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26r4322 commented out an important Flush() call - restore that.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26OpenGL: commit rodolfoosvaldobogado's (what a name!) speedup patches.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros ↵hrydgard
Melee. misc tiny things git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4265 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30Don't use lookup tables. It's better to use CPU registers and reduce memory ↵Nolan Check
accesses. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3909 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28Now ALL copyright dates are fixed to the legally correct year: The year in ↵XTra.KrazzY
which the project began. Now we don't have to change it every year :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26GFX: updated Dates, code formatting cleanup, code cleanup / organization, ↵omegadox
some unknown BPs uncovered, fixed OGL's config dialog bug, added another shader DSPHLE: Some warning fixes and added some logging for unknown voice cases Please report if anything has broken. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3884 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03Assorted cleanup, perf counter logging, and minor fixes that have been ↵hrydgard
accumulating on my hdd :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3663 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28Graphics: (faked) bounding box support. Helps some Paper Mario effects ↵hrydgard
although they're still a bit glitchy. Might also help other games? Enable with the #define in VideoCommon.h. Since there might be a speed hit it's off by default. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3580 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22revert last 2 commitsnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22They should be called SU Registers (Setup Unit/Rasterization). BP (Bypass) ↵omegadox
is really the name of the commands that are passed in. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-10A fix to D3D NativeVertexFormat. Might not fix much, but should be a step in ↵hrydgard
the right direction. Other misc bits and bobs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2644 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15vertexloader_pos cleanup - remove the branch per vertex. not much of a ↵hrydgard
speedup though. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2256 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15Sort vertex loader debug statistics by number of verts loaded - now easy to ↵hrydgard
identify the heaviest vertex loader in games. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should ↵hrydgard
give very minor speed boost. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06more info in the vertex loader debug displayhrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2128 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-10Linux 64-bit fix by tinctorius, please verify!XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1845 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26moar cleanuphrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1694 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26GL Vertex loader moved to VideoCommon.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1692 8ced0084-cf51-0410-be5f-012b33b47a6e