Blender Git Loki

Git Commits -> Revision b613d25

Revision b613d25 by Mike Erwin (master)
October 7, 2016, 19:03 (GMT)
Blender 2.8: OpenGL: replace old GL with the new immediate API in UI_draw_roundbox_gl_mode

I change UI_draw_roundbox_gl_mode to use immediate API.
The rest of the change is the call to the function.
I also make some change in UI_ThemeColor4(int colorid) for eg to make convenience to use.
I would really like to know if it's the good way to do, if yes I will make all the change in the node_daw.c after, else say me what's wrong and how to deal with color else.

Reviewers: merwin, dfelinto, Severin

Reviewed By: merwin

Subscribers: fablefox, Severin

Tags: #bf_blender_2.8, #opengl_gfx

Maniphest Tasks: T49043

Differential Revision: https://developer.blender.org/D2274

Commit Details:

Full Hash: b613d25354cbf7743836e9b1c07f8c503c0a5695
Parent Commit: 5c23b86
Lines Changed: +161, -98

11 Modified Paths:

/source/blender/editors/animation/anim_channels_defines.c (+13, -21) (Diff)
/source/blender/editors/include/UI_interface.h (+3, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+4, -3) (Diff)
/source/blender/editors/interface/interface_draw.c (+72, -42) (Diff)
/source/blender/editors/interface/interface_widgets.c (+2, -3) (Diff)
/source/blender/editors/interface/resources.c (+24, -2) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -10) (Diff)
/source/blender/editors/space_node/node_draw.c (+18, -14) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+3, -2) (Diff)
/source/blender/gpu/gawain/immediate.c (+10, -0) (Diff)
/source/blender/gpu/gawain/immediate.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021