summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
AgeCommit message (Collapse)Author
2013-08-26ogl driverdetails: add flag to disable hacked and pinned memorydegasus
pinned memory is broken for index buffers hacked buffer crashes the amd driver
2013-08-20ogl: explain why pinned memory is disabled for index bufferdegasus
2013-08-20ogl: fix the range of glDrawRangeElementsdegasus
This range isn't the amound of rendered vertices (this is count). It's the minimum/maximum of the indices in the index buffer.
2013-07-26[Android] Qualcomm Swap hack isn't needed anymore due to the new ↵Ryan Houdek
StreamBuffer type.
2013-07-27Remove the broken buffers bug on Mali hardware since it isn't needed anymore ↵Ryan Houdek
using the glBufferData route in the StreamBuffer class.
2013-07-26Change from using glDrawElements/glDrawElementsBaseVertex to ↵Ryan Houdek
glDrawRangeElements/glDrawRangeElementsBaseVertex. On Mali, this reduces a internal function usage from 8% to off the charts.
2013-07-25Add in the Mali driver bug so we can call glFlush every flush. It seemingly ↵Ryan Houdek
is quicker calling flush every time instead of every n times.
2013-06-18[Android] When running OpenGL ES 3 backend, we've got to switch the screen ↵Ryan Houdek
coordinates or bad things happen. Adds a Driver bug that causes swap every single flush. Hard requirement currently to see /anything/ on screen.
2013-06-17Merge 'master' into shader-uids-awesome.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/LightingShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.h Source/Core/VideoCommon/Src/VertexShaderGen.cpp
2013-05-23add new statistics for gpu buffer streamingdegasus
2013-04-25Merge 'master' into shader-uids-awesome.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/BPMemory.h Source/Core/VideoCommon/Src/LightingShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.h Source/Core/VideoCommon/Src/PixelShaderManager.cpp Source/Core/VideoCommon/Src/VertexShaderGen.cpp Source/Core/VideoCommon/Src/VertexShaderGen.h
2013-04-19Fix a bunch of random typos in comments and logging.lioncash
Also update the comment headers for two functions in GCMemcard.cpp.
2013-04-17New license header introduced to all Video based projects.Lioncash
2013-04-15Update the license file text (change SVN to Git) in all projects except Core ↵lioncash
since I was told a merge was happening soon. So for the sake of the merge going smoothly, I'll fix that when I remove the tab/space mismatches from the Core project. Also, some tab/space mismatches removed from VideoOGL, and some places I missed in VideoDX[number] projects. Now, the Core is literally the only project with tab/space mismatches (on a large scale).
2013-04-10small cleanup suggested by neobraindegasus
2013-04-08Merge branch 'master' into primitive_restartdegasus
Conflicts: Source/Core/VideoCommon/Src/VideoConfig.h Source/Plugins/Plugin_VideoDX9/Src/main.cpp Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
2013-04-01Some more logging typos and clarifications. Missed these in my last commit.Lioncash
This commit mainly elaborates on some messages a little more. Also fixes some typos that slipped through the last commit. A large change in text can be seen in EXI_DeviceMemoryCard.cpp. I added more info as to why a write to a memory card may fail. (This actually was a reason I was unable to write to a memcard recently). Elaborations can be seen in WGL.cpp I did change some comments in some files that I was correcting logging messages in, however this is only if I spot a typo or if an abbreviation is lower-cased. Even in that case, the amount of changes done to comments is very minimal.
2013-03-29first try of primitive restart index generatordegasus
Convert all quads+triangles into trangle_strip and uses primitive restart to split them. Speed up triangle_strip, but slows down all others primitive formats. Only implemented in ogl.
2013-03-26Merge 'master' into shader-uids-awesome.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/LightingShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.h Source/Core/VideoCommon/Src/PixelShaderManager.cpp Source/Core/VideoCommon/Src/VertexShaderGen.cpp Source/Core/VideoCommon/Src/VertexShaderGen.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.h Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.h
2013-03-25move ogl-only settings into backenddegasus
2013-03-23Switch to using bitfields in the streambuffer class so we can exclude buggy ↵Ryan Houdek
streambuffer types. This disables pinned memory on ATI for GL_ELEMENT_ARRAY_BUFFER because it seems to be buggy. This fixes ATI for me.
2013-03-06Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/CMakeLists.txt Source/Core/DolphinWX/Src/GLInterface.h Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj.filters Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/main.cpp
2013-03-04Merge branch 'master' into vertex-loader-cleanupJordan Woyak
Conflicts: Source/Core/Common/Src/CommonFuncs.h Source/Core/VideoCommon/Src/VertexLoader.cpp
2013-03-04fix debug builddegasus
2013-03-02Merge branch 'master' into windows-unicodeJordan Woyak
2013-02-28Open std::fstream in a unicode-safe manner.Jordan Woyak
2013-03-01Build fixes for everyone!NeoBrainX
2013-03-01Merge branch 'master' into perfqueries.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/VideoConfig.h Source/Core/VideoCommon/VideoCommon.vcxproj.filters Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp Source/Plugins/Plugin_VideoSoftware/Src/Tev.cpp
2013-02-27Tweak Vertex/Index buffer handling a bit.Jordan Woyak
2013-02-26workaround for base vertex. damn old nvidia driverdegasus
2013-02-22increase buffer sizedegasus
32M UBO, 16M Vertex, 2M Index
2013-02-22VertexManager cleanupJordan Woyak
2013-02-21consistently usage of buffer pointersdegasus
2013-02-19Implement OGL sampler cache. Allows binding a texture multiple times with ↵Jordan Woyak
different parameters. Also possibly gives a very small speed improvement.
2013-02-18Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/Dolphin.vcxproj Source/Core/DolphinWX/Src/GLInterface/WX.cpp Source/Core/DolphinWX/Src/GLInterface/WX.h Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/TextureCacheBase.h Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX11/Src/TextureCache.h Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX9/Src/TextureCache.h Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.h Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp damn mipmap_fixes ...
2013-02-16Fix OGL perf queries and make them not slow!Jordan Woyak
2013-02-15Changes/cleanup to TextureCache::Load and other mipmap related code.Jordan Woyak
The significant change is what is now line 520 of TextureCacheBase.cpp: ((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1) to TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat); Fixes issue 5328. Fixes issue 5461.
2013-02-13merge Vertex and PixelShaderCache into ProgramShaderCachedegasus
this is the first step, uniform handling is still missing
2013-02-07Merge branch 'mipmap_fixes'.NeoBrainX
2013-02-05bigger buffersdegasus
2013-02-01stream by map and syncdegasus
but not working perfectly, so disabled
2013-02-01implement streaming by bufferSubData, split upload and allocation in ringbufferdegasus
2013-01-31create StreamBuffer class for ogl uploaddegasus
2013-01-28Add some code for generating a shader constant usage profile.NeoBrainX
2013-01-28set hint GL_STREAM_READdegasus
it's wrong, but so we are guaranteed to get pinned memory. it's slower for rendering, but faster for mapping.
2013-01-25orphan vbo also with glBufferDatadegasus
2013-01-24Merge branch 'immediate-removal' into GLSL-masterdegasus
Conflicts: Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Plugins/Plugin_VideoSoftware/Src/SWRenderer.cpp immediate-removal is a new created branch seperated from master but reverted the revert of immediate-removal so we get less conflicts by merging
2013-01-24Revert "Revert 30dd9c2 e9d00bf db5f4c8 and bff0fae"degasus
This reverts commit d0301ca89d318d8d6e3e7fde9c4b60e470e184e4. Conflicts: .gitignore
2013-01-19add stage parameter for texture load, so ogl can bind to the correct samplerdegasus
2013-01-18set blending if dual source might be triggereddegasus