Blender Git Commit Log
Git Commits -> Revision 8e02106
Revision 8e02106 by Ray molenkamp (master) June 28, 2018, 01:07 (GMT) |
GLRefactor: partially remove gl calls from source/blender/editors. This translates the gl calls to the new GPU_ wrappers from D3501. Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis. This fixes 13 of the 28 failing editors when building without opengl. For the list of substitutions see D3502 Reviewers: brecht Differential Revision: https://developer.blender.org/D3502 |
Commit Details:
Full Hash: 8e02106d0ddc7b31844d26037a824d56d3c65663
Parent Commit: fe258fd
Lines Changed: +917, -830
82 Modified Paths:
/source/blender/editors/animation/anim_channels_defines.c (+5, -4) (Diff)
/source/blender/editors/animation/anim_draw.c (+8, -7) (Diff)
/source/blender/editors/animation/anim_markers.c (+8, -7) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+3, -2) (Diff)
/source/blender/editors/curve/editcurve_paint.c (+9, -8) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+21, -20) (Diff)
/source/blender/editors/gpencil/gpencil_brush.c (+5, -4) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+7, -6) (Diff)
/source/blender/editors/interface/interface.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_draw.c (+87, -86) (Diff)
/source/blender/editors/interface/interface_icons.c (+14, -13) (Diff)
/source/blender/editors/interface/interface_panel.c (+20, -19) (Diff)
/source/blender/editors/interface/interface_region_hud.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_region_search.c (+13, -12) (Diff)
/source/blender/editors/interface/interface_widgets.c (+53, -52) (Diff)
/source/blender/editors/interface/resources.c (+3, -2) (Diff)
/source/blender/editors/interface/view2d.c (+2, -1) (Diff)
/source/blender/editors/manipulator_library/manipulator_draw_utils.c (+3, -2) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/arrow2d_manipulator.c (+6, -5) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c (+7, -6) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c (+12, -11) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c (+14, -13) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c (+14, -13) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c (+7, -6) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c (+8, -7) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/primitive3d_manipulator.c (+5, -4) (Diff)
/source/blender/editors/mask/mask_draw.c (+17, -16) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+17, -16) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+4, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+5, -4) (Diff)
/source/blender/editors/render/render_opengl.c (+2, -2) (Diff)
/source/blender/editors/screen/area.c (+25, -23) (Diff)
/source/blender/editors/screen/glutil.c (+3, -2) (Diff)
/source/blender/editors/screen/screendump.c (+5, -4) (Diff)
/source/blender/editors/screen/screen_draw.c (+12, -11) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+20, -19) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+7, -6) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+8, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_uv.c (+5, -4) (Diff)
/source/blender/editors/space_action/action_draw.c (+5, -4) (Diff)
/source/blender/editors/space_action/space_action.c (+3, -2) (Diff)
/source/blender/editors/space_clip/clip_dopesheet_draw.c (+5, -4) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+26, -25) (Diff)
/source/blender/editors/space_clip/clip_graph_draw.c (+8, -7) (Diff)
/source/blender/editors/space_clip/clip_utils.c (+5, -4) (Diff)
/source/blender/editors/space_clip/space_clip.c (+5, -4) (Diff)
/source/blender/editors/space_console/space_console.c (+2, -1) (Diff)
/source/blender/editors/space_file/file_draw.c (+4, -3) (Diff)
/source/blender/editors/space_file/space_file.c (+5, -4) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+33, -32) (Diff)
/source/blender/editors/space_graph/space_graph.c (+12, -10) (Diff)
/source/blender/editors/space_image/image_draw.c (+18, -17) (Diff)
/source/blender/editors/space_image/space_image.c (+3, -2) (Diff)
/source/blender/editors/space_info/info_draw.c (+2, -1) (Diff)
/source/blender/editors/space_info/space_info.c (+2, -1) (Diff)
/source/blender/editors/space_info/textview.c (+4, -3) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+24, -23) (Diff)
/source/blender/editors/space_nla/space_nla.c (+3, -2) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -9) (Diff)
/source/blender/editors/space_node/node_draw.c (+24, -22) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+24, -23) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+3, -2) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+2, -1) (Diff)
/source/blender/editors/space_script/space_script.c (+2, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+39, -37) (Diff)
/source/blender/editors/space_text/space_text.c (+2, -1) (Diff)
/source/blender/editors/space_text/text_draw.c (+5, -4) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+14, -12) (Diff)
/source/blender/editors/space_view3d/drawvolume.c (+8, -7) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+22, -20) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+16, -15) (Diff)
/source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c (+15, -14) (Diff)
/source/blender/editors/space_view3d/view3d_manipulator_ruler.c (+10, -9) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+10, -9) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -2) (Diff)
/source/blender/editors/transform/transform.c (+29, -28) (Diff)
/source/blender/editors/transform/transform_constraints.c (+8, -7) (Diff)
/source/blender/editors/transform/transform_snap.c (+5, -4) (Diff)
/source/blender/editors/util/ed_util.c (+2, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+20, -19) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+4, -3) (Diff)
/source/blender/editors/animation/anim_draw.c (+8, -7) (Diff)
/source/blender/editors/animation/anim_markers.c (+8, -7) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+3, -2) (Diff)
/source/blender/editors/curve/editcurve_paint.c (+9, -8) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+21, -20) (Diff)
/source/blender/editors/gpencil/gpencil_brush.c (+5, -4) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+7, -6) (Diff)
/source/blender/editors/interface/interface.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_draw.c (+87, -86) (Diff)
/source/blender/editors/interface/interface_icons.c (+14, -13) (Diff)
/source/blender/editors/interface/interface_panel.c (+20, -19) (Diff)
/source/blender/editors/interface/interface_region_hud.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_region_search.c (+13, -12) (Diff)
/source/blender/editors/interface/interface_widgets.c (+53, -52) (Diff)
/source/blender/editors/interface/resources.c (+3, -2) (Diff)
/source/blender/editors/interface/view2d.c (+2, -1) (Diff)
/source/blender/editors/manipulator_library/manipulator_draw_utils.c (+3, -2) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/arrow2d_manipulator.c (+6, -5) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c (+7, -6) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c (+12, -11) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c (+14, -13) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c (+14, -13) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c (+7, -6) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c (+8, -7) (Diff)
/source/blender/editors/manipulator_library/manipulator_types/primitive3d_manipulator.c (+5, -4) (Diff)
/source/blender/editors/mask/mask_draw.c (+17, -16) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+17, -16) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+4, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+5, -4) (Diff)
/source/blender/editors/render/render_opengl.c (+2, -2) (Diff)
/source/blender/editors/screen/area.c (+25, -23) (Diff)
/source/blender/editors/screen/glutil.c (+3, -2) (Diff)
/source/blender/editors/screen/screendump.c (+5, -4) (Diff)
/source/blender/editors/screen/screen_draw.c (+12, -11) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+20, -19) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+7, -6) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+8, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_uv.c (+5, -4) (Diff)
/source/blender/editors/space_action/action_draw.c (+5, -4) (Diff)
/source/blender/editors/space_action/space_action.c (+3, -2) (Diff)
/source/blender/editors/space_clip/clip_dopesheet_draw.c (+5, -4) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+26, -25) (Diff)
/source/blender/editors/space_clip/clip_graph_draw.c (+8, -7) (Diff)
/source/blender/editors/space_clip/clip_utils.c (+5, -4) (Diff)
/source/blender/editors/space_clip/space_clip.c (+5, -4) (Diff)
/source/blender/editors/space_console/space_console.c (+2, -1) (Diff)
/source/blender/editors/space_file/file_draw.c (+4, -3) (Diff)
/source/blender/editors/space_file/space_file.c (+5, -4) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+33, -32) (Diff)
/source/blender/editors/space_graph/space_graph.c (+12, -10) (Diff)
/source/blender/editors/space_image/image_draw.c (+18, -17) (Diff)
/source/blender/editors/space_image/space_image.c (+3, -2) (Diff)
/source/blender/editors/space_info/info_draw.c (+2, -1) (Diff)
/source/blender/editors/space_info/space_info.c (+2, -1) (Diff)
/source/blender/editors/space_info/textview.c (+4, -3) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+24, -23) (Diff)
/source/blender/editors/space_nla/space_nla.c (+3, -2) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -9) (Diff)
/source/blender/editors/space_node/node_draw.c (+24, -22) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+24, -23) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+3, -2) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+2, -1) (Diff)
/source/blender/editors/space_script/space_script.c (+2, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+39, -37) (Diff)
/source/blender/editors/space_text/space_text.c (+2, -1) (Diff)
/source/blender/editors/space_text/text_draw.c (+5, -4) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+14, -12) (Diff)
/source/blender/editors/space_view3d/drawvolume.c (+8, -7) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+22, -20) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+16, -15) (Diff)
/source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c (+15, -14) (Diff)
/source/blender/editors/space_view3d/view3d_manipulator_ruler.c (+10, -9) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+10, -9) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -2) (Diff)
/source/blender/editors/transform/transform.c (+29, -28) (Diff)
/source/blender/editors/transform/transform_constraints.c (+8, -7) (Diff)
/source/blender/editors/transform/transform_snap.c (+5, -4) (Diff)
/source/blender/editors/util/ed_util.c (+2, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+20, -19) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+4, -3) (Diff)