summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp
AgeCommit message (Collapse)Author
2013-07-13Patch from Degasus that removes the last of the the GL_TEXTURE_RECTANGLE ↵Ryan Houdek
usages. This is needed to have GLES3 support.
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-11ogl: remove GL_TRIANGLE_FAN on utils renderingdegasus
wtf have I done? fans aren't supported well on hardware
2013-04-08ogl: support glsl120degasus
2013-04-08ogl: one framebuffer per efb2tex texturedegasus
suggestion from nvidia/valve. let's see if it helps
2013-03-17remove some ogl errordegasus
but it doesn't resolve any issue
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-02-20Revert "Don't load level 0 twice for 1-level textures in DX11." and fix it ↵Jordan Woyak
properly. All backend TextureCaches now load level 0 in CreateTexture. This reverts commit 294cb165ba3449cc4fd96eabb5272e2984a58eb8.
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-19revert b5fe39b8c721 "fix texture parameters"degasus
these parameters are really floats. I was just wrong
2013-02-19fix texture parametersdegasus
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-15fix efb copy shadersdegasus
2013-02-13merge glsl headers into one placedegasus
2013-02-13rewrite efb copy shader, copied from dx11degasus
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-07Fix some potential issues when blending on EFB formats without alpha.NeoBrainX
Clean up state transition tables.
2013-01-29Fix some shadowing warnings.Jordan Woyak
2013-01-28move RestoreAPIState and ResetAPIState into backendsdegasus
it's a backend specific hack, so it should be here should give a small speedup in dx11 efb2tex
2013-01-22partial revert of 8a6f7474088edegasus
texture_rect isn't in core 3.0, so the long texture function must be used
2013-01-19glsl: remove usage of old texture2D* functiondegasus
2013-01-19cache texture bindingsdegasus
2013-01-19add stage parameter for texture load, so ogl can bind to the correct samplerdegasus
2013-01-19move utils texture to sampler 8+9degasus
rasterfont tex will aways bound to samp8. efb copy utils will be done in samp9.
2013-01-17use glBindFragDataLocation instead of glDrawBufferdegasus
2013-01-16improve texture mipmap countdegasus
GL_TEXTURE_MAX_LEVEL set how many mipmaps should be allocated, but all of them must be created. GL_TEXTURE_MAX_LOD set how many mipmaps may be used.
2013-01-16small texcache cleanupdegasus
2013-01-14use attrib pointers in nativeVertexFormatdegasus
2013-01-14Merge branch 'Graphic_Update' into GLSL-masterdegasus
Conflicts: Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
2013-01-14remove old deprecated calls and fixed functions parametersdegasus
2013-01-14remove ubo for efb2ramdegasus
2013-01-12efb2tex without ubodegasus
2013-01-11fix warningsdegasus
2013-01-11also add vertex shader for efb2texdegasus
goodbye fixed-function shaders
2013-01-11move efb2ram shaders to textureCachedegasus
2013-01-09Merge branch 'arb_framebuffer' into GLSL-masterdegasus
Conflicts: Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp
2013-01-07Revert 30dd9c2 e9d00bf db5f4c8 and bff0faeRyan Houdek
2013-01-03uses the ARB_framebuffer_object syntaxdegasus
also require this extention (OGL3.0), but it have one _realy_ big advantage: - now it's possible to blit between different texture sizes, so all util draw calls can be implemented as blit
2013-01-03fix some AMD issuesdegasus
This is only a hack. The correct solution would be: 1. don't use GL_TEXTURE_RECT ever. GL_TEXTURE_2D should also be faster 2. use GL_TEXTURE8+ for util textures 3. both
2012-12-29always calls glBindBuffer(0) after disabling vaodegasus
2012-12-27Merge branch 'master' into GLSL-masterdegasus
Conflicts: Source/Core/DolphinWX/Src/VideoConfigDiag.h Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp
2012-12-24Initial removal of Nvidia CG. Still some more cleanup to goRyan Houdek
2012-12-13move glBindBuffer and glBindVertexArray out of VertexManagerdegasus
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13Check texture params before updateing themdegasus
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13increase hash size to u64degasus
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13using of vao, warning: ARB_vertex_array_object is neededdegasus
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13also check for vbo updates in EncodeToRamUsingShaderdegasus
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13cache vbos in TextureCache::TCacheEntry::FromRenderTargetdegasus
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>