Searched defs:arrayObj (Results 1 - 7 of 7) sorted by relevance
/external/mesa3d/src/mesa/main/ |
H A D | arrayobj.h | 58 struct gl_array_object *arrayObj); 63 struct gl_array_object *arrayObj) 65 if (*ptr != arrayObj) 66 _mesa_reference_array_object_(ctx, ptr, arrayObj); 77 struct gl_array_object *arrayObj); 85 _mesa_array_object_get_enabled_ff(const struct gl_array_object *arrayObj) argument 87 return arrayObj->_Enabled & VERT_BIT_FF_ALL; 96 _mesa_array_object_get_enabled_nv(const struct gl_array_object *arrayObj) argument 98 GLbitfield64 enabled = arrayObj->_Enabled; 109 _mesa_array_object_get_enabled_arb(const struct gl_array_object *arrayObj) argument 61 _mesa_reference_array_object(struct gl_context *ctx, struct gl_array_object **ptr, struct gl_array_object *arrayObj) argument [all...] |
H A D | enable.c | 57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; local 63 var = &arrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled; 67 var = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled; 71 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled; 75 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled; 79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; 83 var = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled; 87 var = &arrayObj->VertexAttrib[VERT_ATTRIB_FOG].Enabled; 91 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled; 97 var = &arrayObj [all...] |
H A D | arrayobj.c | 125 * Set ptr to arrayObj w/ reference counting. 132 struct gl_array_object *arrayObj) 134 assert(*ptr != arrayObj); 160 if (arrayObj) { 162 _glthread_LOCK_MUTEX(arrayObj->Mutex); 163 if (arrayObj->RefCount == 0) { 170 arrayObj->RefCount++; 173 (void *) arrayObj, arrayObj->Name, arrayObj 130 _mesa_reference_array_object_(struct gl_context *ctx, struct gl_array_object **ptr, struct gl_array_object *arrayObj) argument 288 compute_max_element(struct gl_array_object *arrayObj, GLbitfield64 enabled) argument 311 _mesa_update_array_object_max_element(struct gl_context *ctx, struct gl_array_object *arrayObj) argument [all...] |
H A D | bufferobj.c | 862 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; local 875 for (j = 0; j < Elements(arrayObj->VertexAttrib); j++) { 876 unbind(ctx, &arrayObj->VertexAttrib[j].BufferObj, bufObj); 882 if (arrayObj->ElementArrayBufferObj == bufObj) {
|
H A D | varray.c | 534 struct gl_array_object *arrayObj; local 544 arrayObj = ctx->Array.ArrayObj; 546 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); 548 if (!arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { 551 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_TRUE; 552 arrayObj->_Enabled |= VERT_BIT_GENERIC(index); 553 arrayObj->NewArrays |= VERT_BIT_GENERIC(index); 561 struct gl_array_object *arrayObj; local 571 arrayObj = ctx->Array.ArrayObj; 573 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj 1242 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; local 1285 struct gl_array_object *arrayObj = (struct gl_array_object *) data; local [all...] |
H A D | api_arrayelt.c | 1472 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; local 1477 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled) { 1478 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX]; 1483 if (arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled) { 1484 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG]; 1489 if (arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled) { 1490 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL]; 1495 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled) { 1496 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR0]; 1501 if (arrayObj [all...] |
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_array.c | 289 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; local 320 for (k = 0; k < Elements(arrayObj->VertexAttrib); k++) { 321 check_array_data(ctx, &arrayObj->VertexAttrib[k], k, j); 325 if (_mesa_is_bufferobj(arrayObj->ElementArrayBufferObj)) { 329 for (k = 0; k < Elements(arrayObj->VertexAttrib); k++) { 330 unmap_array_buffer(ctx, &arrayObj->VertexAttrib[k]); 354 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; local 370 arrayObj->VertexAttrib[VERT_ATTRIB_FF(i)].Enabled,
|
Completed in 495 milliseconds