|
Blender V5.0
|
#include "draw_context_private.hh"#include "draw_subdivision.hh"#include "DNA_mesh_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BKE_attribute.hh"#include "BKE_editmesh.hh"#include "BKE_mesh.hh"#include "BKE_mesh_mapping.hh"#include "BKE_object.hh"#include "BKE_subdiv.hh"#include "BKE_subdiv_eval.hh"#include "BKE_subdiv_foreach.hh"#include "BKE_subdiv_mesh.hh"#include "BKE_subdiv_modifier.hh"#include "BLI_linklist.h"#include "BLI_mutex.hh"#include "BLI_virtual_array.hh"#include "DRW_engine.hh"#include "DRW_render.hh"#include "GPU_capabilities.hh"#include "GPU_compute.hh"#include "GPU_index_buffer.hh"#include "GPU_state.hh"#include "GPU_uniform_buffer.hh"#include "GPU_vertex_buffer.hh"#include "opensubdiv_capi_type.hh"#include "opensubdiv_evaluator_capi.hh"#include "draw_cache_extract.hh"#include "draw_cache_impl.hh"#include "draw_cache_inline.hh"#include "draw_common_c.hh"#include "draw_shader.hh"#include "draw_subdiv_shader_shared.hh"#include "mesh_extractors/extract_mesh.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::draw |
Macros | |
| #define | SUBDIV_LOCAL_WORK_GROUP_SIZE 64 |
Variables | |
| static OpenSubdiv_EvaluatorCache * | blender::draw::g_subdiv_evaluator_cache = nullptr |
| static uint64_t | blender::draw::g_subdiv_evaluator_users = 0 |
| static Mutex | blender::draw::g_subdiv_eval_mutex |
| static LinkNode * | blender::draw::gpu_subdiv_free_queue = nullptr |
| static blender::Mutex | blender::draw::gpu_subdiv_queue_mutex |
| #define SUBDIV_COARSE_FACE_FLAG_ACTIVE 4u |
Definition at line 282 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::compute_coarse_face_flag_bm().
| #define SUBDIV_COARSE_FACE_FLAG_ACTIVE_MASK (SUBDIV_COARSE_FACE_FLAG_ACTIVE << SUBDIV_COARSE_FACE_FLAG_OFFSET) |
Definition at line 291 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::draw_subdiv_init_ubo_storage().
| #define SUBDIV_COARSE_FACE_FLAG_HIDDEN 8u |
Definition at line 283 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::compute_coarse_face_flag_bm(), and blender::draw::draw_subdiv_cache_extra_coarse_face_data_mesh().
| #define SUBDIV_COARSE_FACE_FLAG_HIDDEN_MASK (SUBDIV_COARSE_FACE_FLAG_HIDDEN << SUBDIV_COARSE_FACE_FLAG_OFFSET) |
Definition at line 293 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::draw_subdiv_init_ubo_storage().
| #define SUBDIV_COARSE_FACE_FLAG_OFFSET 28u |
| #define SUBDIV_COARSE_FACE_FLAG_SELECT 2u |
Definition at line 281 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::compute_coarse_face_flag_bm(), and blender::draw::draw_subdiv_cache_extra_coarse_face_data_mesh().
| #define SUBDIV_COARSE_FACE_FLAG_SELECT_MASK (SUBDIV_COARSE_FACE_FLAG_SELECT << SUBDIV_COARSE_FACE_FLAG_OFFSET) |
Definition at line 289 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::draw_subdiv_init_ubo_storage().
| #define SUBDIV_COARSE_FACE_FLAG_SMOOTH 1u |
| #define SUBDIV_COARSE_FACE_FLAG_SMOOTH_MASK (SUBDIV_COARSE_FACE_FLAG_SMOOTH << SUBDIV_COARSE_FACE_FLAG_OFFSET) |
Definition at line 287 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::draw_subdiv_init_ubo_storage().
| #define SUBDIV_COARSE_FACE_LOOP_START_MASK |
Definition at line 296 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::draw_subdiv_init_ubo_storage().
| #define SUBDIV_LOCAL_WORK_GROUP_SIZE 64 |
Definition at line 930 of file draw_cache_impl_subdivision.cc.
Referenced by blender::draw::get_dispatch_size().