diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-31 16:14:47 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-31 16:14:47 +0300 |
commit | 1804eb57fd27fceb0ed113e3ef2f4a55db0d03c8 (patch) | |
tree | 003ceca6cdb280e5f6fc408b6833dea8b36f2bd6 /source/blender/gpu/CMakeLists.txt | |
parent | 1b3a0ae2316063d9817210a8fe5fd4588cee47cf (diff) |
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
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r-- | source/blender/gpu/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index 1cb13d815a2..6dadde398b9 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -93,6 +93,7 @@ set(SRC opengl/gl_context.cc opengl/gl_drawlist.cc opengl/gl_framebuffer.cc + opengl/gl_immediate.cc opengl/gl_shader.cc opengl/gl_shader_interface.cc opengl/gl_state.cc @@ -136,6 +137,7 @@ set(SRC intern/gpu_context_private.hh intern/gpu_drawlist_private.hh intern/gpu_framebuffer_private.hh + intern/gpu_immediate_private.hh intern/gpu_material_library.h intern/gpu_matrix_private.h intern/gpu_node_graph.h @@ -153,6 +155,8 @@ set(SRC opengl/gl_context.hh opengl/gl_drawlist.hh opengl/gl_framebuffer.hh + opengl/gl_immediate.hh + opengl/gl_primitive.hh opengl/gl_shader.hh opengl/gl_shader_interface.hh opengl/gl_state.hh |