aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/utils.h
AgeCommit message (Collapse)Author
2020-12-30video_core: Rewrite the texture cacheReinUsesLisp
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
2020-04-16buffer_cache: Return handles instead of pointer to handlesReinUsesLisp
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 buffersReinUsesLisp
2020-02-28gl_state: Remove VAO cache and trackingReinUsesLisp
2020-01-15renderer_opengl/utils: Forward declare private structsLioncash
Keeps the definitions hidden and allows changes to the structs without needing to recompile all users of classes containing said structs.
2019-11-22gl_shader_cache: Remove dynamic BaseBinding specializationReinUsesLisp
2019-07-06gl_rasterizer: Fix vertex and index data invalidationsReinUsesLisp
2019-07-06gl_buffer_cache: Implement with generic buffer cacheReinUsesLisp
2019-06-24renderer_opengl/utils: Remove unused includes and unused forward declarationReinUsesLisp
2019-06-20Texture Cache: Implement Blitting and Fermi CopiesFernando Sahmkow
2019-06-20Implement Texture Cache V2Fernando Sahmkow
2019-06-20gl_texture_cache: Implement fermi copiesReinUsesLisp
2019-05-24renderer_opengl/utils: Use a std::string_view with LabelGLObject()Lioncash
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-05gl_rasterizer: Use ARB_multi_bind to update UBOs across stagesReinUsesLisp
2018-10-28video_core: Move OpenGL specific utils to its rendererReinUsesLisp