summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/utils.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* buffer_cache: Return handles instead of pointer to handlesReinUsesLisp2020-04-161-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.
* gl_state_tracker: Track state of index buffersReinUsesLisp2020-02-281-3/+4
|
* gl_state: Remove VAO cache and trackingReinUsesLisp2020-02-281-5/+3
|
* renderer_opengl/utils: Remove unused header inclusionsLioncash2020-01-151-3/+0
| | | | Nothing from these headers are used, so they can be removed.
* renderer_opengl/utils: Forward declare private structsLioncash2020-01-151-0/+14
| | | | | Keeps the definitions hidden and allows changes to the structs without needing to recompile all users of classes containing said structs.
* gl_shader_cache: Remove dynamic BaseBinding specializationReinUsesLisp2019-11-231-22/+10
|
* gl_rasterizer: Fix vertex and index data invalidationsReinUsesLisp2019-07-061-0/+31
|
* gl_buffer_cache: Implement with generic buffer cacheReinUsesLisp2019-07-061-5/+12
|
* Texture Cache: Implement Blitting and Fermi CopiesFernando Sahmkow2019-06-211-78/+0
|
* Implement Texture Cache V2Fernando Sahmkow2019-06-211-14/+9
|
* texture_cache: Remove execution context copies from the texture cacheReinUsesLisp2019-06-211-0/+2
| | | | | This is done to simplify the OpenGL implementation, it is needed for Vulkan.
* gl_texture_cache: Implement fermi copiesReinUsesLisp2019-06-211-0/+83
|
* renderer_opengl/utils: Use a std::string_view with LabelGLObject()Lioncash2019-05-251-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.
* renderer_opengl/utils: Skip empty bindsReinUsesLisp2019-04-061-0/+3
|
* gl_rasterizer: Use ARB_multi_bind to update UBOs across stagesReinUsesLisp2019-04-061-0/+25
|
* video_core: Move OpenGL specific utils to its rendererReinUsesLisp2018-10-291-0/+38