Blender Git Loki

Git Commits -> Revision 220fbdf

Revision 220fbdf by Clément Foucault (master)
August 21, 2020, 12:16 (GMT)
GPUShader: Make GPUShader* an opaque pointer to blender::gpu::Shader

This avoids the misleading inheritance.

Also cleanup by setting the blender::gpu::Shader as active shader to
avoid some casting.

Commit Details:

Full Hash: 220fbdf59341f620c06959280e2145132003c5df
Parent Commit: 1e95a74
Lines Changed: +36, -34

7 Modified Paths:

/source/blender/draw/intern/draw_manager_exec.c (+1, -5) (Diff)
/source/blender/gpu/GPU_shader.h (+2, -6) (Diff)
/source/blender/gpu/intern/gpu_context_private.hh (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+23, -18) (Diff)
/source/blender/gpu/intern/gpu_shader_private.hh (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_vertex_format.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021