Blender Git Loki

Git Commits -> Revision bd08171

Revision bd08171 by Clément Foucault (tmp-gltexture)
September 4, 2020, 23:58 (GMT)
GPUTexture: Change texture creation API

This is to modernize the API:
- Add meaningful name to all textures (except DRW textures).
- Remove unused err_out argument: only used for offscreen python.
- Add mipmap count to creation functions for future changes.
- Clarify the data usage in creation functions.

This is a cleanup commit, there is no functional change.

Commit Details:

Full Hash: bd081711d6920ea1d4dcc29557ea4c82401a3600
Parent Commit: 42e5de3
Lines Changed: +324, -322

35 Modified Paths:

/intern/opencolorio/ocio_impl_glsl.cc (+11, -9) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image_gpu.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+12, -10) (Diff)
/source/blender/draw/engines/eevee/eevee_motion_blur.c (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_antialiasing.c (+3, -2) (Diff)
/source/blender/draw/engines/select/select_engine.c (+2, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_antialiasing.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_render.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_volume.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_hair.c (+6, -4) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+8, -6) (Diff)
/source/blender/draw/intern/draw_cache_impl_volume.c (+3, -6) (Diff)
/source/blender/draw/intern/draw_common.c (+2, -3) (Diff)
/source/blender/draw/intern/draw_fluid.c (+5, -5) (Diff)
/source/blender/draw/intern/draw_hair.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_texture.c (+12, -6) (Diff)
/source/blender/editors/interface/interface_icons.c (+6, -6) (Diff)
/source/blender/editors/screen/glutil.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+4, -2) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+2, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+2, -1) (Diff)
/source/blender/gpu/GPU_texture.h (+26, -40) (Diff)
/source/blender/gpu/intern/gpu_extensions.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_framebuffer.cc (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_material.c (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+82, -179) (Diff)
/source/blender/gpu/intern/gpu_texture_private.hh (+79, -0) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+12, -7) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+3, -2) (Diff)
/source/blender/imbuf/intern/util_gpu.c (+15, -7) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021