1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/renderer_opengl
ReinUsesLisp 090fd3fefa buffer_cache: Return handles instead of pointer to handles
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-04-16 02:33:34 -03:00
..
gl_buffer_cache.cpp buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
gl_buffer_cache.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
gl_device.cpp gl_device: Detect if ASTC is reported and expose it 2020-04-01 01:14:04 -03:00
gl_device.h gl_device: Detect if ASTC is reported and expose it 2020-04-01 01:14:04 -03:00
gl_framebuffer_cache.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_framebuffer_cache.h gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_query_cache.cpp vk_query_cache: Implement generic query cache on Vulkan 2020-02-14 17:38:27 -03:00
gl_query_cache.h query_cache: Address feedback 2020-02-14 17:38:27 -03:00
gl_rasterizer.cpp buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
gl_rasterizer.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
gl_resource_manager.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_resource_manager.h gl_state: Remove VAO cache and tracking 2020-02-28 16:54:37 -03:00
gl_sampler_cache.cpp Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. 2020-02-27 21:34:00 -05:00
gl_sampler_cache.h video_core: Add missing override specifiers 2019-07-07 13:38:39 -04:00
gl_shader_cache.cpp Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing. 2020-04-06 09:23:07 -04:00
gl_shader_cache.h Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing. 2020-04-06 09:23:07 -04:00
gl_shader_decompiler.cpp gl_shader_decompiler: Implement merges with bitfieldInsert 2020-04-12 22:39:59 -03:00
gl_shader_decompiler.h gl_shader_decompiler: Add identifier to decompiled code 2020-03-09 18:40:53 -03:00
gl_shader_disk_cache.cpp engines/maxwell_3d: Add TFB registers and store them in shader registry 2020-03-09 18:40:53 -03:00
gl_shader_disk_cache.h shader/registry: Store graphics and compute metadata 2020-03-09 18:40:07 -03:00
gl_shader_manager.cpp gl_shader_manager: Fix interaction between graphics and compute 2020-03-11 01:04:52 -03:00
gl_shader_manager.h gl_shader_manager: Fix interaction between graphics and compute 2020-03-11 01:04:52 -03:00
gl_shader_util.cpp gl_shader_cache: Address review commentaries 2019-07-15 17:38:25 -03:00
gl_shader_util.h gl_shader_util: Add parameter to handle retrievable programs 2019-02-06 22:20:57 -03:00
gl_state_tracker.cpp gl_rasterizer: Implement line widths and smooth lines 2020-04-13 01:30:34 -03:00
gl_state_tracker.h gl_rasterizer: Implement line widths and smooth lines 2020-04-13 01:30:34 -03:00
gl_stream_buffer.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_stream_buffer.h video_core: Make ARB_buffer_storage a required extension 2019-06-20 21:36:12 -03:00
gl_texture_cache.cpp gl_texture_cache: Attach view instead of base texture for layered attachments 2020-04-08 22:20:25 -03:00
gl_texture_cache.h video_core: Use native ASTC when available 2020-04-01 01:14:04 -03:00
maxwell_to_gl.h gl_rasterizer: Implement polygon modes and fill rectangles 2020-03-09 20:39:58 -03:00
renderer_opengl.cpp Address review and fix broken yuzu-tester build 2020-03-25 23:32:42 -06:00
renderer_opengl.h Frontend/GPU: Refactor context management 2020-03-24 21:03:42 -06:00
utils.cpp buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
utils.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00