summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/utils.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-16buffer_cache: Return handles instead of pointer to handlesReinUsesLisp1-62/+0
The original idea of returning pointers is that handles can be moved. The problem is that the implementation didn't take that in mind and made everything harder to work with. This commit drops pointer to handles and returns the handles themselves. While it is still true that handles can be invalidated, this way we get an old handle instead of a dangling pointer. This problem can be solved in the future with sparse buffers.
2020-02-28gl_state_tracker: Track state of index buffersReinUsesLisp1-3/+4
2020-02-28gl_state: Remove VAO cache and trackingReinUsesLisp1-5/+3
2020-01-15renderer_opengl/utils: Remove unused header inclusionsLioncash1-3/+0
Nothing from these headers are used, so they can be removed.
2020-01-15renderer_opengl/utils: Forward declare private structsLioncash1-0/+14
Keeps the definitions hidden and allows changes to the structs without needing to recompile all users of classes containing said structs.
2019-11-23gl_shader_cache: Remove dynamic BaseBinding specializationReinUsesLisp1-22/+10
2019-07-06gl_rasterizer: Fix vertex and index data invalidationsReinUsesLisp1-0/+31
2019-07-06gl_buffer_cache: Implement with generic buffer cacheReinUsesLisp1-5/+12
2019-06-21Texture Cache: Implement Blitting and Fermi CopiesFernando Sahmkow1-78/+0
2019-06-21Implement Texture Cache V2Fernando Sahmkow1-14/+9
2019-06-21texture_cache: Remove execution context copies from the texture cacheReinUsesLisp1-0/+2
This is done to simplify the OpenGL implementation, it is needed for Vulkan.
2019-06-21gl_texture_cache: Implement fermi copiesReinUsesLisp1-0/+83
2019-05-25renderer_opengl/utils: Use a std::string_view with LabelGLObject()Lioncash1-8/+8
Uses a std::string_view instead of a std::string, given the pointed to string isn't modified and is only used in a formatting operation. This is nice because a few usages directly supply a string literal to the function, allowing these usages to otherwise not heap allocate, unlike the std::string overloads. While we're at it, we can combine the address formatting into a single formatting call.
2019-04-06renderer_opengl/utils: Skip empty bindsReinUsesLisp1-0/+3
2019-04-06gl_rasterizer: Use ARB_multi_bind to update UBOs across stagesReinUsesLisp1-0/+25
2018-10-29video_core: Move OpenGL specific utils to its rendererReinUsesLisp1-0/+38