Blender Git Loki
Git Commits -> Revision e58408c
Revision e58408c by Clément Foucault (tmp-gltexture) September 4, 2020, 00:45 (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). |
Commit Details:
Full Hash: e58408cbaf87028abd196bc91ca87ad5d9b89ecc
Parent Commit: 19d056c
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)