Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | wmDrawBuffer |
Typedefs | |
typedef struct wmDrawBuffer | wmDrawBuffer |
Functions | |
void | wm_draw_update (struct bContext *C) |
void | wm_draw_region_clear (struct wmWindow *win, struct ARegion *region) |
void | wm_draw_region_blend (struct ARegion *region, int view, bool blend) |
void | wm_draw_region_test (struct bContext *C, struct ScrArea *area, struct ARegion *region) |
struct GPUTexture * | wm_draw_region_texture (struct ARegion *region, int view) |
typedef struct wmDrawBuffer wmDrawBuffer |
Definition at line 763 of file wm_draw.c.
References ARegion::alignment, blend(), BLI_rcti_size_x(), BLI_rcti_size_y(), ARegion::draw_buffer, ED_region_blend_alpha(), 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_texture_binding(), GPU_shader_get_uniform(), GPU_shader_uniform_vector(), GPU_texture_bind(), GPU_texture_unbind(), GPU_UNIFORM_COLOR, GPUBatch, quad, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, view, ARegion::winrct, wm_draw_region_texture(), rcti::xmax, rctf::xmax, rcti::xmin, rctf::xmin, rcti::ymax, rctf::ymax, rcti::ymin, and rctf::ymin.
Referenced by wm_draw_window_onscreen().
Definition at line 1368 of file wm_draw.c.
References blender::compositor::area(), C, ARegion::do_draw, ED_region_do_draw(), wm_draw_region_bind(), wm_draw_region_buffer_create(), wm_draw_region_unbind(), and WM_region_use_viewport().
Referenced by redraw_timer_step().
struct GPUTexture* wm_draw_region_texture | ( | struct ARegion * | region, |
int | view | ||
) |
Definition at line 750 of file wm_draw.c.
References ARegion::draw_buffer, GPU_offscreen_color_texture(), GPU_viewport_color_texture(), NULL, wmDrawBuffer::offscreen, view, and wmDrawBuffer::viewport.
Referenced by wm_draw_region_blend().
Definition at line 1302 of file wm_draw.c.
References BKE_image_free_unused_gpu_textures(), C, 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, NULL, state, wmWindowManager::windows, wm_draw_surface(), wm_draw_update_clear_window(), wm_draw_update_test_window(), wm_draw_window(), wm_surfaces_iter(), WM_window_get_active_screen(), 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().