Blender Git Loki
Git Commits -> Revision 171b366
Revision 171b366 by Clément Foucault (master) September 7, 2020, 17:37 (GMT) |
GPUExtensions: GL backend isolation This is part of the Vulkan task T68990. This commits changes a few things: - Rename extensions to capabilities (but left the file name untouched). - Cubemap mip render workaround detection is rewritten using gl commands to avoid using the GPU API before initialization. - Put all the capabilities that are only relevant for the GL backend inside GLContext as static variables. - Cleanup the names of the limit variables. - Separate all GL related workaround search inside the GL module. |
Commit Details:
Full Hash: 171b36683a774d70a8f25529858b9c002a2a317e
Parent Commit: 360489c
Lines Changed: +340, -350
1 Added Path:
/source/blender/gpu/intern/gpu_extensions_private.hh (+54, -0) (View)
17 Modified Paths:
/source/blender/draw/intern/draw_manager.c (+0, -5) (Diff)
/source/blender/draw/intern/DRW_render.h (+0, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+0, -4) (Diff)
/source/blender/gpu/intern/gpu_extensions.cc (+34, -318) (Diff)
/source/blender/gpu/intern/gpu_init_exit.c (+0, -3) (Diff)
/source/blender/gpu/intern/gpu_private.h (+0, -4) (Diff)
/source/blender/gpu/intern/gpu_uniform_buffer.cc (+0, -1) (Diff)
/source/blender/gpu/opengl/gl_backend.cc (+220, -0) (Diff)
/source/blender/gpu/opengl/gl_backend.hh (+3, -0) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+4, -3) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+13, -0) (Diff)
/source/blender/gpu/opengl/gl_drawlist.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_framebuffer.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_shader.cc (+3, -4) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+3, -3) (Diff)
/source/blender/gpu/opengl/gl_uniform_buffer.cc (+3, -2) (Diff)
/source/blender/draw/intern/DRW_render.h (+0, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+0, -4) (Diff)
/source/blender/gpu/intern/gpu_extensions.cc (+34, -318) (Diff)
/source/blender/gpu/intern/gpu_init_exit.c (+0, -3) (Diff)
/source/blender/gpu/intern/gpu_private.h (+0, -4) (Diff)
/source/blender/gpu/intern/gpu_uniform_buffer.cc (+0, -1) (Diff)
/source/blender/gpu/opengl/gl_backend.cc (+220, -0) (Diff)
/source/blender/gpu/opengl/gl_backend.hh (+3, -0) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+4, -3) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+13, -0) (Diff)
/source/blender/gpu/opengl/gl_drawlist.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_framebuffer.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_shader.cc (+3, -4) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+3, -3) (Diff)
/source/blender/gpu/opengl/gl_uniform_buffer.cc (+3, -2) (Diff)