Details
- Reviewers
Julian Eisel (Severin) Mike Erwin (merwin) Dalai Felinto (dfelinto) - Maniphest Tasks
- T49043: replace OpenGL immediate mode in Blender 2.8
- Commits
- rBSecbad54df91e: blender 2.8; OpenGL. ui_panel_category_draw_tab with immediate API
rBecbad54df91e: blender 2.8; OpenGL. ui_panel_category_draw_tab with immediate API
Diff Detail
Event Timeline
yes, it's done.
Quick question: is there someone who work on glutil.c? because I start it too and it's pretty big stuf, so I don't want to duplicate the work.
Thanks
Most functions in glutil.c will become obsolete. There's no point converting them since callers usually set current color themselves. You can add new functions here if they are useful (like I did with imm_draw_lined_circle & imm_draw_filled_circle). But only add things that are needed for some other code you're converting. Don't anticipate future needs too much.
| source/blender/editors/interface/interface_panel.c | ||
|---|---|---|
| 1580 | In fact there is only one immend used in the same time, because after this one there's a return, it go out of the function, so the second immend is not executed. it was so before anyway. | |
| source/blender/editors/interface/interface_panel.c | ||
|---|---|---|
| 1580 | This is correct, End & Unbind before returning. | |