summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gl_state: Rework to enable individual appliesReinUsesLisp2019-04-041-316/+294
|
* gl_state: Fixup multibind bugReinUsesLisp2019-02-281-2/+2
|
* gl_state: Synchronize gl_state even when state is disabledReinUsesLisp2019-02-151-83/+61
| | | | | | There are some potential edge cases where gl_state may fail to track the state if a related state changes while the toggle is disabled or it didn't change. This addresses that.
* gl_rasterizer_cache: Move swizzling to textures instead of stateReinUsesLisp2019-01-301-12/+4
|
* gl_state: Use DSA and multi bind to update texture bindingsReinUsesLisp2019-01-301-8/+22
|
* gl_rasterizer: Workaround Intel VAO DSA bugReinUsesLisp2019-01-091-6/+7
| | | | | | | There is a bug on Intel's blob driver where it fails to properly build a vertex array object if it's not bound even after creating it with glCreateVertexArrays. This workaround binds it after creating it to bypass the issue.
* gl_rasterizer: Use DSA for vertex array objectsReinUsesLisp2019-01-061-21/+5
|
* gl_state: Drop uniform buffer state trackingReinUsesLisp2019-01-061-8/+0
|
* Implement depth clampRodolfo Bogado2018-11-271-9/+23
|
* GPU States: Implement Polygon Offset. This is used in SMO all the time. (#1784)Marcos2018-11-271-0/+57
| | | | | | | | * GPU States: Implement Polygon Offset. This is used in SMO all the time. * Clang Format fixes. * Initialize polygon_offset in the constructor.
* Merge pull request #1725 from FernandoS27/gl43bunnei2018-11-241-4/+4
|\ | | | | Update OpenGL's backend version from 3.3 to 4.3
| * Removed pre 4.3 ARB extensionsFernandoS272018-11-211-4/+4
| |
* | Add support for clear_flags registerRodolfo Bogado2018-11-241-3/+26
|/
* drop support for non separate alpha as it seems to cause issues in some gamesRodolfo Bogado2018-11-181-42/+19
|
* add AlphaToCoverage and AlphaToOneRodolfo Bogado2018-11-171-0/+17
|
* add support for fragment_color_clampRodolfo Bogado2018-11-171-0/+7
|
* fix viewport and scissor behaviorRodolfo Bogado2018-11-171-26/+41
|
* gl_state: Amend compilation warningsLioncash2018-11-131-2/+3
| | | | | Makes float -> integral conversions explicit via casts and also silences a sign conversion warning.
* Improve state management by splitting some of the states id separated function to avoid a full apply overheadRodolfo Bogado2018-11-111-1/+7
|
* Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets.Rodolfo Bogado2018-11-051-14/+33
|
* Implement multi-target viewports and blendingRodolfo Bogado2018-11-051-62/+143
|
* Improve OpenGL state handlingRodolfo Bogado2018-10-311-101/+145
|
* Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB supportRodolfo Bogado2018-10-281-1/+12
|
* gl_rasterizer: Implement primitive restart.bunnei2018-10-261-0/+15
|
* gl_rasterizer: Implement depth range.bunnei2018-10-261-0/+8
|
* Merge pull request #1411 from ReinUsesLisp/point-sizebunnei2018-09-291-0/+7
|\ | | | | video_core: Implement point_size and add point state sync
| * video_core: Implement point_size and add point state syncReinUsesLisp2018-09-281-0/+7
| |
* | gl_state: Pack sampler bindings into a single ARB_multi_bindReinUsesLisp2018-09-281-3/+21
|/
* gl_state: Remove unused type aliasLioncash2018-09-221-0/+1
| | | | | | This isn't used anywhere within the header, so we can remove it, along with the include that was previously necessary. This also uncovers an indirect include in the cpp file for the assertion macros.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* gl_state: Keep track of texture target.bunnei2018-09-081-4/+4
|
* gl_state: Update to handle stencil front/back face separately.bunnei2018-08-231-25/+28
|
* renderer_opengl: Namespace OpenGL codeLioncash2018-08-221-0/+4
| | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future.
* GLState: Allow enabling/disabling GL_COLOR_LOGIC_OP independently from blending.Subv2018-08-211-5/+15
|
* gl_state: Don't track constant buffer mappings.Markus Wick2018-08-121-18/+0
|
* gl_rasterizer: Use the stream buffer for constant buffers.Markus Wick2018-08-121-3/+6
|
* gl_state: Make references const where applicable in Apply()Lioncash2018-07-201-2/+3
|
* gl_state: Get rid of mismatched sign conversionsLioncash2018-07-201-14/+17
| | | | | While we're at it, amend the loop variable type to be the same width as that returned by the .size() call.
* Merge pull request #593 from bunnei/fix-swizzlebunnei2018-06-271-8/+3
|\ | | | | gl_state: Fix state management for texture swizzle.
| * gl_state: Fix state management for texture swizzle.bunnei2018-06-261-8/+3
| |
* | gl_state: Remove unused state management from 3DS.bunnei2018-06-261-66/+0
|/
* Merge pull request #554 from Subv/constbuffer_ubobunnei2018-06-261-1/+1
|\ | | | | Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.
| * Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.Subv2018-06-101-1/+1
| | | | | | | | This should help a bit with GPU performance once we're GPU-bound.
* | Build: Fixed some MSVC warnings in various parts of the code.Subv2018-06-201-2/+2
|/
* GLState: Support changing the GL_TEXTURE_SWIZZLE parameter of each texture unit.Subv2018-06-071-0/+13
|
* common_funcs: Remove ARRAY_SIZE macroLioncash2018-04-201-2/+2
| | | | C++17 has non-member size() which we can just call where necessary.
* GPU: Allow configuring ssbos in the opengl state manager.Subv2018-04-151-0/+14
|
* GL: Rename PicaTexture to MaxwellTexture.Subv2018-04-071-1/+1
|
* gl_state: Sync latest version with Citra.bunnei2018-03-201-39/+86
|
* Fixed type conversion ambiguityHuw Pascoe2017-09-301-2/+2
|
* gl_rasterizer: add clipping plane z<=0 defined in PICAwwylele2017-08-211-0/+13
|
* gl_rasterizer: use texture buffer for proctex LUTwwylele2017-07-011-25/+25
|
* gl_rasterizer: use texture buffer for fog LUTwwylele2017-06-221-5/+5
|
* gl_state: reset 1d textureswwylele2017-06-211-0/+14
|
* gl_rasterizer: manage texture ids in one placewwylele2017-06-211-8/+8
|
* gl_rasterizer/lighting: fix LUT interpolationwwylele2017-06-211-8/+4
|
* gl_rasterizer: implement procedural texturewwylele2017-05-201-0/+36
|
* OpenGL: Drop framebuffer completeness check.Markus Wick2016-12-071-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
* RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1Subv2016-11-271-2/+2
|
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-211-1/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-3/+1
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-23/+26
|
* OpenGL: Implement fogJannik Vogel2016-06-071-0/+8
|
* OpenGL: Support blend equationJannik Vogel2016-05-121-0/+7
|
* VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-301-2/+5
|
* HWRasterizer: Texture forwardingtfarley2016-04-211-22/+41
|
* renderer_opengl: Initalise fragment shader LUT texturesMerryMage2016-02-261-0/+4
|
* renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei2016-02-051-0/+8
| | | | | - Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
* OpenGL: Add support for glFrontFace in the state trackerYuri Kunde Schlesner2015-12-051-0/+5
|
* FragShader: Use an UBO instead of several individual uniformsSubv2015-11-191-0/+8
|
* video_core: Reorganize headersLioncash2015-09-111-1/+1
|
* OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner2015-09-031-4/+16
|
* GLRasterizer: Implemented stencil testing in the hw renderer.Subv2015-08-201-0/+9
|
* OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner2015-08-061-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.
* OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner2015-08-061-10/+2
| | | | | All uses of this field where it's false can just set the texture id to 0 instead.
* GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner2015-07-221-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.
* Renderer formatting editstfarley2015-06-091-14/+17
|
* Implemented glColorMasktfarley2015-06-091-0/+13
|
* Pica: Implement LogicOp function.bunnei2015-05-311-0/+11
|
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-291-1/+1
|
* gl_state: Remove unnecessary const specifier on ApplyLioncash2015-05-231-1/+1
|
* gl_state: Fix a condition typo in ApplyLioncash2015-05-231-1/+1
|
* OpenGL renderertfarley2015-05-231-0/+160