|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | wmDrawBuffer |
Functions | |
| void | wm_draw_update (bContext *C) |
| void | wm_draw_region_clear (wmWindow *win, ARegion *region) |
| void | wm_draw_region_blend (ARegion *region, int view, bool blend) |
| void | wm_draw_region_test (bContext *C, ScrArea *area, ARegion *region) |
| GPUTexture * | wm_draw_region_texture (ARegion *region, int view) |
Definition at line 821 of file wm_draw.cc.
References blend, BLI_rcti_size_x(), BLI_rcti_size_y(), ED_region_blend_alpha(), float, GLA_PIXEL_OFS, GPU_batch_draw(), GPU_batch_preset_quad(), GPU_batch_set_shader(), GPU_blend(), GPU_BLEND_ALPHA_PREMULT, GPU_BLEND_NONE, GPU_SHADER_2D_IMAGE_RECT_COLOR, GPU_shader_bind(), GPU_shader_get_builtin_shader(), GPU_shader_get_builtin_uniform(), GPU_shader_get_sampler_binding(), GPU_shader_get_uniform(), GPU_shader_uniform_float_ex(), GPU_texture_bind(), GPU_texture_unbind(), GPU_UNIFORM_COLOR, quad, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, wm_draw_region_texture(), rctf::xmax, rcti::xmax, rctf::xmin, rcti::xmin, rctf::ymax, rcti::ymax, rctf::ymin, and rcti::ymin.
Referenced by wm_draw_window_onscreen().
Definition at line 1597 of file wm_draw.cc.
References WM_window_get_active_screen().
Referenced by ui_region_temp_remove().
Definition at line 1608 of file wm_draw.cc.
References CTX_wm_window(), ED_region_do_draw(), wm_draw_region_bind(), wm_draw_region_buffer_create(), wm_draw_region_unbind(), WM_region_use_viewport(), and WM_window_get_active_scene().
Referenced by redraw_timer_step().
Definition at line 808 of file wm_draw.cc.
References GPU_offscreen_color_texture(), and GPU_viewport_color_texture().
Referenced by wm_draw_region_blend().
| void wm_draw_update | ( | bContext * | C | ) |
Definition at line 1541 of file wm_draw.cc.
References BKE_image_free_unused_gpu_textures(), CTX_data_main(), CTX_wm_manager(), CTX_wm_window_set(), ED_screen_ensure_updated(), GHOST_GetWindowState(), GHOST_kWindowStateMinimized, wmWindow::ghostwin, GPU_context_main_lock(), GPU_context_main_unlock(), GPU_render_begin(), GPU_render_end(), GPU_render_step(), LISTBASE_FOREACH, state, wmWindowManager::windows, wm_draw_surface(), wm_draw_update_clear_window(), wm_draw_update_test_window(), wm_draw_window(), wm_surfaces_iter(), wm_window_clear_drawable(), wm_window_make_drawable(), and wm_window_swap_buffers().
Referenced by ghost_event_proc(), redraw_timer_step(), redraw_timer_window_swap(), WM_main(), and WM_redraw_windows().