Home
last modified time | relevance | path

Searched refs:arrayObj (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/main/
Darrayobj.h58 struct gl_array_object *arrayObj);
63 struct gl_array_object *arrayObj) in _mesa_reference_array_object() argument
65 if (*ptr != arrayObj) in _mesa_reference_array_object()
66 _mesa_reference_array_object_(ctx, ptr, arrayObj); in _mesa_reference_array_object()
77 struct gl_array_object *arrayObj);
85 _mesa_array_object_get_enabled_ff(const struct gl_array_object *arrayObj) in _mesa_array_object_get_enabled_ff() argument
87 return arrayObj->_Enabled & VERT_BIT_FF_ALL; in _mesa_array_object_get_enabled_ff()
96 _mesa_array_object_get_enabled_nv(const struct gl_array_object *arrayObj) in _mesa_array_object_get_enabled_nv() argument
98 GLbitfield64 enabled = arrayObj->_Enabled; in _mesa_array_object_get_enabled_nv()
109 _mesa_array_object_get_enabled_arb(const struct gl_array_object *arrayObj) in _mesa_array_object_get_enabled_arb() argument
[all …]
Darrayobj.c132 struct gl_array_object *arrayObj) in _mesa_reference_array_object_() argument
134 assert(*ptr != arrayObj); in _mesa_reference_array_object_()
160 if (arrayObj) { in _mesa_reference_array_object_()
162 _glthread_LOCK_MUTEX(arrayObj->Mutex); in _mesa_reference_array_object_()
163 if (arrayObj->RefCount == 0) { in _mesa_reference_array_object_()
170 arrayObj->RefCount++; in _mesa_reference_array_object_()
173 (void *) arrayObj, arrayObj->Name, arrayObj->RefCount); in _mesa_reference_array_object_()
175 *ptr = arrayObj; in _mesa_reference_array_object_()
177 _glthread_UNLOCK_MUTEX(arrayObj->Mutex); in _mesa_reference_array_object_()
288 compute_max_element(struct gl_array_object *arrayObj, GLbitfield64 enabled) in compute_max_element() argument
[all …]
Dvarray.c534 struct gl_array_object *arrayObj; in _mesa_EnableVertexAttribArrayARB() local
544 arrayObj = ctx->Array.ArrayObj; in _mesa_EnableVertexAttribArrayARB()
546 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); in _mesa_EnableVertexAttribArrayARB()
548 if (!arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { in _mesa_EnableVertexAttribArrayARB()
551 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_TRUE; in _mesa_EnableVertexAttribArrayARB()
552 arrayObj->_Enabled |= VERT_BIT_GENERIC(index); in _mesa_EnableVertexAttribArrayARB()
553 arrayObj->NewArrays |= VERT_BIT_GENERIC(index); in _mesa_EnableVertexAttribArrayARB()
561 struct gl_array_object *arrayObj; in _mesa_DisableVertexAttribArrayARB() local
571 arrayObj = ctx->Array.ArrayObj; in _mesa_DisableVertexAttribArrayARB()
573 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); in _mesa_DisableVertexAttribArrayARB()
[all …]
Dapi_arrayelt.c1472 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in _ae_update_state() local
1477 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled) { in _ae_update_state()
1478 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX]; in _ae_update_state()
1483 if (arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled) { in _ae_update_state()
1484 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG]; in _ae_update_state()
1489 if (arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled) { in _ae_update_state()
1490 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL]; in _ae_update_state()
1495 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled) { in _ae_update_state()
1496 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0]; in _ae_update_state()
1501 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled) { in _ae_update_state()
[all …]
Denable.c57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in client_state() local
63 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled; in client_state()
67 var = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled; in client_state()
71 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled; in client_state()
75 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled; in client_state()
79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; in client_state()
83 var = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled; in client_state()
87 var = &arrayObj->VertexAttrib[VERT_ATTRIB_FOG].Enabled; in client_state()
91 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled; in client_state()
97 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Enabled; in client_state()
[all …]
Dbufferobj.c862 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in _mesa_DeleteBuffersARB() local
875 for (j = 0; j < Elements(arrayObj->VertexAttrib); j++) { in _mesa_DeleteBuffersARB()
876 unbind(ctx, &arrayObj->VertexAttrib[j].BufferObj, bufObj); in _mesa_DeleteBuffersARB()
882 if (arrayObj->ElementArrayBufferObj == bufObj) { in _mesa_DeleteBuffersARB()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c289 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in check_draw_elements_data() local
320 for (k = 0; k < Elements(arrayObj->VertexAttrib); k++) { in check_draw_elements_data()
321 check_array_data(ctx, &arrayObj->VertexAttrib[k], k, j); in check_draw_elements_data()
325 if (_mesa_is_bufferobj(arrayObj->ElementArrayBufferObj)) { in check_draw_elements_data()
329 for (k = 0; k < Elements(arrayObj->VertexAttrib); k++) { in check_draw_elements_data()
330 unmap_array_buffer(ctx, &arrayObj->VertexAttrib[k]); in check_draw_elements_data()
354 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; in print_draw_arrays() local
370 arrayObj->VertexAttrib[VERT_ATTRIB_FF(i)].Enabled, in print_draw_arrays()