summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-26gl_state: Fix state management for texture swizzle.bunnei1-8/+3
2018-06-26gl_state: Remove unused state management from 3DS.bunnei1-66/+0
2018-06-20Build: Fixed some MSVC warnings in various parts of the code.Subv1-2/+2
2018-06-10Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.Subv1-1/+1
This should help a bit with GPU performance once we're GPU-bound.
2018-06-07GLState: Support changing the GL_TEXTURE_SWIZZLE parameter of each texture unit.Subv1-0/+13
2018-04-20common_funcs: Remove ARRAY_SIZE macroLioncash1-2/+2
C++17 has non-member size() which we can just call where necessary.
2018-04-15GPU: Allow configuring ssbos in the opengl state manager.Subv1-0/+14
2018-04-07GL: Rename PicaTexture to MaxwellTexture.Subv1-1/+1
2018-03-20gl_state: Sync latest version with Citra.bunnei1-39/+86
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-2/+2
2017-08-21gl_rasterizer: add clipping plane z<=0 defined in PICAwwylele1-0/+13
2017-07-01gl_rasterizer: use texture buffer for proctex LUTwwylele1-25/+25
2017-06-22gl_rasterizer: use texture buffer for fog LUTwwylele1-5/+5
2017-06-21gl_state: reset 1d textureswwylele1-0/+14
2017-06-21gl_rasterizer: manage texture ids in one placewwylele1-8/+8
2017-06-21gl_rasterizer/lighting: fix LUT interpolationwwylele1-8/+4
2017-05-20gl_rasterizer: implement procedural texturewwylele1-0/+36
2016-12-07OpenGL: Drop framebuffer completeness check.Markus Wick1-13/+0
This OpenGL call synchronize the worker thread of the nvidia blob. It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable. Those errors should not happen on tested drivers. It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148
2016-11-27RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1Subv1-2/+2
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-23/+26
2016-06-07OpenGL: Implement fogJannik Vogel1-0/+8
2016-05-12OpenGL: Support blend equationJannik Vogel1-0/+7
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-2/+5
2016-04-21HWRasterizer: Texture forwardingtfarley1-22/+41
2016-02-26renderer_opengl: Initalise fragment shader LUT texturesMerryMage1-0/+4
2016-02-05renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei1-0/+8
- Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
2015-12-05OpenGL: Add support for glFrontFace in the state trackerYuri Kunde Schlesner1-0/+5
2015-11-19FragShader: Use an UBO instead of several individual uniformsSubv1-0/+8
2015-09-11video_core: Reorganize headersLioncash1-1/+1
2015-09-03OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner1-4/+16
2015-08-20GLRasterizer: Implemented stencil testing in the hw renderer.Subv1-0/+9
2015-08-06OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner1-0/+32
If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games.
2015-08-06OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner1-10/+2
All uses of this field where it's false can just set the texture id to 0 instead.
2015-07-22GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner1-8/+5
In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit.
2015-06-09Renderer formatting editstfarley1-14/+17
2015-06-09Implemented glColorMasktfarley1-0/+13
2015-05-31Pica: Implement LogicOp function.bunnei1-0/+11
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-1/+1
2015-05-23gl_state: Remove unnecessary const specifier on ApplyLioncash1-1/+1
2015-05-23gl_state: Fix a condition typo in ApplyLioncash1-1/+1
2015-05-23OpenGL renderertfarley1-0/+160