citra/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_framebuffer_cache.h
gl_query_cache.cpp
gl_query_cache.h
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_resource_manager.h
gl_sampler_cache.cpp
gl_sampler_cache.h
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_disk_cache.cpp
gl_shader_disk_cache.h
gl_shader_manager.cpp
gl_shader_manager.h
gl_shader_util.cpp
gl_shader_util.h
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_stream_buffer.h
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
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