Blender  V3.3
Namespaces | Classes | Functions
blender::draw Namespace Reference

Namespaces

 color_management
 
 detail
 
 image_engine
 

Classes

struct  ExtractorRunData
 
class  ExtractorRunDatas
 
struct  ExtractTaskData
 
struct  ExtractorIterData
 
struct  MeshRenderDataUpdateTaskData
 
class  UniformArrayBuffer
 
class  UniformBuffer
 
class  StorageArrayBuffer
 
class  StorageBuffer
 
class  Texture
 
class  TextureFromPool
 
class  Framebuffer
 
class  SwapChain
 
struct  MeshExtract_EditUvElem_Data
 
struct  MeshExtract_LineAdjacency_Data
 
struct  MeshExtract_LinePaintMask_Data
 
struct  AttributeTypeConverter
 
struct  gpuMeshCol
 
struct  AttributeTypeConverter< MPropCol, gpuMeshCol >
 
struct  AttributeTypeConverter< ColorGeometry4b, gpuMeshCol >
 
struct  MeshExtract_EdgeFac_Data
 
struct  MeshExtract_EditUVData_Data
 
struct  UVStretchAngle
 
struct  MeshExtract_StretchAngle_Data
 
struct  MeshExtract_EditUVFdotData_Data
 
struct  MeshExtract_FdotUV_Data
 
struct  gpuHQNor
 
struct  BVHTree_OverlapData
 
struct  MeshExtract_Orco_Data
 
struct  PosNorLoop
 
struct  MeshExtract_PosNor_Data
 
struct  PosNorHQLoop
 
struct  MeshExtract_PosNorHQ_Data
 
struct  SkinRootData
 
struct  MeshExtract_Weight_Data
 
class  DrawOpenGLTest
 

Typedefs

Mesh Elements Extract Struct
using TaskId = int
 
using TaskLen = int
 

Functions

static void extract_tris_mat_task_reduce (void *_userdata_to, void *_userdata_from)
 
static void test_workbench_glsl_shaders ()
 
static void test_gpencil_glsl_shaders ()
 
static void test_image_glsl_shaders ()
 
static void test_overlay_glsl_shaders ()
 
static void test_eevee_glsl_shaders_static ()
 
static void test_draw_shaders (eParticleRefineShaderType sh_type)
 
static void test_draw_glsl_shaders ()
 
static void test_basic_glsl_shaders ()
 
Extract Loop
void mesh_buffer_cache_create_requested (TaskGraph *task_graph, MeshBatchCache *cache, MeshBufferCache *mbc, Object *object, Mesh *me, bool is_editmode, bool is_paint_mode, bool is_mode_active, const float obmat[4][4], bool do_final, bool do_uvedit, const Scene *scene, const ToolSettings *ts, bool use_hide)
 
Subdivision Extract Loop
void mesh_buffer_cache_create_requested_subdiv (MeshBatchCache *cache, MeshBufferCache *mbc, DRWSubdivCache *subdiv_cache, MeshRenderData *mr)
 
ExtractTaskData
static void extract_task_data_free (void *data)
 
Extract Init and Finish
BLI_INLINE void extract_init (const MeshRenderData *mr, MeshBatchCache *cache, ExtractorRunDatas &extractors, MeshBufferList *mbuflist, void *data_stack)
 
BLI_INLINE void extract_finish (const MeshRenderData *mr, MeshBatchCache *cache, const ExtractorRunDatas &extractors, void *data_stack)
 
Extract In Parallel Ranges
static void extract_task_reduce (const void *__restrict userdata, void *__restrict chunk_to, void *__restrict chunk_from)
 
static void extract_range_iter_looptri_bm (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_looptri_mesh (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_poly_bm (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_poly_mesh (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_ledge_bm (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_ledge_mesh (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_lvert_bm (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
static void extract_range_iter_lvert_mesh (void *__restrict userdata, const int iter, const TaskParallelTLS *__restrict tls)
 
BLI_INLINE void extract_task_range_run_iter (const MeshRenderData *mr, ExtractorRunDatas *extractors, const eMRIterType iter_type, bool is_mesh, TaskParallelSettings *settings)
 
static void extract_task_range_run (void *__restrict taskdata)
 
static struct TaskNodeextract_task_node_create (struct TaskGraph *task_graph, const MeshRenderData *mr, MeshBatchCache *cache, ExtractorRunDatas *extractors, MeshBufferList *mbuflist, const bool use_threading)
 
Task Node - Update Mesh Render Data
static void mesh_render_data_update_task_data_free (void *data)
 
static void mesh_extract_render_data_node_exec (void *__restrict task_data)
 
static struct TaskNodemesh_extract_render_data_node_create (struct TaskGraph *task_graph, MeshRenderData *mr, MeshBufferCache *cache, const eMRIterType iter_type, const eMRDataType data_flag)
 
Extract Edit UV Triangles Indices
static void extract_edituv_tris_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
BLI_INLINE void edituv_tri_add (MeshExtract_EditUvElem_Data *data, bool hidden, bool selected, int v1, int v2, int v3)
 
static void extract_edituv_tris_iter_looptri_bm (const MeshRenderData *UNUSED(mr), BMLoop **elt, const int UNUSED(elt_index), void *_data)
 
static void extract_edituv_tris_iter_looptri_mesh (const MeshRenderData *mr, const MLoopTri *mlt, const int UNUSED(elt_index), void *_data)
 
static void extract_edituv_tris_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
static void extract_edituv_tris_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
static void extract_edituv_tris_iter_subdiv_bm (const DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *UNUSED(mr), void *_data, uint subdiv_quad_index, const BMFace *coarse_quad)
 
static void extract_edituv_tris_iter_subdiv_mesh (const DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *coarse_quad)
 
static void extract_edituv_tris_finish_subdiv (const struct DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
constexpr MeshExtract create_extractor_edituv_tris ()
 
Extract Edit UV Line Indices around faces
static void extract_edituv_lines_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
BLI_INLINE void edituv_edge_add (MeshExtract_EditUvElem_Data *data, bool hidden, bool selected, int v1, int v2)
 
static void extract_edituv_lines_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_edituv_lines_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_edituv_lines_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
static void extract_edituv_lines_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
static void extract_edituv_lines_iter_subdiv_bm (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const BMFace *coarse_poly)
 
static void extract_edituv_lines_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *coarse_poly)
 
static void extract_edituv_lines_finish_subdiv (const struct DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
constexpr MeshExtract create_extractor_edituv_lines ()
 
Extract Edit UV Points Indices
static void extract_edituv_points_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
BLI_INLINE void edituv_point_add (MeshExtract_EditUvElem_Data *data, bool hidden, bool selected, int v1)
 
static void extract_edituv_points_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_edituv_points_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_edituv_points_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
static void extract_edituv_points_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
static void extract_edituv_points_iter_subdiv_bm (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), void *_data, uint subdiv_quad_index, const BMFace *coarse_quad)
 
static void extract_edituv_points_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *coarse_quad)
 
static void extract_edituv_points_finish_subdiv (const struct DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
constexpr MeshExtract create_extractor_edituv_points ()
 
Extract Edit UV Face-dots Indices
static void extract_edituv_fdots_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
BLI_INLINE void edituv_facedot_add (MeshExtract_EditUvElem_Data *data, bool hidden, bool selected, int face_index)
 
static void extract_edituv_fdots_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int f_index, void *_data)
 
static void extract_edituv_fdots_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_edituv_fdots_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
constexpr MeshExtract create_extractor_edituv_fdots ()
 
Extract Face-dots Indices
static void extract_fdots_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
static void extract_fdots_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int f_index, void *_userdata)
 
static void extract_fdots_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_userdata)
 
static void extract_fdots_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_userdata)
 
constexpr MeshExtract create_extractor_fdots ()
 
Extract Edges Indices
static void extract_lines_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
static void extract_lines_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *data)
 
static void extract_lines_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *data)
 
static void extract_lines_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *data)
 
static void extract_lines_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *med, const int ledge_index, void *data)
 
static void extract_lines_task_reduce (void *_userdata_to, void *_userdata_from)
 
static void extract_lines_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *data)
 
static void extract_lines_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buffer, void *UNUSED(data))
 
static void extract_lines_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_lines ()
 
Extract Lines and Loose Edges Sub Buffer
static void extract_lines_loose_subbuffer (const MeshRenderData *mr, MeshBatchCache *cache)
 
static void extract_lines_with_lines_loose_finish (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *data)
 
static void extract_lines_with_lines_loose_finish_subdiv (const struct DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *UNUSED(buf), void *UNUSED(_data))
 
constexpr MeshExtract create_extractor_lines_with_lines_loose ()
 
Extract Loose Edges Sub Buffer
static void extract_lines_loose_only_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data))
 
static void extract_lines_loose_only_init_subdiv (const DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_lines_loose_only ()
 
Extract Line Adjacency Indices
static void line_adjacency_data_init (MeshExtract_LineAdjacency_Data *data, uint vert_len, uint loop_len, uint tess_edge_len)
 
static void extract_lines_adjacency_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
BLI_INLINE void lines_adjacency_triangle (uint v1, uint v2, uint v3, uint l1, uint l2, uint l3, MeshExtract_LineAdjacency_Data *data)
 
static void extract_lines_adjacency_iter_looptri_bm (const MeshRenderData *UNUSED(mr), BMLoop **elt, const int UNUSED(elt_index), void *_data)
 
static void extract_lines_adjacency_iter_looptri_mesh (const MeshRenderData *mr, const MLoopTri *mlt, const int UNUSED(elt_index), void *_data)
 
static void extract_lines_adjacency_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buf, void *_data)
 
static void extract_lines_adjacency_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *_data)
 
static void extract_lines_adjacency_iter_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), void *_data, uint subdiv_quad_index)
 
static void extract_lines_adjacency_iter_subdiv_bm (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const BMFace *UNUSED(coarse_quad))
 
static void extract_lines_adjacency_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *UNUSED(coarse_quad))
 
static void extract_lines_adjacency_finish_subdiv (const DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *_data)
 
constexpr MeshExtract create_extractor_lines_adjacency ()
 
Extract Paint Mask Line Indices
static void extract_lines_paint_mask_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
static void extract_lines_paint_mask_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *_data)
 
static void extract_lines_paint_mask_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
static void extract_lines_paint_mask_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
static void extract_lines_paint_mask_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *coarse_quad)
 
static void extract_lines_paint_mask_finish_subdiv (const struct DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *_data)
 
constexpr MeshExtract create_extractor_lines_paint_mask ()
 
Extract Point Indices
static void extract_points_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *tls_data)
 
BLI_INLINE void vert_set_bm (GPUIndexBufBuilder *elb, const BMVert *eve, int l_index)
 
BLI_INLINE void vert_set_mesh (GPUIndexBufBuilder *elb, const MeshRenderData *mr, const int v_index, const int l_index)
 
static void extract_points_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *_userdata)
 
static void extract_points_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *_userdata)
 
static void extract_points_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *_userdata)
 
static void extract_points_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *med, const int ledge_index, void *_userdata)
 
static void extract_points_iter_lvert_bm (const MeshRenderData *mr, const BMVert *eve, const int lvert_index, void *_userdata)
 
static void extract_points_iter_lvert_mesh (const MeshRenderData *mr, const MVert *UNUSED(mv), const int lvert_index, void *_userdata)
 
static void extract_points_task_reduce (void *_userdata_to, void *_userdata_from)
 
static void extract_points_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_userdata)
 
static void extract_points_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(buffer), void *data)
 
static void extract_points_iter_subdiv_common (GPUIndexBufBuilder *elb, const MeshRenderData *mr, const DRWSubdivCache *subdiv_cache, uint subdiv_quad_index, bool for_bmesh)
 
static void extract_points_iter_subdiv_bm (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const BMFace *UNUSED(coarse_quad))
 
static void extract_points_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *UNUSED(coarse_quad))
 
static void extract_points_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *UNUSED(buffer), void *data)
 
static void extract_points_finish_subdiv (const DRWSubdivCache *UNUSED(subdiv_cache), const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *_userdata)
 
constexpr MeshExtract create_extractor_points ()
 
Extract Triangles Indices (multi material)
static void extract_tris_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
static void extract_tris_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int f_index, void *_data)
 
static void extract_tris_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_tris_finish (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *_data)
 
static void extract_tris_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_tris ()
 
Extract Triangles Indices (single material)
static void extract_tris_single_mat_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *UNUSED(ibo), void *tls_data)
 
static void extract_tris_single_mat_iter_looptri_bm (const MeshRenderData *UNUSED(mr), BMLoop **elt, const int elt_index, void *_data)
 
static void extract_tris_single_mat_iter_looptri_mesh (const MeshRenderData *mr, const MLoopTri *mlt, const int mlt_index, void *_data)
 
static void extract_tris_single_mat_finish (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *_data)
 
constexpr MeshExtract create_extractor_tris_single_mat ()
 
Extract Attributes
static CustomDataget_custom_data_for_domain (const MeshRenderData *mr, eAttrDomain domain)
 
static uint gpu_component_size_for_attribute_type (eCustomDataType type)
 
static GPUVertFetchMode get_fetch_mode_for_type (eCustomDataType type)
 
static GPUVertCompType get_comp_type_for_type (eCustomDataType type)
 
static void init_vbo_for_attribute (const MeshRenderData &mr, GPUVertBuf *vbo, const DRW_AttributeRequest &request, bool build_on_device, uint32_t len)
 
template<typename AttributeType , typename VBOType >
static void fill_vertbuf_with_attribute (const MeshRenderData *mr, VBOType *vbo_data, const DRW_AttributeRequest &request)
 
template<typename AttributeType , typename VBOType >
static void fill_vertbuf_with_attribute_bm (const MeshRenderData *mr, VBOType *&vbo_data, const DRW_AttributeRequest &request)
 
template<typename AttributeType , typename VBOType = AttributeType>
static void extract_attr_generic (const MeshRenderData *mr, GPUVertBuf *vbo, const DRW_AttributeRequest &request)
 
static void extract_attr_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data), int index)
 
static void extract_attr_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(tls_data), int index)
 
template<int Index>
constexpr MeshExtract create_extractor_attr (ExtractInitFn fn, ExtractInitSubdivFn subdiv_fn)
 
Extract Edge Factor

Defines how much an edge is visible.

static float loop_edge_factor_get (const float f_no[3], const float v_co[3], const float v_no[3], const float v_next_co[3])
 
static void extract_edge_fac_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_edge_fac_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_edge_fac_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_edge_fac_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *UNUSED(eed), const int ledge_index, void *_data)
 
static void extract_edge_fac_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *UNUSED(med), const int ledge_index, void *_data)
 
static void extract_edge_fac_finish (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
static GPUVertFormatget_subdiv_edge_fac_format ()
 
static void extract_edge_fac_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
static void extract_edge_fac_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_edge_fac ()
 
Extract Edit Mode Data / Flags
static void mesh_render_data_edge_flag (const MeshRenderData *mr, const BMEdge *eed, EditLoopData *eattr)
 
static void mesh_render_data_vert_flag (const MeshRenderData *mr, const BMVert *eve, EditLoopData *eattr)
 
static GPUVertFormatget_edit_data_format ()
 
static void extract_edit_data_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_edit_data_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_edit_data_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_edit_data_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *_data)
 
static void extract_edit_data_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *med, const int ledge_index, void *_data)
 
static void extract_edit_data_iter_lvert_bm (const MeshRenderData *mr, const BMVert *eve, const int lvert_index, void *_data)
 
static void extract_edit_data_iter_lvert_mesh (const MeshRenderData *mr, const MVert *UNUSED(mv), const int lvert_index, void *_data)
 
static void extract_edit_data_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *data)
 
static void extract_edit_data_iter_subdiv_bm (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const BMFace *coarse_quad)
 
static void extract_edit_data_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *coarse_quad)
 
static void extract_edit_data_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *UNUSED(buffer), void *_data)
 
constexpr MeshExtract create_extractor_edit_data ()
 
Extract Edit UV Data / Flags
static void extract_edituv_data_init_common (const MeshRenderData *mr, GPUVertBuf *vbo, MeshExtract_EditUVData_Data *data, uint loop_len)
 
static void extract_edituv_data_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_edituv_data_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_edituv_data_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void extract_edituv_data_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_edituv_data_iter_subdiv_bm (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const BMFace *coarse_quad)
 
static void extract_edituv_data_iter_subdiv_mesh (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *_data, uint subdiv_quad_index, const MPoly *coarse_quad)
 
constexpr MeshExtract create_extractor_edituv_data ()
 
Extract Edit UV angle stretch
static void compute_normalize_edge_vectors (float auv[2][2], float av[2][3], const float uv[2], const float uv_prev[2], const float co[3], const float co_prev[3])
 
static short v2_to_short_angle (const float v[2])
 
static void edituv_get_edituv_stretch_angle (float auv[2][2], const float av[2][3], UVStretchAngle *r_stretch)
 
static void extract_edituv_stretch_angle_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_edituv_stretch_angle_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_edituv_stretch_angle_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *_data)
 
static GPUVertFormatget_edituv_stretch_angle_format_subdiv ()
 
static void extract_edituv_stretch_angle_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(tls_data))
 
constexpr MeshExtract create_extractor_edituv_edituv_stretch_angle ()
 
Extract Edit UV area stretch
static void extract_edituv_stretch_area_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
BLI_INLINE float area_ratio_get (float area, float uvarea)
 
BLI_INLINE float area_ratio_to_stretch (float ratio, float tot_ratio)
 
static void compute_area_ratio (const MeshRenderData *mr, float *r_area_ratio, float &r_tot_area, float &r_tot_uv_area)
 
static void extract_edituv_stretch_area_finish (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(data))
 
static void extract_edituv_stretch_area_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_edituv_stretch_area ()
 
Extract Face-dots Edit UV flag
static void extract_fdots_edituv_data_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_fdots_edituv_data_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_fdots_edituv_data_iter_poly_mesh (const MeshRenderData *mr, const MPoly *UNUSED(mp), const int mp_index, void *_data)
 
constexpr MeshExtract create_extractor_fdots_edituv_data ()
 
Extract Face-dots Normal and edit flag
static void extract_fdots_nor_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
static void extract_fdots_nor_finish (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_fdots_nor ()
 
Extract Face-dots High Quality Normal and edit flag
static void extract_fdots_nor_hq_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
static void extract_fdots_nor_hq_finish (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_fdots_nor_hq ()
 
Extract Face-dots positions
static GPUVertFormatget_fdots_pos_format ()
 
static GPUVertFormatget_fdots_nor_format_subdiv ()
 
static void extract_fdots_pos_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_fdots_pos_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int f_index, void *data)
 
static void extract_fdots_pos_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *data)
 
static void extract_fdots_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_fdots_pos ()
 
Extract Face-dots UV
static void extract_fdots_uv_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_fdots_uv_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_fdots_uv_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
constexpr MeshExtract create_extractor_fdots_uv ()
 
Extract Loop Normal
static void extract_lnor_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_lnor_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *data)
 
static void extract_lnor_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *data)
 
static GPUVertFormatget_subdiv_lnor_format ()
 
static void extract_lnor_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_lnor ()
 
Extract HQ Loop Normal
static void extract_lnor_hq_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_lnor_hq_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *data)
 
static void extract_lnor_hq_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *data)
 
constexpr MeshExtract create_extractor_lnor_hq ()
 
Extract Edit Mesh Analysis Colors
static void extract_mesh_analysis_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
static void axis_from_enum_v3 (float v[3], const char axis)
 
BLI_INLINE float overhang_remap (float fac, float min, float max, float minmax_irange)
 
static void statvis_calc_overhang (const MeshRenderData *mr, float *r_overhang)
 
static void uv_from_jitter_v2 (float uv[2])
 
BLI_INLINE float thickness_remap (float fac, float min, float max, float minmax_irange)
 
static void statvis_calc_thickness (const MeshRenderData *mr, float *r_thickness)
 
static bool bvh_overlap_cb (void *userdata, int index_a, int index_b, int UNUSED(thread))
 
static void statvis_calc_intersect (const MeshRenderData *mr, float *r_intersect)
 
BLI_INLINE float distort_remap (float fac, float min, float UNUSED(max), float minmax_irange)
 
static void statvis_calc_distort (const MeshRenderData *mr, float *r_distort)
 
BLI_INLINE float sharp_remap (float fac, float min, float UNUSED(max), float minmax_irange)
 
static void statvis_calc_sharp (const MeshRenderData *mr, float *r_sharp)
 
static void extract_analysis_iter_finish_mesh (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_mesh_analysis ()
 
Extract Orco
static void extract_orco_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_orco_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *data)
 
static void extract_orco_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *data)
 
constexpr MeshExtract create_extractor_orco ()
 
Extract Position and Vertex Normal
static void extract_pos_nor_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_pos_nor_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_pos_nor_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *_data)
 
static void extract_pos_nor_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *_data)
 
static void extract_pos_nor_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *med, const int ledge_index, void *_data)
 
static void extract_pos_nor_iter_lvert_bm (const MeshRenderData *mr, const BMVert *eve, const int lvert_index, void *_data)
 
static void extract_pos_nor_iter_lvert_mesh (const MeshRenderData *mr, const MVert *mv, const int lvert_index, void *_data)
 
static void extract_pos_nor_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *_data)
 
static GPUVertFormatget_normals_format ()
 
static GPUVertFormatget_custom_normals_format ()
 
static void extract_pos_nor_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
static void extract_pos_nor_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_pos_nor ()
 
Extract Position and High Quality Vertex Normal
static void extract_pos_nor_hq_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_pos_nor_hq_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_pos_nor_hq_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *_data)
 
static void extract_pos_nor_hq_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *_data)
 
static void extract_pos_nor_hq_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *med, const int ledge_index, void *_data)
 
static void extract_pos_nor_hq_iter_lvert_bm (const MeshRenderData *mr, const BMVert *eve, const int lvert_index, void *_data)
 
static void extract_pos_nor_hq_iter_lvert_mesh (const MeshRenderData *mr, const MVert *mv, const int lvert_index, void *_data)
 
static void extract_pos_nor_hq_finish (const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *UNUSED(buf), void *_data)
 
constexpr MeshExtract create_extractor_pos_nor_hq ()
 
Extract Sculpt Data
static GPUVertFormatget_sculpt_data_format ()
 
static void extract_sculpt_data_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
static void extract_sculpt_data_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_sculpt_data ()
 
Extract Selection Index
static void extract_select_idx_init_impl (const MeshRenderData *UNUSED(mr), const int len, void *buf, void *tls_data)
 
static void extract_select_idx_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_poly_idx_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int f_index, void *data)
 
static void extract_edge_idx_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *data)
 
static void extract_vert_idx_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *data)
 
static void extract_edge_idx_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *data)
 
static void extract_vert_idx_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *eed, const int ledge_index, void *data)
 
static void extract_vert_idx_iter_lvert_bm (const MeshRenderData *mr, const BMVert *eve, const int lvert_index, void *data)
 
static void extract_poly_idx_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *data)
 
static void extract_edge_idx_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *data)
 
static void extract_vert_idx_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *data)
 
static void extract_edge_idx_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *UNUSED(med), const int ledge_index, void *data)
 
static void extract_vert_idx_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *med, const int ledge_index, void *data)
 
static void extract_vert_idx_iter_lvert_mesh (const MeshRenderData *mr, const MVert *UNUSED(mv), const int lvert_index, void *data)
 
static void extract_vert_idx_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(data))
 
static void extract_vert_idx_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *buffer, void *UNUSED(data))
 
static void extract_edge_idx_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(data))
 
static void extract_edge_idx_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, void *buffer, void *UNUSED(data))
 
static void extract_poly_idx_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_poly_idx ()
 
constexpr MeshExtract create_extractor_edge_idx ()
 
constexpr MeshExtract create_extractor_vert_idx ()
 
static void extract_fdot_idx_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void extract_fdot_idx_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *UNUSED(f), const int f_index, void *data)
 
static void extract_fdot_idx_iter_poly_mesh (const MeshRenderData *mr, const MPoly *UNUSED(mp), const int mp_index, void *data)
 
constexpr MeshExtract create_extractor_fdot_idx ()
 
Extract Skin Modifier Roots
static void extract_skin_roots_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
constexpr MeshExtract create_extractor_skin_roots ()
 
Extract Tangent layers
static void extract_tan_init_common (const MeshRenderData *mr, MeshBatchCache *cache, GPUVertFormat *format, GPUVertCompType comp_type, GPUVertFetchMode fetch_mode, CustomData *r_loop_data, int *r_v_len, int *r_tan_len, char r_tangent_names[MAX_MTFACE][MAX_CUSTOMDATA_LAYER_NAME], bool *r_use_orco_tan)
 
static void extract_tan_ex_init (const MeshRenderData *mr, MeshBatchCache *cache, GPUVertBuf *vbo, const bool do_hq)
 
static void extract_tan_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data))
 
static GPUVertFormatget_coarse_tan_format ()
 
static void extract_tan_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_tan ()
 
Extract HQ Tangent layers
static void extract_tan_hq_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data))
 
constexpr MeshExtract create_extractor_tan_hq ()
 
Extract UV layers
static bool mesh_extract_uv_format_init (GPUVertFormat *format, MeshBatchCache *cache, CustomData *cd_ldata, eMRExtractType extract_type, uint32_t &r_uv_layers)
 
static void extract_uv_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data))
 
static void extract_uv_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract create_extractor_uv ()
 
Extract Vertex Weight
static float evaluate_vertex_weight (const MDeformVert *dvert, const DRW_MeshWeightState *wstate)
 
static void extract_weights_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *tls_data)
 
static void extract_weights_iter_poly_bm (const MeshRenderData *UNUSED(mr), const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void extract_weights_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int UNUSED(mp_index), void *_data)
 
static void extract_weights_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *_data)
 
constexpr MeshExtract create_extractor_weights ()
 

Typedef Documentation

◆ TaskId

using blender::draw::TaskId = typedef int

Definition at line 45 of file draw_cache_extract_mesh.cc.

◆ TaskLen

using blender::draw::TaskLen = typedef int

Definition at line 46 of file draw_cache_extract_mesh.cc.

Function Documentation

◆ area_ratio_get()

BLI_INLINE float blender::draw::area_ratio_get ( float  area,
float  uvarea 
)

Definition at line 37 of file extract_mesh_vbo_edituv_stretch_area.cc.

References blender::compositor::area().

Referenced by compute_area_ratio().

◆ area_ratio_to_stretch()

BLI_INLINE float blender::draw::area_ratio_to_stretch ( float  ratio,
float  tot_ratio 
)

Definition at line 45 of file extract_mesh_vbo_edituv_stretch_area.cc.

◆ axis_from_enum_v3()

static void blender::draw::axis_from_enum_v3 ( float  v[3],
const char  axis 
)
static

Definition at line 40 of file extract_mesh_vbo_mesh_analysis.cc.

References v, and zero_v3().

Referenced by statvis_calc_overhang().

◆ bvh_overlap_cb()

static bool blender::draw::bvh_overlap_cb ( void userdata,
int  index_a,
int  index_b,
int   UNUSEDthread 
)
static

◆ compute_area_ratio()

static void blender::draw::compute_area_ratio ( const MeshRenderData mr,
float r_area_ratio,
float r_tot_area,
float r_tot_uv_area 
)
static

◆ compute_normalize_edge_vectors()

static void blender::draw::compute_normalize_edge_vectors ( float  auv[2][2],
float  av[2][3],
const float  uv[2],
const float  uv_prev[2],
const float  co[3],
const float  co_prev[3] 
)
static

◆ create_extractor_attr()

template<int Index>
constexpr MeshExtract blender::draw::create_extractor_attr ( ExtractInitFn  fn,
ExtractInitSubdivFn  subdiv_fn 
)
constexpr

◆ create_extractor_edge_fac()

constexpr MeshExtract blender::draw::create_extractor_edge_fac ( )
constexpr

◆ create_extractor_edge_idx()

constexpr MeshExtract blender::draw::create_extractor_edge_idx ( )
constexpr

◆ create_extractor_edit_data()

constexpr MeshExtract blender::draw::create_extractor_edit_data ( )
constexpr

◆ create_extractor_edituv_data()

constexpr MeshExtract blender::draw::create_extractor_edituv_data ( )
constexpr

◆ create_extractor_edituv_edituv_stretch_angle()

constexpr MeshExtract blender::draw::create_extractor_edituv_edituv_stretch_angle ( )
constexpr

◆ create_extractor_edituv_fdots()

constexpr MeshExtract blender::draw::create_extractor_edituv_fdots ( )
constexpr

◆ create_extractor_edituv_lines()

constexpr MeshExtract blender::draw::create_extractor_edituv_lines ( )
constexpr

◆ create_extractor_edituv_points()

constexpr MeshExtract blender::draw::create_extractor_edituv_points ( )
constexpr

◆ create_extractor_edituv_stretch_area()

constexpr MeshExtract blender::draw::create_extractor_edituv_stretch_area ( )
constexpr

◆ create_extractor_edituv_tris()

constexpr MeshExtract blender::draw::create_extractor_edituv_tris ( )
constexpr

◆ create_extractor_fdot_idx()

constexpr MeshExtract blender::draw::create_extractor_fdot_idx ( )
constexpr

◆ create_extractor_fdots()

constexpr MeshExtract blender::draw::create_extractor_fdots ( )
constexpr

◆ create_extractor_fdots_edituv_data()

constexpr MeshExtract blender::draw::create_extractor_fdots_edituv_data ( )
constexpr

◆ create_extractor_fdots_nor()

constexpr MeshExtract blender::draw::create_extractor_fdots_nor ( )
constexpr

◆ create_extractor_fdots_nor_hq()

constexpr MeshExtract blender::draw::create_extractor_fdots_nor_hq ( )
constexpr

◆ create_extractor_fdots_pos()

constexpr MeshExtract blender::draw::create_extractor_fdots_pos ( )
constexpr

◆ create_extractor_fdots_uv()

constexpr MeshExtract blender::draw::create_extractor_fdots_uv ( )
constexpr

◆ create_extractor_lines()

constexpr MeshExtract blender::draw::create_extractor_lines ( )
constexpr

◆ create_extractor_lines_adjacency()

constexpr MeshExtract blender::draw::create_extractor_lines_adjacency ( )
constexpr

◆ create_extractor_lines_loose_only()

constexpr MeshExtract blender::draw::create_extractor_lines_loose_only ( )
constexpr

◆ create_extractor_lines_paint_mask()

constexpr MeshExtract blender::draw::create_extractor_lines_paint_mask ( )
constexpr

◆ create_extractor_lines_with_lines_loose()

constexpr MeshExtract blender::draw::create_extractor_lines_with_lines_loose ( )
constexpr

◆ create_extractor_lnor()

constexpr MeshExtract blender::draw::create_extractor_lnor ( )
constexpr

◆ create_extractor_lnor_hq()

constexpr MeshExtract blender::draw::create_extractor_lnor_hq ( )
constexpr

◆ create_extractor_mesh_analysis()

constexpr MeshExtract blender::draw::create_extractor_mesh_analysis ( )
constexpr

◆ create_extractor_orco()

constexpr MeshExtract blender::draw::create_extractor_orco ( )
constexpr

◆ create_extractor_points()

constexpr MeshExtract blender::draw::create_extractor_points ( )
constexpr

◆ create_extractor_poly_idx()

constexpr MeshExtract blender::draw::create_extractor_poly_idx ( )
constexpr

◆ create_extractor_pos_nor()

constexpr MeshExtract blender::draw::create_extractor_pos_nor ( )
constexpr

◆ create_extractor_pos_nor_hq()

constexpr MeshExtract blender::draw::create_extractor_pos_nor_hq ( )
constexpr

◆ create_extractor_sculpt_data()

constexpr MeshExtract blender::draw::create_extractor_sculpt_data ( )
constexpr

◆ create_extractor_skin_roots()

constexpr MeshExtract blender::draw::create_extractor_skin_roots ( )
constexpr

◆ create_extractor_tan()

constexpr MeshExtract blender::draw::create_extractor_tan ( )
constexpr

◆ create_extractor_tan_hq()

constexpr MeshExtract blender::draw::create_extractor_tan_hq ( )
constexpr

◆ create_extractor_tris()

constexpr MeshExtract blender::draw::create_extractor_tris ( )
constexpr

◆ create_extractor_tris_single_mat()

constexpr MeshExtract blender::draw::create_extractor_tris_single_mat ( )
constexpr

◆ create_extractor_uv()

constexpr MeshExtract blender::draw::create_extractor_uv ( )
constexpr

◆ create_extractor_vert_idx()

constexpr MeshExtract blender::draw::create_extractor_vert_idx ( )
constexpr

◆ create_extractor_weights()

constexpr MeshExtract blender::draw::create_extractor_weights ( )
constexpr

◆ distort_remap()

BLI_INLINE float blender::draw::distort_remap ( float  fac,
float  min,
float   UNUSEDmax,
float  minmax_irange 
)

Definition at line 369 of file extract_mesh_vbo_mesh_analysis.cc.

References CLAMP, and min.

Referenced by statvis_calc_distort().

◆ edituv_edge_add()

BLI_INLINE void blender::draw::edituv_edge_add ( MeshExtract_EditUvElem_Data data,
bool  hidden,
bool  selected,
int  v1,
int  v2 
)

◆ edituv_facedot_add()

BLI_INLINE void blender::draw::edituv_facedot_add ( MeshExtract_EditUvElem_Data data,
bool  hidden,
bool  selected,
int  face_index 
)

◆ edituv_get_edituv_stretch_angle()

static void blender::draw::edituv_get_edituv_stretch_angle ( float  auv[2][2],
const float  av[2][3],
UVStretchAngle r_stretch 
)
static

◆ edituv_point_add()

BLI_INLINE void blender::draw::edituv_point_add ( MeshExtract_EditUvElem_Data data,
bool  hidden,
bool  selected,
int  v1 
)

◆ edituv_tri_add()

BLI_INLINE void blender::draw::edituv_tri_add ( MeshExtract_EditUvElem_Data data,
bool  hidden,
bool  selected,
int  v1,
int  v2,
int  v3 
)

◆ evaluate_vertex_weight()

static float blender::draw::evaluate_vertex_weight ( const MDeformVert dvert,
const DRW_MeshWeightState wstate 
)
static

◆ extract_analysis_iter_finish_mesh()

static void blender::draw::extract_analysis_iter_finish_mesh ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDdata 
)
static

◆ extract_attr_generic()

template<typename AttributeType , typename VBOType = AttributeType>
static void blender::draw::extract_attr_generic ( const MeshRenderData mr,
GPUVertBuf vbo,
const DRW_AttributeRequest request 
)
static

◆ extract_attr_init()

static void blender::draw::extract_attr_init ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void UNUSEDtls_data,
int  index 
)
static

◆ extract_attr_init_subdiv()

static void blender::draw::extract_attr_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buffer,
void UNUSEDtls_data,
int  index 
)
static

◆ extract_edge_fac_finish()

static void blender::draw::extract_edge_fac_finish ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

◆ extract_edge_fac_init()

static void blender::draw::extract_edge_fac_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_edge_fac_init_subdiv()

static void blender::draw::extract_edge_fac_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_edge_fac_iter_ledge_bm()

static void blender::draw::extract_edge_fac_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge UNUSEDeed,
const int  ledge_index,
void _data 
)
static

Definition at line 148 of file extract_mesh_vbo_edge_fac.cc.

References data, and MeshRenderData::loop_len.

Referenced by create_extractor_edge_fac().

◆ extract_edge_fac_iter_ledge_mesh()

static void blender::draw::extract_edge_fac_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge UNUSEDmed,
const int  ledge_index,
void _data 
)
static

Definition at line 158 of file extract_mesh_vbo_edge_fac.cc.

References data, and MeshRenderData::loop_len.

Referenced by create_extractor_edge_fac().

◆ extract_edge_fac_iter_poly_bm()

static void blender::draw::extract_edge_fac_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_edge_fac_iter_poly_mesh()

static void blender::draw::extract_edge_fac_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_edge_fac_loose_geom_subdiv()

static void blender::draw::extract_edge_fac_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
void buffer,
void UNUSEDdata 
)
static

◆ extract_edge_idx_init_subdiv()

static void blender::draw::extract_edge_idx_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDdata 
)
static

◆ extract_edge_idx_iter_ledge_bm()

static void blender::draw::extract_edge_idx_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void data 
)
static

◆ extract_edge_idx_iter_ledge_mesh()

static void blender::draw::extract_edge_idx_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge UNUSEDmed,
const int  ledge_index,
void data 
)
static

◆ extract_edge_idx_iter_poly_bm()

static void blender::draw::extract_edge_idx_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void data 
)
static

◆ extract_edge_idx_iter_poly_mesh()

static void blender::draw::extract_edge_idx_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void data 
)
static

◆ extract_edge_idx_loose_geom_subdiv()

static void blender::draw::extract_edge_idx_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void buffer,
void UNUSEDdata 
)
static

◆ extract_edit_data_init()

static void blender::draw::extract_edit_data_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_edit_data_init_subdiv()

static void blender::draw::extract_edit_data_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void data 
)
static

◆ extract_edit_data_iter_ledge_bm()

static void blender::draw::extract_edit_data_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void _data 
)
static

◆ extract_edit_data_iter_ledge_mesh()

static void blender::draw::extract_edit_data_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge med,
const int  ledge_index,
void _data 
)
static

◆ extract_edit_data_iter_lvert_bm()

static void blender::draw::extract_edit_data_iter_lvert_bm ( const MeshRenderData mr,
const BMVert eve,
const int  lvert_index,
void _data 
)
static

◆ extract_edit_data_iter_lvert_mesh()

static void blender::draw::extract_edit_data_iter_lvert_mesh ( const MeshRenderData mr,
const MVert UNUSEDmv,
const int  lvert_index,
void _data 
)
static

◆ extract_edit_data_iter_poly_bm()

static void blender::draw::extract_edit_data_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_edit_data_iter_poly_mesh()

static void blender::draw::extract_edit_data_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_edit_data_iter_subdiv_bm()

static void blender::draw::extract_edit_data_iter_subdiv_bm ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const BMFace coarse_quad 
)
static

◆ extract_edit_data_iter_subdiv_mesh()

static void blender::draw::extract_edit_data_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly coarse_quad 
)
static

◆ extract_edit_data_loose_geom_subdiv()

static void blender::draw::extract_edit_data_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void UNUSEDbuffer,
void _data 
)
static

◆ extract_edituv_data_init()

static void blender::draw::extract_edituv_data_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_edituv_data_init_common()

static void blender::draw::extract_edituv_data_init_common ( const MeshRenderData mr,
GPUVertBuf vbo,
MeshExtract_EditUVData_Data data,
uint  loop_len 
)
static

◆ extract_edituv_data_init_subdiv()

static void blender::draw::extract_edituv_data_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_edituv_data_iter_poly_bm()

static void blender::draw::extract_edituv_data_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_edituv_data_iter_poly_mesh()

static void blender::draw::extract_edituv_data_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_edituv_data_iter_subdiv_bm()

static void blender::draw::extract_edituv_data_iter_subdiv_bm ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const BMFace coarse_quad 
)
static

◆ extract_edituv_data_iter_subdiv_mesh()

static void blender::draw::extract_edituv_data_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly coarse_quad 
)
static

◆ extract_edituv_fdots_finish()

static void blender::draw::extract_edituv_fdots_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 577 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_fdots().

◆ extract_edituv_fdots_init()

static void blender::draw::extract_edituv_fdots_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_edituv_fdots_iter_poly_bm()

static void blender::draw::extract_edituv_fdots_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int  f_index,
void _data 
)
static

◆ extract_edituv_fdots_iter_poly_mesh()

static void blender::draw::extract_edituv_fdots_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_edituv_lines_finish()

static void blender::draw::extract_edituv_lines_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 237 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_lines().

◆ extract_edituv_lines_finish_subdiv()

static void blender::draw::extract_edituv_lines_finish_subdiv ( const struct DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 321 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_lines().

◆ extract_edituv_lines_init()

static void blender::draw::extract_edituv_lines_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_edituv_lines_init_subdiv()

static void blender::draw::extract_edituv_lines_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_edituv_lines_iter_poly_bm()

static void blender::draw::extract_edituv_lines_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_edituv_lines_iter_poly_mesh()

static void blender::draw::extract_edituv_lines_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_edituv_lines_iter_subdiv_bm()

static void blender::draw::extract_edituv_lines_iter_subdiv_bm ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const BMFace coarse_poly 
)
static

◆ extract_edituv_lines_iter_subdiv_mesh()

static void blender::draw::extract_edituv_lines_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly coarse_poly 
)
static

◆ extract_edituv_points_finish()

static void blender::draw::extract_edituv_points_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 413 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_points().

◆ extract_edituv_points_finish_subdiv()

static void blender::draw::extract_edituv_points_finish_subdiv ( const struct DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 478 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_points().

◆ extract_edituv_points_init()

static void blender::draw::extract_edituv_points_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_edituv_points_init_subdiv()

static void blender::draw::extract_edituv_points_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_edituv_points_iter_poly_bm()

static void blender::draw::extract_edituv_points_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_edituv_points_iter_poly_mesh()

static void blender::draw::extract_edituv_points_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_edituv_points_iter_subdiv_bm()

static void blender::draw::extract_edituv_points_iter_subdiv_bm ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
void _data,
uint  subdiv_quad_index,
const BMFace coarse_quad 
)
static

◆ extract_edituv_points_iter_subdiv_mesh()

static void blender::draw::extract_edituv_points_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly coarse_quad 
)
static

◆ extract_edituv_stretch_angle_init()

static void blender::draw::extract_edituv_stretch_angle_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_edituv_stretch_angle_init_subdiv()

static void blender::draw::extract_edituv_stretch_angle_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buffer,
void UNUSEDtls_data 
)
static

◆ extract_edituv_stretch_angle_iter_poly_bm()

static void blender::draw::extract_edituv_stretch_angle_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_edituv_stretch_angle_iter_poly_mesh()

static void blender::draw::extract_edituv_stretch_angle_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void _data 
)
static

◆ extract_edituv_stretch_area_finish()

static void blender::draw::extract_edituv_stretch_area_finish ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void UNUSEDdata 
)
static

◆ extract_edituv_stretch_area_init()

static void blender::draw::extract_edituv_stretch_area_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_edituv_stretch_area_init_subdiv()

static void blender::draw::extract_edituv_stretch_area_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_edituv_tris_finish()

static void blender::draw::extract_edituv_tris_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 69 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_tris().

◆ extract_edituv_tris_finish_subdiv()

static void blender::draw::extract_edituv_tris_finish_subdiv ( const struct DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

Definition at line 134 of file extract_mesh_ibo_edituv.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_edituv_tris().

◆ extract_edituv_tris_init()

static void blender::draw::extract_edituv_tris_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_edituv_tris_init_subdiv()

static void blender::draw::extract_edituv_tris_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_edituv_tris_iter_looptri_bm()

static void blender::draw::extract_edituv_tris_iter_looptri_bm ( const MeshRenderData UNUSEDmr,
BMLoop **  elt,
const int   UNUSEDelt_index,
void _data 
)
static

◆ extract_edituv_tris_iter_looptri_mesh()

static void blender::draw::extract_edituv_tris_iter_looptri_mesh ( const MeshRenderData mr,
const MLoopTri mlt,
const int   UNUSEDelt_index,
void _data 
)
static

◆ extract_edituv_tris_iter_subdiv_bm()

static void blender::draw::extract_edituv_tris_iter_subdiv_bm ( const DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData UNUSEDmr,
void _data,
uint  subdiv_quad_index,
const BMFace coarse_quad 
)
static

◆ extract_edituv_tris_iter_subdiv_mesh()

static void blender::draw::extract_edituv_tris_iter_subdiv_mesh ( const DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly coarse_quad 
)
static

◆ extract_fdot_idx_init()

static void blender::draw::extract_fdot_idx_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_fdot_idx_iter_poly_bm()

static void blender::draw::extract_fdot_idx_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace UNUSEDf,
const int  f_index,
void data 
)
static

Definition at line 376 of file extract_mesh_vbo_select_idx.cc.

References data.

Referenced by create_extractor_fdot_idx().

◆ extract_fdot_idx_iter_poly_mesh()

static void blender::draw::extract_fdot_idx_iter_poly_mesh ( const MeshRenderData mr,
const MPoly UNUSEDmp,
const int  mp_index,
void data 
)
static

Definition at line 384 of file extract_mesh_vbo_select_idx.cc.

References data, and MeshRenderData::p_origindex.

Referenced by create_extractor_fdot_idx().

◆ extract_fdots_edituv_data_init()

static void blender::draw::extract_fdots_edituv_data_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_fdots_edituv_data_iter_poly_bm()

static void blender::draw::extract_fdots_edituv_data_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_fdots_edituv_data_iter_poly_mesh()

static void blender::draw::extract_fdots_edituv_data_iter_poly_mesh ( const MeshRenderData mr,
const MPoly UNUSEDmp,
const int  mp_index,
void _data 
)
static

◆ extract_fdots_finish()

static void blender::draw::extract_fdots_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _userdata 
)
static

Definition at line 70 of file extract_mesh_ibo_fdots.cc.

References GPU_indexbuf_build_in_place().

Referenced by create_extractor_fdots().

◆ extract_fdots_init()

static void blender::draw::extract_fdots_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_fdots_init_subdiv()

static void blender::draw::extract_fdots_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_fdots_iter_poly_bm()

static void blender::draw::extract_fdots_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int  f_index,
void _userdata 
)
static

◆ extract_fdots_iter_poly_mesh()

static void blender::draw::extract_fdots_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _userdata 
)
static

◆ extract_fdots_nor_finish()

static void blender::draw::extract_fdots_nor_finish ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDdata 
)
static

◆ extract_fdots_nor_hq_finish()

static void blender::draw::extract_fdots_nor_hq_finish ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDdata 
)
static

◆ extract_fdots_nor_hq_init()

static void blender::draw::extract_fdots_nor_hq_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_fdots_nor_init()

static void blender::draw::extract_fdots_nor_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_fdots_pos_init()

static void blender::draw::extract_fdots_pos_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_fdots_pos_iter_poly_bm()

static void blender::draw::extract_fdots_pos_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int  f_index,
void data 
)
static

◆ extract_fdots_pos_iter_poly_mesh()

static void blender::draw::extract_fdots_pos_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void data 
)
static

◆ extract_fdots_uv_init()

static void blender::draw::extract_fdots_uv_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_fdots_uv_iter_poly_bm()

static void blender::draw::extract_fdots_uv_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_fdots_uv_iter_poly_mesh()

static void blender::draw::extract_fdots_uv_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_finish()

BLI_INLINE void blender::draw::extract_finish ( const MeshRenderData mr,
MeshBatchCache cache,
const ExtractorRunDatas extractors,
void data_stack 
)

Definition at line 211 of file draw_cache_extract_mesh.cc.

References MeshExtract::finish, and POINTER_OFFSET.

Referenced by extract_task_range_run().

◆ extract_init()

BLI_INLINE void blender::draw::extract_init ( const MeshRenderData mr,
MeshBatchCache cache,
ExtractorRunDatas extractors,
MeshBufferList mbuflist,
void data_stack 
)

◆ extract_lines_adjacency_finish()

static void blender::draw::extract_lines_adjacency_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buf,
void _data 
)
static

◆ extract_lines_adjacency_finish_subdiv()

static void blender::draw::extract_lines_adjacency_finish_subdiv ( const DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void _data 
)
static

◆ extract_lines_adjacency_init()

static void blender::draw::extract_lines_adjacency_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_lines_adjacency_init_subdiv()

static void blender::draw::extract_lines_adjacency_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void _data 
)
static

◆ extract_lines_adjacency_iter_looptri_bm()

static void blender::draw::extract_lines_adjacency_iter_looptri_bm ( const MeshRenderData UNUSEDmr,
BMLoop **  elt,
const int   UNUSEDelt_index,
void _data 
)
static

◆ extract_lines_adjacency_iter_looptri_mesh()

static void blender::draw::extract_lines_adjacency_iter_looptri_mesh ( const MeshRenderData mr,
const MLoopTri mlt,
const int   UNUSEDelt_index,
void _data 
)
static

◆ extract_lines_adjacency_iter_subdiv()

static void blender::draw::extract_lines_adjacency_iter_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
void _data,
uint  subdiv_quad_index 
)
static

◆ extract_lines_adjacency_iter_subdiv_bm()

static void blender::draw::extract_lines_adjacency_iter_subdiv_bm ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const BMFace UNUSEDcoarse_quad 
)
static

◆ extract_lines_adjacency_iter_subdiv_mesh()

static void blender::draw::extract_lines_adjacency_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly UNUSEDcoarse_quad 
)
static

◆ extract_lines_finish()

static void blender::draw::extract_lines_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void data 
)
static

Definition at line 134 of file extract_mesh_ibo_lines.cc.

References data, and GPU_indexbuf_build_in_place().

Referenced by create_extractor_lines().

◆ extract_lines_init()

static void blender::draw::extract_lines_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_lines_init_subdiv()

static void blender::draw::extract_lines_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_lines_iter_ledge_bm()

static void blender::draw::extract_lines_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void data 
)
static

◆ extract_lines_iter_ledge_mesh()

static void blender::draw::extract_lines_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge med,
const int  ledge_index,
void data 
)
static

◆ extract_lines_iter_poly_bm()

static void blender::draw::extract_lines_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void data 
)
static

◆ extract_lines_iter_poly_mesh()

static void blender::draw::extract_lines_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void data 
)
static

◆ extract_lines_loose_geom_subdiv()

static void blender::draw::extract_lines_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void buffer,
void UNUSEDdata 
)
static

◆ extract_lines_loose_only_init()

static void blender::draw::extract_lines_loose_only_init ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_lines_loose_only_init_subdiv()

static void blender::draw::extract_lines_loose_only_init_subdiv ( const DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_lines_loose_subbuffer()

static void blender::draw::extract_lines_loose_subbuffer ( const MeshRenderData mr,
MeshBatchCache cache 
)
static

◆ extract_lines_paint_mask_finish()

static void blender::draw::extract_lines_paint_mask_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _data 
)
static

◆ extract_lines_paint_mask_finish_subdiv()

static void blender::draw::extract_lines_paint_mask_finish_subdiv ( const struct DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void _data 
)
static

◆ extract_lines_paint_mask_init()

static void blender::draw::extract_lines_paint_mask_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_lines_paint_mask_init_subdiv()

static void blender::draw::extract_lines_paint_mask_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_lines_paint_mask_iter_poly_mesh()

static void blender::draw::extract_lines_paint_mask_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void _data 
)
static

◆ extract_lines_paint_mask_iter_subdiv_mesh()

static void blender::draw::extract_lines_paint_mask_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly coarse_quad 
)
static

◆ extract_lines_task_reduce()

static void blender::draw::extract_lines_task_reduce ( void _userdata_to,
void _userdata_from 
)
static

◆ extract_lines_with_lines_loose_finish()

static void blender::draw::extract_lines_with_lines_loose_finish ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void data 
)
static

◆ extract_lines_with_lines_loose_finish_subdiv()

static void blender::draw::extract_lines_with_lines_loose_finish_subdiv ( const struct DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void UNUSEDbuf,
void UNUSED_data 
)
static

◆ extract_lnor_hq_init()

static void blender::draw::extract_lnor_hq_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_lnor_hq_iter_poly_bm()

static void blender::draw::extract_lnor_hq_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void data 
)
static

◆ extract_lnor_hq_iter_poly_mesh()

static void blender::draw::extract_lnor_hq_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void data 
)
static

◆ extract_lnor_init()

static void blender::draw::extract_lnor_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_lnor_init_subdiv()

static void blender::draw::extract_lnor_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_lnor_iter_poly_bm()

static void blender::draw::extract_lnor_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void data 
)
static

◆ extract_lnor_iter_poly_mesh()

static void blender::draw::extract_lnor_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void data 
)
static

◆ extract_mesh_analysis_init()

static void blender::draw::extract_mesh_analysis_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_orco_init()

static void blender::draw::extract_orco_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_orco_iter_poly_bm()

static void blender::draw::extract_orco_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void data 
)
static

◆ extract_orco_iter_poly_mesh()

static void blender::draw::extract_orco_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void data 
)
static

◆ extract_points_finish()

static void blender::draw::extract_points_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _userdata 
)
static

Definition at line 133 of file extract_mesh_ibo_points.cc.

References GPU_indexbuf_build_in_place().

Referenced by create_extractor_points().

◆ extract_points_finish_subdiv()

static void blender::draw::extract_points_finish_subdiv ( const DRWSubdivCache UNUSEDsubdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void buf,
void _userdata 
)
static

Definition at line 286 of file extract_mesh_ibo_points.cc.

References GPU_indexbuf_build_in_place().

Referenced by create_extractor_points().

◆ extract_points_init()

static void blender::draw::extract_points_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void tls_data 
)
static

◆ extract_points_init_subdiv()

static void blender::draw::extract_points_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuffer,
void data 
)
static

◆ extract_points_iter_ledge_bm()

static void blender::draw::extract_points_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void _userdata 
)
static

◆ extract_points_iter_ledge_mesh()

static void blender::draw::extract_points_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge med,
const int  ledge_index,
void _userdata 
)
static

◆ extract_points_iter_lvert_bm()

static void blender::draw::extract_points_iter_lvert_bm ( const MeshRenderData mr,
const BMVert eve,
const int  lvert_index,
void _userdata 
)
static

◆ extract_points_iter_lvert_mesh()

static void blender::draw::extract_points_iter_lvert_mesh ( const MeshRenderData mr,
const MVert UNUSEDmv,
const int  lvert_index,
void _userdata 
)
static

◆ extract_points_iter_poly_bm()

static void blender::draw::extract_points_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void _userdata 
)
static

◆ extract_points_iter_poly_mesh()

static void blender::draw::extract_points_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void _userdata 
)
static

◆ extract_points_iter_subdiv_bm()

static void blender::draw::extract_points_iter_subdiv_bm ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const BMFace UNUSEDcoarse_quad 
)
static

Definition at line 195 of file extract_mesh_ibo_points.cc.

References extract_points_iter_subdiv_common().

Referenced by create_extractor_points().

◆ extract_points_iter_subdiv_common()

static void blender::draw::extract_points_iter_subdiv_common ( GPUIndexBufBuilder elb,
const MeshRenderData mr,
const DRWSubdivCache subdiv_cache,
uint  subdiv_quad_index,
bool  for_bmesh 
)
static

◆ extract_points_iter_subdiv_mesh()

static void blender::draw::extract_points_iter_subdiv_mesh ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void _data,
uint  subdiv_quad_index,
const MPoly UNUSEDcoarse_quad 
)
static

Definition at line 205 of file extract_mesh_ibo_points.cc.

References extract_points_iter_subdiv_common().

Referenced by create_extractor_points().

◆ extract_points_loose_geom_subdiv()

static void blender::draw::extract_points_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void UNUSEDbuffer,
void data 
)
static

◆ extract_points_task_reduce()

static void blender::draw::extract_points_task_reduce ( void _userdata_to,
void _userdata_from 
)
static

Definition at line 126 of file extract_mesh_ibo_points.cc.

References GPU_indexbuf_join().

Referenced by create_extractor_points().

◆ extract_poly_idx_init_subdiv()

static void blender::draw::extract_poly_idx_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDdata 
)
static

◆ extract_poly_idx_iter_poly_bm()

static void blender::draw::extract_poly_idx_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int  f_index,
void data 
)
static

◆ extract_poly_idx_iter_poly_mesh()

static void blender::draw::extract_poly_idx_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void data 
)
static

◆ extract_pos_nor_finish()

static void blender::draw::extract_pos_nor_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void _data 
)
static

Definition at line 173 of file extract_mesh_vbo_pos_nor.cc.

References data, and MEM_freeN.

Referenced by create_extractor_pos_nor().

◆ extract_pos_nor_hq_finish()

static void blender::draw::extract_pos_nor_hq_finish ( const MeshRenderData UNUSEDmr,
MeshBatchCache UNUSEDcache,
void UNUSEDbuf,
void _data 
)
static

Definition at line 523 of file extract_mesh_vbo_pos_nor.cc.

References data, and MEM_freeN.

Referenced by create_extractor_pos_nor_hq().

◆ extract_pos_nor_hq_init()

static void blender::draw::extract_pos_nor_hq_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_pos_nor_hq_iter_ledge_bm()

static void blender::draw::extract_pos_nor_hq_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void _data 
)
static

◆ extract_pos_nor_hq_iter_ledge_mesh()

static void blender::draw::extract_pos_nor_hq_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge med,
const int  ledge_index,
void _data 
)
static

◆ extract_pos_nor_hq_iter_lvert_bm()

static void blender::draw::extract_pos_nor_hq_iter_lvert_bm ( const MeshRenderData mr,
const BMVert eve,
const int  lvert_index,
void _data 
)
static

◆ extract_pos_nor_hq_iter_lvert_mesh()

static void blender::draw::extract_pos_nor_hq_iter_lvert_mesh ( const MeshRenderData mr,
const MVert mv,
const int  lvert_index,
void _data 
)
static

◆ extract_pos_nor_hq_iter_poly_bm()

static void blender::draw::extract_pos_nor_hq_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_pos_nor_hq_iter_poly_mesh()

static void blender::draw::extract_pos_nor_hq_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void _data 
)
static

◆ extract_pos_nor_init()

static void blender::draw::extract_pos_nor_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_pos_nor_init_subdiv()

static void blender::draw::extract_pos_nor_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_pos_nor_iter_ledge_bm()

static void blender::draw::extract_pos_nor_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void _data 
)
static

◆ extract_pos_nor_iter_ledge_mesh()

static void blender::draw::extract_pos_nor_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge med,
const int  ledge_index,
void _data 
)
static

◆ extract_pos_nor_iter_lvert_bm()

static void blender::draw::extract_pos_nor_iter_lvert_bm ( const MeshRenderData mr,
const BMVert eve,
const int  lvert_index,
void _data 
)
static

◆ extract_pos_nor_iter_lvert_mesh()

static void blender::draw::extract_pos_nor_iter_lvert_mesh ( const MeshRenderData mr,
const MVert mv,
const int  lvert_index,
void _data 
)
static

◆ extract_pos_nor_iter_poly_bm()

static void blender::draw::extract_pos_nor_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_pos_nor_iter_poly_mesh()

static void blender::draw::extract_pos_nor_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void _data 
)
static

◆ extract_pos_nor_loose_geom_subdiv()

static void blender::draw::extract_pos_nor_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
void buffer,
void UNUSEDdata 
)
static

◆ extract_range_iter_ledge_bm()

static void blender::draw::extract_range_iter_ledge_bm ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_ledge_mesh()

static void blender::draw::extract_range_iter_ledge_mesh ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_looptri_bm()

static void blender::draw::extract_range_iter_looptri_bm ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_looptri_mesh()

static void blender::draw::extract_range_iter_looptri_mesh ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_lvert_bm()

static void blender::draw::extract_range_iter_lvert_bm ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_lvert_mesh()

static void blender::draw::extract_range_iter_lvert_mesh ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_poly_bm()

static void blender::draw::extract_range_iter_poly_bm ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_range_iter_poly_mesh()

static void blender::draw::extract_range_iter_poly_mesh ( void *__restrict  userdata,
const int  iter,
const TaskParallelTLS *__restrict  tls 
)
static

◆ extract_sculpt_data_init()

static void blender::draw::extract_sculpt_data_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_sculpt_data_init_subdiv()

static void blender::draw::extract_sculpt_data_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_select_idx_init()

static void blender::draw::extract_select_idx_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void tls_data 
)
static

◆ extract_select_idx_init_impl()

static void blender::draw::extract_select_idx_init_impl ( const MeshRenderData UNUSEDmr,
const int  len,
void buf,
void tls_data 
)
static

◆ extract_skin_roots_init()

static void blender::draw::extract_skin_roots_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_tan_ex_init()

static void blender::draw::extract_tan_ex_init ( const MeshRenderData mr,
MeshBatchCache cache,
GPUVertBuf vbo,
const bool  do_hq 
)
static

◆ extract_tan_hq_init()

static void blender::draw::extract_tan_hq_init ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void UNUSEDtls_data 
)
static

Definition at line 346 of file extract_mesh_vbo_tan.cc.

References extract_tan_ex_init().

Referenced by create_extractor_tan_hq().

◆ extract_tan_init()

static void blender::draw::extract_tan_init ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void UNUSEDtls_data 
)
static

Definition at line 237 of file extract_mesh_vbo_tan.cc.

References extract_tan_ex_init().

Referenced by create_extractor_tan().

◆ extract_tan_init_common()

static void blender::draw::extract_tan_init_common ( const MeshRenderData mr,
MeshBatchCache cache,
GPUVertFormat format,
GPUVertCompType  comp_type,
GPUVertFetchMode  fetch_mode,
CustomData r_loop_data,
int *  r_v_len,
int *  r_tan_len,
char  r_tangent_names[MAX_MTFACE][MAX_CUSTOMDATA_LAYER_NAME],
bool r_use_orco_tan 
)
static

◆ extract_tan_init_subdiv()

static void blender::draw::extract_tan_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_task_data_free()

static void blender::draw::extract_task_data_free ( void data)
static

Definition at line 183 of file draw_cache_extract_mesh.cc.

References data.

Referenced by extract_task_node_create().

◆ extract_task_node_create()

static struct TaskNode* blender::draw::extract_task_node_create ( struct TaskGraph task_graph,
const MeshRenderData mr,
MeshBatchCache cache,
ExtractorRunDatas extractors,
MeshBufferList mbuflist,
const bool  use_threading 
)
static

◆ extract_task_range_run()

static void blender::draw::extract_task_range_run ( void *__restrict  taskdata)
static

◆ extract_task_range_run_iter()

BLI_INLINE void blender::draw::extract_task_range_run_iter ( const MeshRenderData mr,
ExtractorRunDatas extractors,
const eMRIterType  iter_type,
bool  is_mesh,
TaskParallelSettings settings 
)

◆ extract_task_reduce()

static void blender::draw::extract_task_reduce ( const void *__restrict  userdata,
void *__restrict  chunk_to,
void *__restrict  chunk_from 
)
static

◆ extract_tris_finish()

static void blender::draw::extract_tris_finish ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void _data 
)
static

◆ extract_tris_init()

static void blender::draw::extract_tris_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_tris_init_subdiv()

static void blender::draw::extract_tris_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_tris_iter_poly_bm()

static void blender::draw::extract_tris_iter_poly_bm ( const MeshRenderData mr,
const BMFace f,
const int  f_index,
void _data 
)
static

◆ extract_tris_iter_poly_mesh()

static void blender::draw::extract_tris_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int  mp_index,
void _data 
)
static

◆ extract_tris_mat_task_reduce()

static void blender::draw::extract_tris_mat_task_reduce ( void _userdata_to,
void _userdata_from 
)
static

◆ extract_tris_single_mat_finish()

static void blender::draw::extract_tris_single_mat_finish ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void _data 
)
static

◆ extract_tris_single_mat_init()

static void blender::draw::extract_tris_single_mat_init ( const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void UNUSEDibo,
void tls_data 
)
static

◆ extract_tris_single_mat_iter_looptri_bm()

static void blender::draw::extract_tris_single_mat_iter_looptri_bm ( const MeshRenderData UNUSEDmr,
BMLoop **  elt,
const int  elt_index,
void _data 
)
static

◆ extract_tris_single_mat_iter_looptri_mesh()

static void blender::draw::extract_tris_single_mat_iter_looptri_mesh ( const MeshRenderData mr,
const MLoopTri mlt,
const int  mlt_index,
void _data 
)
static

◆ extract_uv_init()

static void blender::draw::extract_uv_init ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void UNUSEDtls_data 
)
static

◆ extract_uv_init_subdiv()

static void blender::draw::extract_uv_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData UNUSEDmr,
MeshBatchCache cache,
void buffer,
void UNUSEDdata 
)
static

◆ extract_vert_idx_init_subdiv()

static void blender::draw::extract_vert_idx_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache UNUSEDcache,
void buf,
void UNUSEDdata 
)
static

◆ extract_vert_idx_iter_ledge_bm()

static void blender::draw::extract_vert_idx_iter_ledge_bm ( const MeshRenderData mr,
const BMEdge eed,
const int  ledge_index,
void data 
)
static

◆ extract_vert_idx_iter_ledge_mesh()

static void blender::draw::extract_vert_idx_iter_ledge_mesh ( const MeshRenderData mr,
const MEdge med,
const int  ledge_index,
void data 
)
static

◆ extract_vert_idx_iter_lvert_bm()

static void blender::draw::extract_vert_idx_iter_lvert_bm ( const MeshRenderData mr,
const BMVert eve,
const int  lvert_index,
void data 
)
static

◆ extract_vert_idx_iter_lvert_mesh()

static void blender::draw::extract_vert_idx_iter_lvert_mesh ( const MeshRenderData mr,
const MVert UNUSEDmv,
const int  lvert_index,
void data 
)
static

◆ extract_vert_idx_iter_poly_bm()

static void blender::draw::extract_vert_idx_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void data 
)
static

◆ extract_vert_idx_iter_poly_mesh()

static void blender::draw::extract_vert_idx_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void data 
)
static

◆ extract_vert_idx_loose_geom_subdiv()

static void blender::draw::extract_vert_idx_loose_geom_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
void buffer,
void UNUSEDdata 
)
static

◆ extract_weights_init()

static void blender::draw::extract_weights_init ( const MeshRenderData mr,
MeshBatchCache cache,
void buf,
void tls_data 
)
static

◆ extract_weights_init_subdiv()

static void blender::draw::extract_weights_init_subdiv ( const DRWSubdivCache subdiv_cache,
const MeshRenderData mr,
MeshBatchCache cache,
void buffer,
void _data 
)
static

◆ extract_weights_iter_poly_bm()

static void blender::draw::extract_weights_iter_poly_bm ( const MeshRenderData UNUSEDmr,
const BMFace f,
const int   UNUSEDf_index,
void _data 
)
static

◆ extract_weights_iter_poly_mesh()

static void blender::draw::extract_weights_iter_poly_mesh ( const MeshRenderData mr,
const MPoly mp,
const int   UNUSEDmp_index,
void _data 
)
static

◆ fill_vertbuf_with_attribute()

template<typename AttributeType , typename VBOType >
static void blender::draw::fill_vertbuf_with_attribute ( const MeshRenderData mr,
VBOType *  vbo_data,
const DRW_AttributeRequest request 
)
static

◆ fill_vertbuf_with_attribute_bm()

template<typename AttributeType , typename VBOType >
static void blender::draw::fill_vertbuf_with_attribute_bm ( const MeshRenderData mr,
VBOType *&  vbo_data,
const DRW_AttributeRequest request 
)
static

◆ get_coarse_tan_format()

static GPUVertFormat* blender::draw::get_coarse_tan_format ( )
static

◆ get_comp_type_for_type()

static GPUVertCompType blender::draw::get_comp_type_for_type ( eCustomDataType  type)
static

◆ get_custom_data_for_domain()

static CustomData* blender::draw::get_custom_data_for_domain ( const MeshRenderData mr,
eAttrDomain  domain 
)
static

◆ get_custom_normals_format()

static GPUVertFormat* blender::draw::get_custom_normals_format ( )
static

◆ get_edit_data_format()

static GPUVertFormat* blender::draw::get_edit_data_format ( )
static

◆ get_edituv_stretch_angle_format_subdiv()

static GPUVertFormat* blender::draw::get_edituv_stretch_angle_format_subdiv ( )
static

◆ get_fdots_nor_format_subdiv()

static GPUVertFormat* blender::draw::get_fdots_nor_format_subdiv ( )
static

◆ get_fdots_pos_format()

static GPUVertFormat* blender::draw::get_fdots_pos_format ( )
static

◆ get_fetch_mode_for_type()

static GPUVertFetchMode blender::draw::get_fetch_mode_for_type ( eCustomDataType  type)
static

◆ get_normals_format()

static GPUVertFormat* blender::draw::get_normals_format ( )
static

◆ get_sculpt_data_format()

static GPUVertFormat* blender::draw::get_sculpt_data_format ( )
static

◆ get_subdiv_edge_fac_format()

static GPUVertFormat* blender::draw::get_subdiv_edge_fac_format ( )
static

◆ get_subdiv_lnor_format()

static GPUVertFormat* blender::draw::get_subdiv_lnor_format ( )
static

◆ gpu_component_size_for_attribute_type()

static uint blender::draw::gpu_component_size_for_attribute_type ( eCustomDataType  type)
static

◆ init_vbo_for_attribute()

static void blender::draw::init_vbo_for_attribute ( const MeshRenderData mr,
GPUVertBuf vbo,
const DRW_AttributeRequest request,
bool  build_on_device,
uint32_t  len 
)
static

◆ line_adjacency_data_init()

static void blender::draw::line_adjacency_data_init ( MeshExtract_LineAdjacency_Data data,
uint  vert_len,
uint  loop_len,
uint  tess_edge_len 
)
static

◆ lines_adjacency_triangle()

BLI_INLINE void blender::draw::lines_adjacency_triangle ( uint  v1,
uint  v2,
uint  v3,
uint  l1,
uint  l2,
uint  l3,
MeshExtract_LineAdjacency_Data data 
)

◆ loop_edge_factor_get()

static float blender::draw::loop_edge_factor_get ( const float  f_no[3],
const float  v_co[3],
const float  v_no[3],
const float  v_next_co[3] 
)
static

◆ mesh_buffer_cache_create_requested()

void blender::draw::mesh_buffer_cache_create_requested ( TaskGraph task_graph,
MeshBatchCache cache,
MeshBufferCache mbc,
Object object,
Mesh me,
bool  is_editmode,
bool  is_paint_mode,
bool  is_mode_active,
const float  obmat[4][4],
bool  do_final,
bool  do_uvedit,
const Scene scene,
const ToolSettings ts,
bool  use_hide 
)

◆ mesh_buffer_cache_create_requested_subdiv()

void blender::draw::mesh_buffer_cache_create_requested_subdiv ( MeshBatchCache cache,
MeshBufferCache mbc,
DRWSubdivCache subdiv_cache,
MeshRenderData mr 
)

◆ mesh_extract_render_data_node_create()

static struct TaskNode* blender::draw::mesh_extract_render_data_node_create ( struct TaskGraph task_graph,
MeshRenderData mr,
MeshBufferCache cache,
const eMRIterType  iter_type,
const eMRDataType  data_flag 
)
static

◆ mesh_extract_render_data_node_exec()

static void blender::draw::mesh_extract_render_data_node_exec ( void *__restrict  task_data)
static

◆ mesh_extract_uv_format_init()

static bool blender::draw::mesh_extract_uv_format_init ( GPUVertFormat format,
MeshBatchCache cache,
CustomData cd_ldata,
eMRExtractType  extract_type,
uint32_t r_uv_layers 
)
static

◆ mesh_render_data_edge_flag()

static void blender::draw::mesh_render_data_edge_flag ( const MeshRenderData mr,
const BMEdge eed,
EditLoopData eattr 
)
static

◆ mesh_render_data_update_task_data_free()

static void blender::draw::mesh_render_data_update_task_data_free ( void data)
static

Definition at line 510 of file draw_cache_extract_mesh.cc.

References BLI_assert, and data.

Referenced by mesh_extract_render_data_node_create().

◆ mesh_render_data_vert_flag()

static void blender::draw::mesh_render_data_vert_flag ( const MeshRenderData mr,
const BMVert eve,
EditLoopData eattr 
)
static

◆ overhang_remap()

BLI_INLINE float blender::draw::overhang_remap ( float  fac,
float  min,
float  max,
float  minmax_irange 
)

Definition at line 51 of file extract_mesh_vbo_mesh_analysis.cc.

References CLAMP, max, and min.

Referenced by statvis_calc_overhang().

◆ sharp_remap()

BLI_INLINE float blender::draw::sharp_remap ( float  fac,
float  min,
float   UNUSEDmax,
float  minmax_irange 
)

Definition at line 476 of file extract_mesh_vbo_mesh_analysis.cc.

References CLAMP, and min.

Referenced by statvis_calc_sharp().

◆ statvis_calc_distort()

static void blender::draw::statvis_calc_distort ( const MeshRenderData mr,
float r_distort 
)
static

◆ statvis_calc_intersect()

static void blender::draw::statvis_calc_intersect ( const MeshRenderData mr,
float r_intersect 
)
static

◆ statvis_calc_overhang()

static void blender::draw::statvis_calc_overhang ( const MeshRenderData mr,
float r_overhang 
)
static

◆ statvis_calc_sharp()

static void blender::draw::statvis_calc_sharp ( const MeshRenderData mr,
float r_sharp 
)
static

◆ statvis_calc_thickness()

static void blender::draw::statvis_calc_thickness ( const MeshRenderData mr,
float r_thickness 
)
static

◆ test_basic_glsl_shaders()

static void blender::draw::test_basic_glsl_shaders ( )
static

◆ test_draw_glsl_shaders()

static void blender::draw::test_draw_glsl_shaders ( )
static

◆ test_draw_shaders()

static void blender::draw::test_draw_shaders ( eParticleRefineShaderType  sh_type)
static

◆ test_eevee_glsl_shaders_static()

static void blender::draw::test_eevee_glsl_shaders_static ( )
static

Definition at line 288 of file shaders_test.cc.

References DOF_GATHER_BACKGROUND, DOF_GATHER_FOREGROUND, DOF_GATHER_HOLEFILL, EEVEE_shaders_bloom_blit_get(), EEVEE_shaders_bloom_downsample_get(), EEVEE_shaders_bloom_resolve_get(), EEVEE_shaders_bloom_upsample_get(), EEVEE_shaders_cryptomatte_sh_get(), EEVEE_shaders_depth_of_field_bokeh_get(), EEVEE_shaders_depth_of_field_dilate_tiles_get(), EEVEE_shaders_depth_of_field_downsample_get(), EEVEE_shaders_depth_of_field_filter_get(), EEVEE_shaders_depth_of_field_flatten_tiles_get(), EEVEE_shaders_depth_of_field_gather_get(), EEVEE_shaders_depth_of_field_reduce_get(), EEVEE_shaders_depth_of_field_resolve_get(), EEVEE_shaders_depth_of_field_scatter_get(), EEVEE_shaders_depth_of_field_setup_get(), EEVEE_shaders_effect_ambient_occlusion_debug_sh_get(), EEVEE_shaders_effect_ambient_occlusion_sh_get(), EEVEE_shaders_effect_downsample_cube_sh_get(), EEVEE_shaders_effect_downsample_sh_get(), EEVEE_shaders_effect_maxz_copydepth_layer_sh_get(), EEVEE_shaders_effect_maxz_copydepth_sh_get(), EEVEE_shaders_effect_maxz_downdepth_layer_sh_get(), EEVEE_shaders_effect_maxz_downdepth_sh_get(), EEVEE_shaders_effect_maxz_downlevel_sh_get(), EEVEE_shaders_effect_minz_copydepth_sh_get(), EEVEE_shaders_effect_minz_downdepth_layer_sh_get(), EEVEE_shaders_effect_minz_downdepth_sh_get(), EEVEE_shaders_effect_minz_downlevel_sh_get(), EEVEE_shaders_effect_mist_sh_get(), EEVEE_shaders_effect_motion_blur_hair_sh_get(), EEVEE_shaders_effect_motion_blur_object_sh_get(), EEVEE_shaders_effect_motion_blur_sh_get(), EEVEE_shaders_effect_motion_blur_velocity_tiles_expand_sh_get(), EEVEE_shaders_effect_motion_blur_velocity_tiles_sh_get(), EEVEE_shaders_effect_reflection_resolve_sh_get(), EEVEE_shaders_effect_reflection_trace_sh_get(), EEVEE_shaders_free(), EEVEE_shaders_ggx_lut_sh_get(), EEVEE_shaders_ggx_refraction_lut_sh_get(), EEVEE_shaders_material_shaders_init(), EEVEE_shaders_probe_cube_display_sh_get(), EEVEE_shaders_probe_filter_diffuse_sh_get(), EEVEE_shaders_probe_filter_glossy_sh_get(), EEVEE_shaders_probe_filter_visibility_sh_get(), EEVEE_shaders_probe_grid_display_sh_get(), EEVEE_shaders_probe_grid_fill_sh_get(), EEVEE_shaders_probe_planar_display_sh_get(), EEVEE_shaders_probe_planar_downsample_sh_get(), EEVEE_shaders_renderpasses_post_process_sh_get(), EEVEE_shaders_shadow_accum_sh_get(), EEVEE_shaders_shadow_sh_get(), EEVEE_shaders_studiolight_background_sh_get(), EEVEE_shaders_studiolight_probe_sh_get(), EEVEE_shaders_subsurface_first_pass_sh_get(), EEVEE_shaders_subsurface_second_pass_sh_get(), EEVEE_shaders_taa_resolve_sh_get(), EEVEE_shaders_update_noise_sh_get(), EEVEE_shaders_velocity_resolve_sh_get(), EEVEE_shaders_volumes_accum_sh_get(), EEVEE_shaders_volumes_clear_sh_get(), EEVEE_shaders_volumes_integration_sh_get(), EEVEE_shaders_volumes_resolve_sh_get(), EEVEE_shaders_volumes_scatter_sh_get(), EEVEE_shaders_volumes_scatter_with_lights_sh_get(), EFFECT_TAA, and EFFECT_TAA_REPROJECT.

◆ test_gpencil_glsl_shaders()

static void blender::draw::test_gpencil_glsl_shaders ( )
static

◆ test_image_glsl_shaders()

static void blender::draw::test_image_glsl_shaders ( )
static

◆ test_overlay_glsl_shaders()

static void blender::draw::test_overlay_glsl_shaders ( )
static

Definition at line 193 of file shaders_test.cc.

References GPU_SHADER_CFG_CLIPPED, GPU_SHADER_CFG_DEFAULT, OVERLAY_shader_antialiasing(), OVERLAY_shader_armature_degrees_of_freedom_solid(), OVERLAY_shader_armature_degrees_of_freedom_wire(), OVERLAY_shader_armature_envelope(), OVERLAY_shader_armature_shape(), OVERLAY_shader_armature_shape_wire(), OVERLAY_shader_armature_sphere(), OVERLAY_shader_armature_stick(), OVERLAY_shader_armature_wire(), OVERLAY_shader_background(), OVERLAY_shader_clipbound(), OVERLAY_shader_depth_only(), OVERLAY_shader_edit_curve_handle(), OVERLAY_shader_edit_curve_point(), OVERLAY_shader_edit_curve_wire(), OVERLAY_shader_edit_gpencil_guide_point(), OVERLAY_shader_edit_gpencil_point(), OVERLAY_shader_edit_gpencil_wire(), OVERLAY_shader_edit_lattice_point(), OVERLAY_shader_edit_lattice_wire(), OVERLAY_shader_edit_mesh_analysis(), OVERLAY_shader_edit_mesh_edge(), OVERLAY_shader_edit_mesh_face(), OVERLAY_shader_edit_mesh_facedot(), OVERLAY_shader_edit_mesh_normal(), OVERLAY_shader_edit_mesh_skin_root(), OVERLAY_shader_edit_mesh_vert(), OVERLAY_shader_edit_particle_point(), OVERLAY_shader_edit_particle_strand(), OVERLAY_shader_edit_uv_edges_get(), OVERLAY_shader_edit_uv_face_dots_get(), OVERLAY_shader_edit_uv_face_get(), OVERLAY_shader_edit_uv_mask_image(), OVERLAY_shader_edit_uv_stencil_image(), OVERLAY_shader_edit_uv_stretching_angle_get(), OVERLAY_shader_edit_uv_stretching_area_get(), OVERLAY_shader_edit_uv_tiled_image_borders_get(), OVERLAY_shader_edit_uv_verts_get(), OVERLAY_shader_extra(), OVERLAY_shader_extra_grid(), OVERLAY_shader_extra_groundline(), OVERLAY_shader_extra_loose_point(), OVERLAY_shader_extra_point(), OVERLAY_shader_extra_wire(), OVERLAY_shader_facing(), OVERLAY_shader_free(), OVERLAY_shader_gpencil_canvas(), OVERLAY_shader_grid(), OVERLAY_shader_grid_image(), OVERLAY_shader_image(), OVERLAY_shader_motion_path_line(), OVERLAY_shader_motion_path_vert(), OVERLAY_shader_outline_detect(), OVERLAY_shader_outline_prepass(), OVERLAY_shader_outline_prepass_curves(), OVERLAY_shader_outline_prepass_gpencil(), OVERLAY_shader_outline_prepass_pointcloud(), OVERLAY_shader_paint_face(), OVERLAY_shader_paint_point(), OVERLAY_shader_paint_texture(), OVERLAY_shader_paint_vertcol(), OVERLAY_shader_paint_weight(), OVERLAY_shader_paint_wire(), OVERLAY_shader_particle_dot(), OVERLAY_shader_particle_shape(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_volume_velocity(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), and OVERLAY_shader_xray_fade().

◆ test_workbench_glsl_shaders()

static void blender::draw::test_workbench_glsl_shaders ( )
static

◆ thickness_remap()

BLI_INLINE float blender::draw::thickness_remap ( float  fac,
float  min,
float  max,
float  minmax_irange 
)

Definition at line 125 of file extract_mesh_vbo_mesh_analysis.cc.

References CLAMP, max, and min.

Referenced by statvis_calc_thickness().

◆ uv_from_jitter_v2()

static void blender::draw::uv_from_jitter_v2 ( float  uv[2])
static

Needed so we can use jitter values for face interpolation.

Definition at line 113 of file extract_mesh_vbo_mesh_analysis.cc.

References clamp_v2().

Referenced by statvis_calc_thickness().

◆ v2_to_short_angle()

static short blender::draw::v2_to_short_angle ( const float  v[2])
static

Definition at line 53 of file extract_mesh_vbo_edituv_stretch_angle.cc.

References atan2f, float(), M_1_PI, and v.

Referenced by edituv_get_edituv_stretch_angle().

◆ vert_set_bm()

BLI_INLINE void blender::draw::vert_set_bm ( GPUIndexBufBuilder elb,
const BMVert eve,
int  l_index 
)

◆ vert_set_mesh()

BLI_INLINE void blender::draw::vert_set_mesh ( GPUIndexBufBuilder elb,
const MeshRenderData mr,
const int  v_index,
const int  l_index 
)