Blender Git Commit Log
Git Commits -> Revision efc97b3
Revision efc97b3 by Clément Foucault (master) August 13, 2020, 12:20 (GMT) |
GPUBatch: GL backend isolation This changes the drawing paradigm a bit. The VAO configuration is done JIT-style and depends on context active shader. This is to allow more flexibility for implementations to do optimization at lower level. The vao cache is now its own class to isolate the concept. It is this class that is reference by the GLContext for ownership of the containing VAO ids. |
Commit Details:
Full Hash: efc97b3919ea4fd46b9d2e931ca3fea27e7ea31c
Parent Commit: 47bfb0f
Lines Changed: +623, -493
2 Added Paths:
/source/blender/gpu/opengl/gl_vertex_array.cc (+158, -0) (View)
/source/blender/gpu/opengl/gl_vertex_array.hh (+44, -0) (View)
/source/blender/gpu/opengl/gl_vertex_array.hh (+44, -0) (View)
13 Modified Paths:
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/GPU_batch.h (+3, -29) (Diff)
/source/blender/gpu/GPU_shader_interface.h (+3, -3) (Diff)
/source/blender/gpu/intern/gpu_batch.cc (+27, -406) (Diff)
/source/blender/gpu/intern/gpu_batch_private.hh (+0, -2) (Diff)
/source/blender/gpu/intern/gpu_context.cc (+0, -12) (Diff)
/source/blender/gpu/intern/gpu_context_private.hh (+0, -3) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_shader_interface.cc (+14, -8) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+319, -2) (Diff)
/source/blender/gpu/opengl/gl_batch.hh (+36, -13) (Diff)
/source/blender/gpu/opengl/gl_context.cc (+6, -9) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+7, -6) (Diff)
/source/blender/gpu/GPU_batch.h (+3, -29) (Diff)
/source/blender/gpu/GPU_shader_interface.h (+3, -3) (Diff)
/source/blender/gpu/intern/gpu_batch.cc (+27, -406) (Diff)
/source/blender/gpu/intern/gpu_batch_private.hh (+0, -2) (Diff)
/source/blender/gpu/intern/gpu_context.cc (+0, -12) (Diff)
/source/blender/gpu/intern/gpu_context_private.hh (+0, -3) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_shader_interface.cc (+14, -8) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+319, -2) (Diff)
/source/blender/gpu/opengl/gl_batch.hh (+36, -13) (Diff)
/source/blender/gpu/opengl/gl_context.cc (+6, -9) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+7, -6) (Diff)