Blender V5.3
draw_view_c.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2016 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11#include "DNA_screen_types.h"
12
13#include "ED_screen.hh"
14#include "ED_view3d.hh"
15
16#include "GPU_debug.hh"
17#include "GPU_state.hh"
18
19#include "UI_view2d.hh"
20
21#include "WM_types.hh"
22
23#include "BKE_paint.hh"
24#include "BKE_screen.hh"
25
26#include "DRW_engine.hh"
27#include "DRW_render.hh"
28
29#include "draw_view_c.hh"
30
31#include "view3d_intern.hh"
32
33namespace blender {
34
35/* ******************** region info ***************** */
36
38{
39 GPU_debug_group_begin("RegionInfo");
42}
43
44/* **************************** 3D Gizmo ******************************** */
45
46void DRW_draw_gizmo_3d(const bContext *C, ARegion *region)
47{
48 /* draw depth culled gizmos - gizmos need to be updated *after* view matrix was set up */
49 /* TODO: depth culling gizmos is not yet supported, just drawing _3D here, should
50 * later become _IN_SCENE (and draw _3D separate) */
52}
53
59
60} // namespace blender
#define C
Definition RandGen.cpp:29
BMesh Iterators.
void DRW_draw_gizmo_2d(const bContext *C, ARegion *region)
void GPU_depth_mask(bool depth)
Definition gpu_state.cc:107
void DRW_draw_region_info(const bContext *C, ARegion *region)
void DRW_draw_gizmo_3d(const bContext *C, ARegion *region)
void GPU_debug_group_end()
Definition gpu_debug.cc:34
void view3d_draw_region_info(const bContext *C, ARegion *region)
void WM_gizmomap_draw(wmGizmoMap *gzmap, const bContext *C, const eWM_GizmoFlagMapDrawStep drawstep)
@ WM_GIZMOMAP_DRAWSTEP_3D
@ WM_GIZMOMAP_DRAWSTEP_2D
void GPU_debug_group_begin(const char *name)
Definition gpu_debug.cc:23
bke::ARegionRuntime * runtime