Blender Git Loki

Git Commits -> Revision a47a64d

August 31, 2020, 14:23 (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: a47a64d9e4d83b7a2e7f240d89870ca73897d1af
Parent Commit: bfe2225
Committed By: YimingWu
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021