Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_draw.c
| Show First 20 Lines • Show All 1,006 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| void wm_draw_update(bContext *C) | void wm_draw_update(bContext *C) | ||||
| { | { | ||||
| Main *bmain = CTX_data_main(C); | Main *bmain = CTX_data_main(C); | ||||
| wmWindowManager *wm = CTX_wm_manager(C); | wmWindowManager *wm = CTX_wm_manager(C); | ||||
| wmWindow *win; | wmWindow *win; | ||||
| GPU_free_unused_buffers(bmain); | GPU_free_unused_buffers(); | ||||
| for (win = wm->windows.first; win; win = win->next) { | for (win = wm->windows.first; win; win = win->next) { | ||||
| #ifdef WIN32 | #ifdef WIN32 | ||||
| GHOST_TWindowState state = GHOST_GetWindowState(win->ghostwin); | GHOST_TWindowState state = GHOST_GetWindowState(win->ghostwin); | ||||
| if (state == GHOST_kWindowStateMinimized) { | if (state == GHOST_kWindowStateMinimized) { | ||||
| /* do not update minimized windows, gives issues on Intel (see T33223) | /* do not update minimized windows, gives issues on Intel (see T33223) | ||||
| * and AMD (see T50856). it seems logical to skip update for invisible | * and AMD (see T50856). it seems logical to skip update for invisible | ||||
| ▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines | |||||