Blender Git Loki

Git Commits -> Revision f18e537

Revision f18e537 by Clément Foucault (master)
August 23, 2020, 10:04 (GMT)
Cleanup: GPU: Use explicit clear value in GPU_clear* commands

This replace `GPU_clear()` by `GPU_clear_color()` and `GPU_clear_depth()`.
Since we always set the clear value before clearing, it is unecessary
to track the clear color state.
Moreover, it makes it clearer what we clear the framebuffer to.

Commit Details:

Full Hash: f18e53745151eee946dcc01bc4b526994971daef
Parent Commit: 846cac9
Lines Changed: +30, -86

33 Modified Paths:

/source/blender/draw/intern/draw_manager.c (+0, -1) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+1, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -4) (Diff)
/source/blender/editors/interface/interface_panel.c (+0, -4) (Diff)
/source/blender/editors/interface/interface_region_hud.c (+1, -2) (Diff)
/source/blender/editors/interface/resources.c (+0, -7) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+0, -5) (Diff)
/source/blender/editors/screen/screen_draw.c (+2, -2) (Diff)
/source/blender/editors/space_action/space_action.c (+0, -2) (Diff)
/source/blender/editors/space_clip/space_clip.c (+0, -4) (Diff)
/source/blender/editors/space_console/space_console.c (+0, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -4) (Diff)
/source/blender/editors/space_graph/space_graph.c (+2, -8) (Diff)
/source/blender/editors/space_image/space_image.c (+0, -2) (Diff)
/source/blender/editors/space_info/info_draw.c (+0, -1) (Diff)
/source/blender/editors/space_info/space_info.c (+0, -1) (Diff)
/source/blender/editors/space_nla/space_nla.c (+0, -2) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -3) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+0, -1) (Diff)
/source/blender/editors/space_script/space_script.c (+0, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -6) (Diff)
/source/blender/editors/space_text/space_text.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+0, -1) (Diff)
/source/blender/gpu/GPU_framebuffer.h (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_framebuffer.cc (+9, -5) (Diff)
/source/blender/gpu/intern/gpu_select_pick.c (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_select_sample_query.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+1, -3) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -3) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_draw.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021