summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gl_rasterizer: Move alpha testing to the OpenGL pipelineReinUsesLisp2019-05-301-0/+7
| | | | Removes the alpha testing code from each fragment shader invocation.
* gl_state: Rework to enable individual appliesReinUsesLisp2019-04-041-22/+30
|
* gl_state: Remove texture target trackingReinUsesLisp2019-01-301-2/+0
|
* gl_rasterizer_cache: Move swizzling to textures instead of stateReinUsesLisp2019-01-301-10/+0
|
* gl_rasterizer: Workaround Intel VAO DSA bugReinUsesLisp2019-01-091-1/+3
| | | | | | | 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-4/+0
|
* gl_state: Drop uniform buffer state trackingReinUsesLisp2019-01-061-1/+0
|
* Merge pull request #1808 from Tinob/masterbunnei2018-11-281-1/+1
|\ | | | | Fix clip distance and viewport
| * Add support for Clip Distance enabled registerRodolfo Bogado2018-11-271-1/+1
| |
* | Implement depth clampRodolfo Bogado2018-11-271-0/+6
|/
* GPU States: Implement Polygon Offset. This is used in SMO all the time. (#1784)Marcos2018-11-271-0/+10
| | | | | | | | * GPU States: Implement Polygon Offset. This is used in SMO all the time. * Clang Format fixes. * Initialize polygon_offset in the constructor.
* Add support for clear_flags registerRodolfo Bogado2018-11-241-4/+5
|
* drop support for non separate alpha as it seems to cause issues in some gamesRodolfo Bogado2018-11-181-1/+0
|
* add AlphaToCoverage and AlphaToOneRodolfo Bogado2018-11-171-0/+5
|
* add support for fragment_color_clampRodolfo Bogado2018-11-171-0/+4
|
* fix viewport and scissor behaviorRodolfo Bogado2018-11-171-10/+12
|
* gl_state: Amend compilation warningsLioncash2018-11-131-1/+1
| | | | | 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-0/+4
|
* 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-3/+5
|
* Implement multi-target viewports and blendingRodolfo Bogado2018-11-051-21/+31
|
* Improve OpenGL state handlingRodolfo Bogado2018-10-311-1/+12
|
* Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB supportRodolfo Bogado2018-10-281-1/+13
|
* gl_rasterizer: Implement primitive restart.bunnei2018-10-261-0/+5
|
* gl_rasterizer: Implement depth range.bunnei2018-10-261-3/+5
|
* Merge pull request #1411 from ReinUsesLisp/point-sizebunnei2018-09-291-0/+4
|\ | | | | video_core: Implement point_size and add point state sync
| * video_core: Implement point_size and add point state syncReinUsesLisp2018-09-281-0/+4
| |
* | gl_state: Pack sampler bindings into a single ARB_multi_bindReinUsesLisp2018-09-281-1/+2
|/
* gl_state: Remove unused type aliasLioncash2018-09-221-4/+0
| | | | | | 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.
* gl_state: Keep track of texture target.bunnei2018-09-081-3/+5
|
* gl_state: Update to handle stencil front/back face separately.bunnei2018-08-231-8/+10
|
* 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-1/+4
|
* gl_state: Don't track constant buffer mappings.Markus Wick2018-08-121-8/+0
|
* gl_rasterizer: Use the stream buffer for constant buffers.Markus Wick2018-08-121-0/+2
|
* maxwell_3d: Use correct const buffer size and check bounds.bunnei2018-08-081-1/+5
| | | | - Fixes mem corruption with Super Mario Odyssey and Pokkén Tournament DX.
* gl_state: Make texture_units a std::arrayLioncash2018-08-021-2/+3
| | | | Gets rid of the use of a raw C array.
* Merge pull request #593 from bunnei/fix-swizzlebunnei2018-06-271-1/+14
|\ | | | | gl_state: Fix state management for texture swizzle.
| * gl_state: Fix state management for texture swizzle.bunnei2018-06-261-1/+14
| |
* | gl_state: Remove unused state management from 3DS.bunnei2018-06-261-28/+0
|/
* GLState: Support changing the GL_TEXTURE_SWIZZLE parameter of each texture unit.Subv2018-06-071-0/+6
|
* GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage.Subv2018-04-151-1/+1
|
* GPU: Allow configuring ssbos in the opengl state manager.Subv2018-04-151-0/+6
|
* GL: Rename PicaTexture to MaxwellTexture.Subv2018-04-071-1/+1
|
* gl_rasterizer: Use 32 texture units instead of 3.bunnei2018-03-271-1/+1
|
* gl_state: Sync latest version with Citra.bunnei2018-03-201-8/+25
|
* gl_rasterizer: add clipping plane z<=0 defined in PICAwwylele2017-08-211-0/+3
|
* gl_rasterizer: use texture buffer for proctex LUTwwylele2017-07-011-5/+5
|
* gl_rasterizer: use texture buffer for fog LUTwwylele2017-06-221-1/+1
|
* gl_rasterizer: manage texture ids in one placewwylele2017-06-211-0/+23
|
* gl_rasterizer/lighting: fix LUT interpolationwwylele2017-06-211-2/+2
|
* gl_rasterizer: implement procedural texturewwylele2017-05-201-0/+20
|
* OpenGL: Drop framebuffer completeness check.Markus Wick2016-12-071-3/+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
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-20/+20
|
* OpenGL: Implement fogJannik Vogel2016-06-071-0/+4
|
* OpenGL: Support blend equationJannik Vogel2016-05-121-0/+2
|
* VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-301-1/+0
|
* HWRasterizer: Texture forwardingtfarley2016-04-211-11/+16
|
* renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei2016-02-051-0/+4
| | | | | - 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/+1
|
* FragShader: Use an UBO instead of several individual uniformsSubv2015-11-191-0/+1
|
* Initial implementation of fragment shader generation with caching.Subv2015-10-221-0/+1
|
* OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner2015-09-031-0/+2
|
* Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner2015-08-301-1/+1
| | | | | | The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
* GLRasterizer: Implemented stencil testing in the hw renderer.Subv2015-08-201-0/+3
|
* OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner2015-08-061-0/+6
| | | | | | | | | | | | 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-1/+0
| | | | | All uses of this field where it's false can just set the texture id to 0 instead.
* Implemented glColorMasktfarley2015-06-091-0/+7
|
* Pica: Implement LogicOp function.bunnei2015-05-311-0/+2
|
* 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
|
* OpenGL renderertfarley2015-05-231-0/+70