|
Blender V4.3
|
#include "draw_common_shader_shared.hh"Go to the source code of this file.
Classes | |
| struct | DRW_Global |
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
| namespace | blender::draw |
Variables | |
| DRW_Global | G_draw |
Definition at line 393 of file draw_common.cc.
References ret, TH_ACTIVE, TH_BACK, TH_CAMERA, TH_EMPTY, TH_LIGHT, TH_SELECT, TH_SPEAKER, TH_TRANSFORM, TH_WIRE_EDIT, and UI_GetThemeColorBlendShade4fv().
Referenced by OVERLAY_forcefield().
| void DRW_fluid_ensure_flags | ( | FluidModifierData * | fmd | ) |
Definition at line 521 of file draw_fluid.cc.
References BLI_addtail(), BLI_genericNodeN(), FluidModifierData::domain, DST, FluidDomainSettings::fluid, GPU_DATA_INT, GPU_R8UI, manta_smoke_get_flags(), MOD_FLUID_TYPE_DOMAIN, FluidDomainSettings::res, DRWData::smoke_textures, FluidDomainSettings::tex_flags, FluidModifierData::type, UNUSED_VARS, and DRWManager::vmempool.
Referenced by blender::draw::overlay::Fluids::object_sync(), and OVERLAY_volume_extra().
| void DRW_fluid_ensure_range_field | ( | FluidModifierData * | fmd | ) |
Definition at line 539 of file draw_fluid.cc.
References BLI_addtail(), BLI_genericNodeN(), FluidModifierData::domain, DST, MOD_FLUID_TYPE_DOMAIN, DRWData::smoke_textures, FluidDomainSettings::tex_range_field, FluidModifierData::type, UNUSED_VARS, and DRWManager::vmempool.
Referenced by blender::draw::overlay::Fluids::object_sync(), and OVERLAY_volume_extra().
| void DRW_globals_free | ( | ) |
Definition at line 274 of file draw_common.cc.
Referenced by DRW_engines_free().
| void DRW_globals_update | ( | ) |
Definition at line 46 of file draw_common.cc.
References CBData::a, CBData::b, BKE_colorband_evaluate_table_rgba(), DRW_Global::block, DRW_Global::block_ubo, RegionView3D::clip, GlobalsUboStorage::clip_planes, GlobalsUboStorage::color_active, GlobalsUboStorage::color_active_spline, GlobalsUboStorage::color_after_frame, GlobalsUboStorage::color_background, GlobalsUboStorage::color_background_gradient, GlobalsUboStorage::color_before_frame, GlobalsUboStorage::color_bone_active, GlobalsUboStorage::color_bone_active_unsel, GlobalsUboStorage::color_bone_ik_line, GlobalsUboStorage::color_bone_ik_line_no_target, GlobalsUboStorage::color_bone_ik_line_spline, GlobalsUboStorage::color_bone_locked, GlobalsUboStorage::color_bone_pose, GlobalsUboStorage::color_bone_pose_active, GlobalsUboStorage::color_bone_pose_active_unsel, GlobalsUboStorage::color_bone_pose_constraint, GlobalsUboStorage::color_bone_pose_ik, GlobalsUboStorage::color_bone_pose_no_target, GlobalsUboStorage::color_bone_pose_spline_ik, GlobalsUboStorage::color_bone_select, GlobalsUboStorage::color_bone_solid, GlobalsUboStorage::color_camera, GlobalsUboStorage::color_camera_path, GlobalsUboStorage::color_checker_primary, GlobalsUboStorage::color_checker_secondary, GlobalsUboStorage::color_clipping_border, GlobalsUboStorage::color_current_frame, GlobalsUboStorage::color_deselect, GlobalsUboStorage::color_edge_bweight, GlobalsUboStorage::color_edge_crease, GlobalsUboStorage::color_edge_face_select, GlobalsUboStorage::color_edge_freestyle, GlobalsUboStorage::color_edge_mode_select, GlobalsUboStorage::color_edge_seam, GlobalsUboStorage::color_edge_select, GlobalsUboStorage::color_edge_sharp, GlobalsUboStorage::color_edit_mesh_active, GlobalsUboStorage::color_edit_mesh_middle, GlobalsUboStorage::color_empty, GlobalsUboStorage::color_face, GlobalsUboStorage::color_face_back, GlobalsUboStorage::color_face_freestyle, GlobalsUboStorage::color_face_front, GlobalsUboStorage::color_face_mode_select, GlobalsUboStorage::color_face_retopology, GlobalsUboStorage::color_face_select, GlobalsUboStorage::color_facedot, GlobalsUboStorage::color_gpencil_vertex, GlobalsUboStorage::color_gpencil_vertex_select, GlobalsUboStorage::color_grid, GlobalsUboStorage::color_grid_axis_x, GlobalsUboStorage::color_grid_axis_y, GlobalsUboStorage::color_grid_axis_z, GlobalsUboStorage::color_grid_emphasis, GlobalsUboStorage::color_handle_align, GlobalsUboStorage::color_handle_auto, GlobalsUboStorage::color_handle_autoclamp, GlobalsUboStorage::color_handle_free, GlobalsUboStorage::color_handle_sel_align, GlobalsUboStorage::color_handle_sel_auto, GlobalsUboStorage::color_handle_sel_autoclamp, GlobalsUboStorage::color_handle_sel_free, GlobalsUboStorage::color_handle_sel_vect, GlobalsUboStorage::color_handle_vect, GlobalsUboStorage::color_library, GlobalsUboStorage::color_library_select, GlobalsUboStorage::color_light, GlobalsUboStorage::color_light_no_alpha, GlobalsUboStorage::color_lnormal, GlobalsUboStorage::color_mball_radius, GlobalsUboStorage::color_mball_radius_select, GlobalsUboStorage::color_mball_stiffness, GlobalsUboStorage::color_mball_stiffness_select, GlobalsUboStorage::color_normal, GlobalsUboStorage::color_nurb_sel_uline, GlobalsUboStorage::color_nurb_sel_vline, GlobalsUboStorage::color_nurb_uline, GlobalsUboStorage::color_nurb_vline, GlobalsUboStorage::color_outline, GlobalsUboStorage::color_select, GlobalsUboStorage::color_skinroot, GlobalsUboStorage::color_speaker, GlobalsUboStorage::color_text, GlobalsUboStorage::color_text_hi, GlobalsUboStorage::color_transform, GlobalsUboStorage::color_uv_shadow, GlobalsUboStorage::color_vertex, GlobalsUboStorage::color_vertex_missing_data, GlobalsUboStorage::color_vertex_select, GlobalsUboStorage::color_vertex_unreferenced, GlobalsUboStorage::color_vnormal, GlobalsUboStorage::color_wire, GlobalsUboStorage::color_wire_edit, copy_v2_v2(), copy_v3_fl(), copy_v4_fl4(), ColorBand::data, dot_v3v3(), DRW_context_state_get(), DRW_create_weight_colorramp_texture(), DRW_TEXTURE_FREE_SAFE, DRW_viewport_pixelsize_get(), DRW_viewport_size_get(), float, GlobalsUboStorage::fresnel_mix_edit, CBData::g, G_draw, GPU_RGBA8, GPU_texture_create_1d(), GPU_TEXTURE_USAGE_SHADER_READ, GPU_uniformbuf_create_ex(), GPU_uniformbuf_update(), interp_v4_v4v4(), invert_v2(), M_SQRT1_2, M_SQRT2, max_ff(), MEM_freeN(), GlobalsUboStorage::pixel_fac, CBData::pos, CBData::r, DRW_Global::ramp, DRWContextState::rv3d, RV3D_BOXCLIP, RV3D_LOCK_FLAGS, GlobalsUboStorage::size_checker, GlobalsUboStorage::size_edge, GlobalsUboStorage::size_edge_fix, GlobalsUboStorage::size_face_dot, GlobalsUboStorage::size_light_center, GlobalsUboStorage::size_light_circle, GlobalsUboStorage::size_light_circle_shadow, GlobalsUboStorage::size_object_center, GlobalsUboStorage::size_pixel, GlobalsUboStorage::size_vertex, GlobalsUboStorage::size_vertex_gpencil, GlobalsUboStorage::size_viewport, srgb_to_linearrgb_v4(), TH_ACTIVE, TH_ACTIVE_SPLINE, TH_AXIS_X, TH_AXIS_Y, TH_AXIS_Z, TH_BACK, TH_BACK_GRAD, TH_BONE_LOCKED_WEIGHT, TH_BONE_POSE, TH_BONE_POSE_ACTIVE, TH_BONE_SOLID, TH_CAMERA, TH_CAMERA_PATH, TH_CFRAME, TH_EDGE_BEVEL, TH_EDGE_CREASE, TH_EDGE_FACESEL, TH_EDGE_MODE_SELECT, TH_EDGE_SEAM, TH_EDGE_SELECT, TH_EDGE_SHARP, TH_EDGE_WIDTH, TH_EDITMESH_ACTIVE, TH_EMPTY, TH_FACE, TH_FACE_BACK, TH_FACE_DOT, TH_FACE_FRONT, TH_FACE_MODE_SELECT, TH_FACE_RETOPOLOGY, TH_FACE_SELECT, TH_FACEDOT_SIZE, TH_FRAME_AFTER, TH_FRAME_BEFORE, TH_FREESTYLE_EDGE_MARK, TH_FREESTYLE_FACE_MARK, TH_GP_VERTEX, TH_GP_VERTEX_SELECT, TH_GP_VERTEX_SIZE, TH_GRID, TH_HANDLE_ALIGN, TH_HANDLE_AUTO, TH_HANDLE_AUTOCLAMP, TH_HANDLE_FREE, TH_HANDLE_SEL_ALIGN, TH_HANDLE_SEL_AUTO, TH_HANDLE_SEL_AUTOCLAMP, TH_HANDLE_SEL_FREE, TH_HANDLE_SEL_VECT, TH_HANDLE_VECT, TH_LIGHT, TH_LNORMAL, TH_NORMAL, TH_NURB_SEL_ULINE, TH_NURB_SEL_VLINE, TH_NURB_ULINE, TH_NURB_VLINE, TH_OBCENTER_DIA, TH_SELECT, TH_SKIN_ROOT, TH_SPEAKER, TH_TEXT, TH_TEXT_HI, TH_TRANSFORM, TH_TRANSPARENT_CHECKER_PRIMARY, TH_TRANSPARENT_CHECKER_SECONDARY, TH_TRANSPARENT_CHECKER_SIZE, TH_UV_SHADOW, TH_V3D_CLIPPING_BORDER, TH_VERTEX, TH_VERTEX_SELECT, TH_VERTEX_SIZE, TH_VERTEX_UNREFERENCED, TH_VNORMAL, TH_WIRE, TH_WIRE_EDIT, ColorBand::tot, UBO_LAST_COLOR, UI_COLOR_RGBA_FROM_U8, UI_GetThemeColor4fv(), UI_GetThemeColorBlendShade3fv(), UI_GetThemeColorBlendShade4fv(), UI_GetThemeColorShade4fv(), UI_GetThemeColorShadeAlpha4fv(), UI_GetThemeValuef(), USER_CUSTOM_RANGE, USER_GPU_FLAG_FRESNEL_EDIT, DRW_Global::weight_ramp, weight_ramp_copy, weight_ramp_custom, and zero_v4().
Referenced by DRW_draw_depth_loop(), DRW_draw_render_loop_2d_ex(), DRW_draw_render_loop_ex(), DRW_draw_select_id(), and DRW_draw_select_loop().
| void DRW_hair_duplimat_get | ( | Object * | object, |
| ParticleSystem * | psys, | ||
| ModifierData * | md, | ||
| float(*) | dupli_mat[4] ) |
Definition at line 146 of file draw_hair.cc.
References copy_m4_m4(), DRW_object_get_dupli(), DRW_object_get_dupli_parent(), Object::instance_collection, invert_m4(), mul_m4_m4m4(), DupliObject::ob, OB_DUPLICOLLECTION, sub_v3_v3(), DupliObject::type, and unit_m4().
Referenced by DRW_shgroup_hair_create_sub(), and blender::draw::hair_sub_pass_setup_implementation().
| void DRW_hair_free | ( | ) |
Definition at line 259 of file draw_hair.cc.
References g_dummy_curves_info, g_dummy_vbo, and GPU_VERTBUF_DISCARD_SAFE.
Referenced by blender::draw::DRW_curves_free().
| void DRW_hair_init | ( | ) |
Definition at line 73 of file draw_hair.cc.
References drw_hair_ensure_vbo(), DRW_pass_create(), DRW_STATE_NO_DRAW, and g_tf_pass.
Referenced by blender::draw::DRW_curves_init().
| blender::gpu::VertBuf * DRW_hair_pos_buffer_get | ( | Object * | object, |
| ParticleSystem * | psys, | ||
| ModifierData * | md ) |
Definition at line 130 of file draw_hair.cc.
References DRW_context_state_get(), drw_hair_particle_cache_get(), ParticleHairCache::final, RenderData::hair_subdiv, ParticleHairFinalCache::proc_buf, Scene::r, SCE_HAIR_SHAPE_STRAND, and DRWContextState::scene.
Referenced by blender::eevee::VelocityModule::step_object_sync().
| void DRW_hair_update | ( | ) |
Definition at line 252 of file draw_hair.cc.
References DRW_draw_pass(), g_tf_pass, GPU_BARRIER_SHADER_STORAGE, and GPU_memory_barrier().
Referenced by blender::draw::DRW_curves_update().
Definition at line 468 of file draw_common.cc.
References BKE_object_rot_to_mat3(), dot_v3v3(), DRW_view_viewmat_get(), e, and fabsf.
Referenced by basic_cache_populate(), blender::draw::overlay::Outline::object_sync(), and OVERLAY_outline_cache_populate().
Definition at line 435 of file draw_common.cc.
References BKE_object_dimensions_get(), ELEM, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_MESH, OB_POINTCLOUD, OB_SURF, OB_VOLUME, and Object::type.
Referenced by basic_cache_populate(), blender::draw::overlay::Outline::object_sync(), and OVERLAY_outline_cache_populate().
Get the wire color theme_id of an object based on its state r_color is a way to get a pointer to the static color var associated
Definition at line 299 of file draw_common.cc.
References Object::base_flag, BASE_FROM_DUPLI, BASE_FROM_SET, BASE_SELECTED, BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), DRW_Global::block, GlobalsUboStorage::color_active, GlobalsUboStorage::color_camera, GlobalsUboStorage::color_empty, GlobalsUboStorage::color_light, GlobalsUboStorage::color_select, GlobalsUboStorage::color_speaker, GlobalsUboStorage::color_transform, GlobalsUboStorage::color_wire, GlobalsUboStorage::color_wire_edit, DRW_context_state_get(), DRW_object_get_dupli_parent(), G, G_draw, G_TRANSFORM_OBJ, Object::mode, OB_CAMERA, OB_EMPTY, OB_LAMP, OB_LIGHTPROBE, OB_MODE_EDIT, OB_SPEAKER, Base::object, DRWContextState::object_mode, DRWContextState::scene, TH_ACTIVE, TH_CAMERA, TH_EMPTY, TH_LIGHT, TH_SELECT, TH_SPEAKER, TH_TRANSFORM, TH_WIRE, TH_WIRE_EDIT, Object::type, and UNLIKELY.
Referenced by OVERLAY_armature_cache_populate(), OVERLAY_camera_cache_populate(), OVERLAY_empty_cache_populate(), OVERLAY_extra_cache_populate(), OVERLAY_forcefield(), overlay_grease_pencil_draw_stroke_color_name(), OVERLAY_image_empty_cache_populate(), OVERLAY_lattice_cache_populate(), OVERLAY_light_cache_populate(), OVERLAY_lightprobe_cache_populate(), OVERLAY_metaball_cache_populate(), OVERLAY_speaker_cache_populate(), and OVERLAY_wireframe_cache_populate().
| DRWShadingGroup * DRW_shgroup_hair_create_sub | ( | Object * | object, |
| ParticleSystem * | psys, | ||
| ModifierData * | md, | ||
| DRWShadingGroup * | shgrp, | ||
| GPUMaterial * | gpu_material ) |
This creates a shading group with display hairs. The draw call is already added by this function, just add additional uniforms.
Definition at line 174 of file draw_hair.cc.
References ParticleHairCache::col_layer_names, ParticleHairCache::col_tex, DRW_context_state_get(), DRW_hair_duplimat_get(), drw_hair_particle_cache_get(), DRW_shgroup_add_material_resources(), DRW_shgroup_buffer_texture(), DRW_shgroup_call_no_cull, DRW_shgroup_create_sub(), DRW_shgroup_uniform_block, DRW_shgroup_uniform_bool_copy(), DRW_shgroup_uniform_float_copy(), DRW_shgroup_uniform_int(), DRW_shgroup_uniform_int_copy(), DRW_shgroup_uniform_mat4_copy(), DRW_shgroup_uniform_texture(), ParticleHairCache::final, g_dummy_curves_info, g_dummy_vbo, RenderData::hair_subdiv, MAX_LAYER_NAME_CT, ParticleHairCache::num_col_layers, ParticleHairCache::num_uv_layers, ParticleSystem::part, PART_SHAPE_CLOSE_TIP, ParticleHairFinalCache::proc_buf, ParticleHairFinalCache::proc_hairs, ParticleHairCache::proc_length_buf, Scene::r, SCE_HAIR_SHAPE_STRAND, DRWContextState::scene, ParticleSettings::shape, ParticleHairFinalCache::strands_res, ParticleHairCache::uv_layer_names, and ParticleHairCache::uv_tex.
| DRWShadingGroup * DRW_shgroup_volume_create_sub | ( | Scene * | scene, |
| Object * | ob, | ||
| DRWShadingGroup * | shgrp, | ||
| GPUMaterial * | gpu_material ) |
Add attributes bindings of volume grids to an existing shading group. No draw call is added so the caller can decide how to use the data.
Definition at line 261 of file draw_volume.cc.
References drw_volume_object_grids_init(), drw_volume_object_mesh_init(), drw_volume_world_grids_init(), GPU_material_attributes(), OB_VOLUME, and Object::type.
| void DRW_smoke_ensure | ( | FluidModifierData * | fmd, |
| int | highres ) |
Definition at line 455 of file draw_fluid.cc.
References BLI_addtail(), BLI_genericNodeN(), FluidModifierData::domain, DST, FluidDomainSettings::fluid, GPU_DATA_FLOAT, GPU_R8, manta_smoke_get_shadow(), MOD_FLUID_TYPE_DOMAIN, FluidDomainSettings::res, DRWData::smoke_textures, FluidDomainSettings::tex_color, FluidDomainSettings::tex_density, FluidDomainSettings::tex_flame, FluidDomainSettings::tex_flame_coba, FluidDomainSettings::tex_shadow, FluidModifierData::type, UNUSED_VARS, and DRWManager::vmempool.
Referenced by blender::draw::drw_volume_object_mesh_init(), drw_volume_object_mesh_init(), and blender::workbench::VolumePass::object_sync_modifier().
| void DRW_smoke_ensure_coba_field | ( | FluidModifierData * | fmd | ) |
Definition at line 428 of file draw_fluid.cc.
References BLI_addtail(), BLI_genericNodeN(), FluidDomainSettings::coba, FluidDomainSettings::coba_field, FluidModifierData::domain, DST, ELEM, FLUID_DOMAIN_FIELD_FLAGS, FLUID_DOMAIN_FIELD_PHI, FLUID_DOMAIN_FIELD_PHI_IN, FLUID_DOMAIN_FIELD_PHI_OBSTACLE, FLUID_DOMAIN_FIELD_PHI_OUT, FLUID_DOMAIN_FIELD_PRESSURE, MOD_FLUID_TYPE_DOMAIN, DRWData::smoke_textures, FluidDomainSettings::tex_coba, FluidDomainSettings::tex_field, FluidModifierData::type, UNUSED_VARS, and DRWManager::vmempool.
Referenced by blender::workbench::VolumePass::object_sync_modifier().
| void DRW_smoke_ensure_velocity | ( | FluidModifierData * | fmd | ) |
Definition at line 488 of file draw_fluid.cc.
References BLI_addtail(), BLI_genericNodeN(), FluidModifierData::domain, DST, ELEM, FLUID_DOMAIN_VECTOR_FIELD_VELOCITY, GPU_R16F, GPU_texture_create_3d(), GPU_TEXTURE_USAGE_SHADER_READ, MOD_FLUID_TYPE_DOMAIN, FluidDomainSettings::res, DRWData::smoke_textures, FluidDomainSettings::tex_velocity_x, FluidDomainSettings::tex_velocity_y, FluidDomainSettings::tex_velocity_z, FluidModifierData::type, UNPACK3, UNUSED_VARS, FluidDomainSettings::vector_field, and DRWManager::vmempool.
Referenced by blender::draw::overlay::Fluids::object_sync(), and OVERLAY_volume_extra().
| void DRW_smoke_exit | ( | DRWData * | drw_data | ) |
Definition at line 560 of file draw_fluid.cc.
References BLI_freelistN(), GPU_TEXTURE_FREE_SAFE, LISTBASE_FOREACH, and DRWData::smoke_textures.
Referenced by DRW_cache_restart(), DRW_custom_pipeline_end(), DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_loop(), and DRW_render_to_image().
| void DRW_smoke_free | ( | FluidModifierData * | fmd | ) |
| void DRW_smoke_init | ( | DRWData * | drw_data | ) |
Definition at line 555 of file draw_fluid.cc.
References BLI_listbase_clear(), and DRWData::smoke_textures.
Referenced by DRW_cache_restart(), DRW_custom_pipeline_begin(), DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_loop(), and DRW_render_object_iter().
| DRWView * DRW_view_create_with_zoffset | ( | const DRWView * | parent_view, |
| const RegionView3D * | rv3d, | ||
| float | offset ) |
Definition at line 276 of file draw_common.cc.
References RegionView3D::dist, DRW_view_create_sub(), DRW_view_viewmat_get(), DRW_view_winmat_get(), fabsf, GPU_polygon_offset_calc(), RegionView3D::is_persp, max_ff(), RegionView3D::persp, and RV3D_CAMOB.
Referenced by OVERLAY_edit_curves_init(), OVERLAY_edit_mesh_init(), OVERLAY_edit_text_cache_init(), OVERLAY_image_init(), OVERLAY_wireframe_init(), and select_engine_init().
| void DRW_volume_free | ( | ) |
Definition at line 83 of file draw_volume.cc.
References g_data, and GPU_TEXTURE_FREE_SAFE.
Referenced by DRW_engines_free().
| void DRW_volume_init | ( | DRWData * | drw_data | ) |
Definition at line 104 of file draw_volume.cc.
References drw_volume_globals_init(), g_data, and DRWData::volume_grids_ubos.
Referenced by DRW_cache_restart(), DRW_custom_pipeline_begin(), DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_loop(), and DRW_render_object_iter().
| void DRW_volume_ubos_pool_free | ( | void * | pool | ) |
Definition at line 66 of file draw_volume.cc.
Referenced by DRW_viewport_data_free().
|
extern |
Colors & Constant.
Definition at line 37 of file draw_common.cc.
Referenced by basic_cache_init(), bone_locked_color_shade(), camera_stereoscopy_extra(), camera_view3d_reconstruction(), draw_axes(), ArmatureBoneDrawStrategyLine::draw_bone(), draw_points(), DRW_engines_free(), DRW_globals_update(), drw_manager_init(), DRW_object_wire_theme_get(), drw_shgroup_bone_ik_lines(), drw_shgroup_bone_ik_no_target_lines(), drw_shgroup_bone_ik_spline_lines(), drw_shgroup_bone_relationship_lines(), drw_shgroup_init(), drw_update_view(), edit_text_cache_populate_boxes(), get_bone_hint_color(), get_bone_solid_color(), get_bone_solid_with_consts_color(), get_bone_wire_color(), get_pchan_color_constraint(), get_pchan_color_solid(), get_pchan_color_wire(), blender::draw::overlay::Instance::init(), blender::workbench::SceneResources::init(), OVERLAY_antialiasing_cache_init(), OVERLAY_antialiasing_init(), OVERLAY_armature_cache_init(), OVERLAY_background_cache_init(), OVERLAY_edit_curve_cache_init(), OVERLAY_edit_curves_cache_init(), OVERLAY_edit_gpencil_legacy_cache_init(), OVERLAY_edit_grease_pencil_cache_init(), OVERLAY_edit_lattice_cache_init(), OVERLAY_edit_mesh_cache_init(), OVERLAY_edit_metaball_cache_populate(), OVERLAY_edit_particle_cache_init(), OVERLAY_edit_text_cache_init(), OVERLAY_edit_uv_cache_init(), OVERLAY_extra_cache_init(), OVERLAY_facing_cache_init(), OVERLAY_gpencil_legacy_cache_init(), OVERLAY_grease_pencil_cache_init(), OVERLAY_grid_cache_init(), OVERLAY_metaball_cache_init(), OVERLAY_mode_transfer_cache_populate(), OVERLAY_motion_path_cache_init(), OVERLAY_outline_cache_init(), OVERLAY_paint_cache_init(), OVERLAY_particle_cache_init(), OVERLAY_relationship_lines(), OVERLAY_wireframe_cache_init(), and select_cache_init().