Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_draw.c
| Show First 20 Lines • Show All 850 Lines • ▼ Show 20 Lines | LISTBASE_FOREACH (ARegion *, region, &screen->regionbase) { | ||||
| wm_draw_region_blend(region, 0, true); | wm_draw_region_blend(region, 0, true); | ||||
| } | } | ||||
| /* always draw, not only when screen tagged */ | /* always draw, not only when screen tagged */ | ||||
| if (win->gesture.first) { | if (win->gesture.first) { | ||||
| wm_gesture_draw(win); | wm_gesture_draw(win); | ||||
| } | } | ||||
| /* needs pixel coords in screen */ | /* Needs pixel coords in screen. */ | ||||
| if (wm->drags.first) { | if (wm->drags.first) { | ||||
| wm_drags_draw(C, win, NULL); | wm_drags_draw(C, win); | ||||
| } | } | ||||
| GPU_debug_group_end(); | GPU_debug_group_end(); | ||||
| } | } | ||||
| static void wm_draw_window(bContext *C, wmWindow *win) | static void wm_draw_window(bContext *C, wmWindow *win) | ||||
| { | { | ||||
| bScreen *screen = WM_window_get_active_screen(win); | bScreen *screen = WM_window_get_active_screen(win); | ||||
| ▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines | |||||