Blender Git Loki
Git Commits -> Revision c766d9b
Revision c766d9b by Clément Foucault (master) September 5, 2020, 15:49 (GMT) |
GPUTexture: GL Backend Isolation This is a massive cleanup needed for vulkan support T68990. It provides: - More meaningful enums with conversion functions. - Less hacky supports of arrays and cubemaps (all considered layered). - More inline with the stateless design of vulkan and modern GL. - Methods Fallbacks are using framebuffer functions that are wrapped instead of implementing inside the texture module. What is not in there: - API change. - Samplers support (breaks a few effects). # Conflicts: # source/blender/gpu/GPU_texture.h |
Commit Details:
Full Hash: c766d9b9dc5661693a58e01a3637f15197c2fe59
Parent Commit: db21c12
Lines Changed: +1396, -2059
11 Modified Paths:
/source/blender/gpu/GPU_texture.h (+5, -9) (Diff)
/source/blender/gpu/intern/gpu_state_private.hh (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+363, -1981) (Diff)
/source/blender/gpu/intern/gpu_texture_private.hh (+357, -36) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+8, -0) (Diff)
/source/blender/gpu/opengl/gl_debug.cc (+5, -0) (Diff)
/source/blender/gpu/opengl/gl_debug.hh (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_state.cc (+86, -1) (Diff)
/source/blender/gpu/opengl/gl_state.hh (+22, -0) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+346, -11) (Diff)
/source/blender/gpu/opengl/gl_texture.hh (+197, -21) (Diff)
/source/blender/gpu/intern/gpu_state_private.hh (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+363, -1981) (Diff)
/source/blender/gpu/intern/gpu_texture_private.hh (+357, -36) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+8, -0) (Diff)
/source/blender/gpu/opengl/gl_debug.cc (+5, -0) (Diff)
/source/blender/gpu/opengl/gl_debug.hh (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_state.cc (+86, -1) (Diff)
/source/blender/gpu/opengl/gl_state.hh (+22, -0) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+346, -11) (Diff)
/source/blender/gpu/opengl/gl_texture.hh (+197, -21) (Diff)