Blender Git Loki

Git Commits -> Revision 48690d9

Revision 48690d9 by Clément Foucault (master)
September 8, 2020, 02:15 (GMT)
GPUContext: Move GPUContext to gpu::Context for more consistency

This makes the GPUContext follow the same naming convention as the rest
of the module.

Also add a static getter for extra bonus style (no need for casts):
- Context::get()
- GLContext::get()

Commit Details:

Full Hash: 48690d967a7731367cda01ab8dca64e7f4c3f6b5
Parent Commit: d2e9de9
Lines Changed: +153, -128

25 Modified Paths:

/source/blender/gpu/GPU_context.h (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_backend.hh (+3, -3) (Diff)
/source/blender/gpu/intern/gpu_batch.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_capabilities.cc (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_context.cc (+23, -17) (Diff)
/source/blender/gpu/intern/gpu_context_private.hh (+30, -21) (Diff)
/source/blender/gpu/intern/gpu_framebuffer.cc (+11, -11) (Diff)
/source/blender/gpu/intern/gpu_immediate.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_matrix.cc (+9, -7) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_state.cc (+20, -20) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+5, -5) (Diff)
/source/blender/gpu/opengl/gl_backend.hh (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+5, -5) (Diff)
/source/blender/gpu/opengl/gl_context.cc (+5, -5) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+10, -3) (Diff)
/source/blender/gpu/opengl/gl_debug.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_drawlist.cc (+3, -3) (Diff)
/source/blender/gpu/opengl/gl_framebuffer.cc (+6, -6) (Diff)
/source/blender/gpu/opengl/gl_immediate.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_shader.cc (+2, -2) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+3, -3) (Diff)
/source/blender/gpu/opengl/gl_uniform_buffer.cc (+3, -3) (Diff)
/source/blender/gpu/opengl/gl_vertex_array.cc (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_vertex_buffer.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