Blender Git Commit Log

Git Commits -> Revision 5f6fb5b

Revision 5f6fb5b by Clément Foucault (master)
July 29, 2020, 21:06 (GMT)
Cleanup: Split gpu_texture_image.c into BKE and IMB modules

This is in order to disolve GPU_draw.h into more meaningful code blocks.

All the Image related function are in `image_gpu.c`.
All the MovieClip related function are in `movieclip.c`.

The IMB module now has a connection with GPU. This is not strickly
necessary and the code could be move to `image_gpu.c` if needed.

The Image garbage collection is also ported to `image_gpu.c`.

Commit Details:

Full Hash: 5f6fb5bb41ed0057f0e2f0ccded717fbf04e55e2
Parent Commit: 7e8d493
Lines Changed: +1223, -1163

2 Added Paths:

/source/blender/blenkernel/intern/image_gpu.c (+787, -0) (View)
/source/blender/imbuf/intern/util_gpu.c (+213, -0) (View)

1 Deleted Path:

/source/blender/gpu/intern/gpu_texture_image.c (+0, -1071)

35 Modified Paths:

/source/blender/blenkernel/BKE_image.h (+29, -0) (Diff)
/source/blender/blenkernel/BKE_movieclip.h (+5, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+81, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+1, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_image.c (+4, -4) (Diff)
/source/blender/draw/engines/overlay/overlay_paint.c (+3, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+9, -11) (Diff)
/source/blender/editors/object/object_bake.c (+2, -2) (Diff)
/source/blender/editors/object/object_bake_api.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+5, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_image_2d.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_undo.c (+3, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+3, -2) (Diff)
/source/blender/gpu/CMakeLists.txt (+0, -1) (Diff)
/source/blender/gpu/GPU_draw.h (+0, -34) (Diff)
/source/blender/gpu/GPU_extensions.h (+2, -0) (Diff)
/source/blender/gpu/GPU_state.h (+1, -0) (Diff)
/source/blender/gpu/GPU_texture.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.cc (+9, -0) (Diff)
/source/blender/gpu/intern/gpu_shader_builtin.c (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_state.cc (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.cc (+11, -11) (Diff)
/source/blender/imbuf/CMakeLists.txt (+2, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+24, -0) (Diff)
/source/blender/makesrna/intern/rna_image.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021