Blender Git Loki
Git Commits -> Revision 479de15
Revision 479de15 by Jeroen Bakker (temp-gpu-compute-shaders) May 26, 2021, 14:33 (GMT) |
Splitted read and unmap in different calls. Most of the time you just want to access the data without the overhead of a local copy. |
Commit Details:
Full Hash: 479de155f422786628eb9f712088a8112a7d58af
Parent Commit: 8642a0c
Lines Changed: +50, -10
10 Modified Paths:
/source/blender/gpu/GPU_index_buffer.h (+7, -0) (Diff)
/source/blender/gpu/GPU_vertex_buffer.h (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_index_buffer.cc (+14, -0) (Diff)
/source/blender/gpu/intern/gpu_index_buffer_private.hh (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_vertex_buffer.cc (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_vertex_buffer_private.hh (+2, -1) (Diff)
/source/blender/gpu/opengl/gl_index_buffer.cc (+1, -3) (Diff)
/source/blender/gpu/opengl/gl_vertex_buffer.cc (+7, -3) (Diff)
/source/blender/gpu/opengl/gl_vertex_buffer.hh (+2, -1) (Diff)
/source/blender/gpu/tests/gpu_shader_test.cc (+0, -2) (Diff)
/source/blender/gpu/GPU_vertex_buffer.h (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_index_buffer.cc (+14, -0) (Diff)
/source/blender/gpu/intern/gpu_index_buffer_private.hh (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_vertex_buffer.cc (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_vertex_buffer_private.hh (+2, -1) (Diff)
/source/blender/gpu/opengl/gl_index_buffer.cc (+1, -3) (Diff)
/source/blender/gpu/opengl/gl_vertex_buffer.cc (+7, -3) (Diff)
/source/blender/gpu/opengl/gl_vertex_buffer.hh (+2, -1) (Diff)
/source/blender/gpu/tests/gpu_shader_test.cc (+0, -2) (Diff)