Blender Git Commit Log

Git Commits -> Revision 1804eb5

Revision 1804eb5 by Clément Foucault (master)
August 31, 2020, 13:14 (GMT)
GPUImmediate: GL backend isolation

This is part of the Vulkan backend task T68990.

This is mostly a cleanup, however, there is a small change:
We don't use a special Vertex Array binding function for Immediate
anymore and just reuse the one for batches.
This might create a bit more state changes but this could be fixed
easily if it causes perf regression.

# Conflicts:
# source/blender/gpu/intern/gpu_context.cc

Commit Details:

Full Hash: 1804eb57fd27fceb0ed113e3ef2f4a55db0d03c8
Parent Commit: 1b3a0ae
Lines Changed: +559, -353

4 Added Paths:

/source/blender/gpu/intern/gpu_immediate_private.hh (+66, -0) (View)
/source/blender/gpu/opengl/gl_immediate.cc (+183, -0) (View)
/source/blender/gpu/opengl/gl_immediate.hh (+81, -0) (View)
/source/blender/gpu/opengl/gl_primitive.hh (+65, -0) (View)

7 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_context.cc (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_context_private.hh (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_immediate.cc (+139, -353) (Diff)
/source/blender/gpu/opengl/gl_context.cc (+2, -0) (Diff)
/source/blender/gpu/opengl/gl_vertex_array.cc (+11, -0) (Diff)
/source/blender/gpu/opengl/gl_vertex_array.hh (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021