Blender Git Loki

Git Commits -> Revision f72c1c4

Revision f72c1c4 by Clément Foucault (master)
September 5, 2020, 15:49 (GMT)
GPUTexture: Remove bind to edit calls

This is going to be unecessary after the GPU opengl texture backend refactor.

For now add a save/restore mechanism to leave the state untouched.

Also remove some calls where the caller would bind to particular binding
point and set the shader uniform.

Commit Details:

Full Hash: f72c1c4547e5fab769c22652d9872192029ad7fe
Parent Commit: c598e93
Lines Changed: +76, -46

11 Modified Paths:

/source/blender/blenfont/intern/blf_font.c (+3, -4) (Diff)
/source/blender/blenkernel/intern/image_gpu.c (+0, -8) (Diff)
/source/blender/draw/engines/gpencil/gpencil_render.c (+0, -2) (Diff)
/source/blender/draw/intern/draw_cache_impl_volume.c (+0, -2) (Diff)
/source/blender/draw/intern/draw_color_management.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_fluid.c (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager_texture.c (+0, -4) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+0, -4) (Diff)
/source/blender/gpu/GPU_batch.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+69, -15) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+0, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021