58 for (
int i = 0; i <
b->num_requests; i++) {
70 const int layer_index,
102 for (
int i = 0; i <
ARRAY_SIZE(possible_attribute_types); i++) {
105 if (layer_index == -1) {
109 *r_layer_index = layer_index;
int CustomData_get_named_layer(const struct CustomData *data, int type, const char *name)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
void BLI_mutex_lock(ThreadMutex *mutex)
void BLI_mutex_unlock(ThreadMutex *mutex)
pthread_mutex_t ThreadMutex
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
SyclQueue void void * src
void drw_attributes_merge(DRW_Attributes *dst, const DRW_Attributes *src, ThreadMutex *render_mutex)
bool drw_custom_data_match_attribute(const CustomData *custom_data, const char *name, int *r_layer_index, eCustomDataType *r_type)
static void drw_attributes_merge_requests(const DRW_Attributes *src_requests, DRW_Attributes *dst_requests)
DRW_AttributeRequest * drw_attributes_add_request(DRW_Attributes *attrs, const char *name, const eCustomDataType type, const int layer_index, const eAttrDomain domain)
static bool drw_attributes_has_request(const DRW_Attributes *requests, DRW_AttributeRequest req)
bool drw_attributes_overlap(const DRW_Attributes *a, const DRW_Attributes *b)
void drw_attributes_clear(DRW_Attributes *attributes)
Utilities for rendering attributes.
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
DRW_AttributeRequest requests[GPU_MAX_ATTR]