/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | api_validate.c | 117 if (ctx->Array.ArrayObj->_Enabled == 0x0 || !ctx->VertexProgram._Current) 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled) 149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled || 150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled); 189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj; 194 max + basevertex >= ctx->Array.ArrayObj->_MaxElement) { 197 max, ctx->Array.ArrayObj->_MaxElement); 342 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { 345 if (index_bytes(type, count) > ctx->Array.ArrayObj->ElementArrayBufferObj->Size) { 399 if (_mesa_is_bufferobj(ctx->Array.ArrayObj [all...] |
H A D | getstring.c | 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr; 222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; 227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; 232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; 237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr; 242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr; 247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr; 252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr; 268 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Ptr;
|
H A D | varray.c | 147 && (ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj)) { 248 if (ptr != NULL && ctx->Array.ArrayObj->ARBsemantics && 256 array = &ctx->Array.ArrayObj->VertexAttrib[attrib]; 271 ctx->Array.ArrayObj->NewArrays |= VERT_BIT(attrib); 544 arrayObj = ctx->Array.ArrayObj; 571 arrayObj = ctx->Array.ArrayObj; 601 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); 603 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 662 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); 790 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj [all...] |
H A D | attrib.c | 1387 /* skip ArrayObj */ 1398 copy_array_object(ctx, dest->ArrayObj, src->ArrayObj); 1414 dest->ArrayObj->Name = src->ArrayObj->Name; 1421 _mesa_reference_buffer_object(ctx, &dest->ArrayObj->ElementArrayBufferObj, 1422 src->ArrayObj->ElementArrayBufferObj); 1445 const bool arb_vao = (src->ArrayObj->Name != 0 1446 && src->ArrayObj->ARBsemantics); 1448 if (arb_vao && !_mesa_IsVertexArrayAPPLE(src->ArrayObj [all...] |
H A D | arrayobj.c | 145 printf("ArrayObj %p %d DECR to %d\n", 172 printf("ArrayObj %p %d INCR to %d\n", 343 struct gl_array_object * const oldObj = ctx->Array.ArrayObj; 393 _mesa_reference_array_object(ctx, &ctx->Array.ArrayObj, newObj); 459 if ( obj == ctx->Array.ArrayObj ) {
|
H A D | enable.c | 57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 1459 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled != 0); 1463 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled != 0); 1467 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled != 0); 1471 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled != 0); 1475 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)] 1480 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled != 0); 1485 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Enabled != 0); 1490 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled != 0); 1495 return (ctx->Array.ArrayObj [all...] |
H A D | nvprogram.c | 368 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 412 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 456 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 511 *pointer = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr;
|
H A D | state.c | 561 _mesa_update_array_object_max_element(ctx, ctx->Array.ArrayObj); 578 ctx->Array.ArrayObj->NewArrays = 0x0;
|
H A D | bufferobj.c | 81 return &ctx->Array.ArrayObj->ElementArrayBufferObj; 311 ASSERT(ctx->Array.ArrayObj->ElementArrayBufferObj != bufObj); 312 ASSERT(ctx->Array.ArrayObj->Vertex.BufferObj != bufObj); 862 struct gl_array_object *arrayObj = ctx->Array.ArrayObj;
|
H A D | get.c | 1583 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)]; 1715 ((char *) ctx->Array.ArrayObj + d->offset); 1723 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].BufferObj->Name; 1726 v->value_int = ctx->Array.ArrayObj->ElementArrayBufferObj->Name; 1775 v->value_int = ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].BufferObj->Name; 2036 *p = ((char *) ctx->Array.ArrayObj + d->offset);
|
/external/mesa3d/src/mesa/main/ |
H A D | api_validate.c | 117 if (ctx->Array.ArrayObj->_Enabled == 0x0 || !ctx->VertexProgram._Current) 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled) 149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled || 150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled); 189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj; 194 max + basevertex >= ctx->Array.ArrayObj->_MaxElement) { 197 max, ctx->Array.ArrayObj->_MaxElement); 342 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { 345 if (index_bytes(type, count) > ctx->Array.ArrayObj->ElementArrayBufferObj->Size) { 399 if (_mesa_is_bufferobj(ctx->Array.ArrayObj [all...] |
H A D | getstring.c | 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr; 222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; 227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; 232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; 237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr; 242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr; 247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr; 252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr; 268 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].Ptr;
|
H A D | varray.c | 147 && (ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj)) { 248 if (ptr != NULL && ctx->Array.ArrayObj->ARBsemantics && 256 array = &ctx->Array.ArrayObj->VertexAttrib[attrib]; 271 ctx->Array.ArrayObj->NewArrays |= VERT_BIT(attrib); 544 arrayObj = ctx->Array.ArrayObj; 571 arrayObj = ctx->Array.ArrayObj; 601 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); 603 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 662 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); 790 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj [all...] |
H A D | attrib.c | 1387 /* skip ArrayObj */ 1398 copy_array_object(ctx, dest->ArrayObj, src->ArrayObj); 1414 dest->ArrayObj->Name = src->ArrayObj->Name; 1421 _mesa_reference_buffer_object(ctx, &dest->ArrayObj->ElementArrayBufferObj, 1422 src->ArrayObj->ElementArrayBufferObj); 1445 const bool arb_vao = (src->ArrayObj->Name != 0 1446 && src->ArrayObj->ARBsemantics); 1448 if (arb_vao && !_mesa_IsVertexArrayAPPLE(src->ArrayObj [all...] |
H A D | arrayobj.c | 145 printf("ArrayObj %p %d DECR to %d\n", 172 printf("ArrayObj %p %d INCR to %d\n", 343 struct gl_array_object * const oldObj = ctx->Array.ArrayObj; 393 _mesa_reference_array_object(ctx, &ctx->Array.ArrayObj, newObj); 459 if ( obj == ctx->Array.ArrayObj ) {
|
H A D | enable.c | 57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 1459 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled != 0); 1463 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled != 0); 1467 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled != 0); 1471 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Enabled != 0); 1475 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)] 1480 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Enabled != 0); 1485 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Enabled != 0); 1490 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled != 0); 1495 return (ctx->Array.ArrayObj [all...] |
H A D | nvprogram.c | 368 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 412 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 456 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; 511 *pointer = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr;
|
H A D | state.c | 561 _mesa_update_array_object_max_element(ctx, ctx->Array.ArrayObj); 578 ctx->Array.ArrayObj->NewArrays = 0x0;
|
H A D | bufferobj.c | 81 return &ctx->Array.ArrayObj->ElementArrayBufferObj; 311 ASSERT(ctx->Array.ArrayObj->ElementArrayBufferObj != bufObj); 312 ASSERT(ctx->Array.ArrayObj->Vertex.BufferObj != bufObj); 862 struct gl_array_object *arrayObj = ctx->Array.ArrayObj;
|
H A D | get.c | 1583 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)]; 1715 ((char *) ctx->Array.ArrayObj + d->offset); 1723 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].BufferObj->Name; 1726 v->value_int = ctx->Array.ArrayObj->ElementArrayBufferObj->Name; 1775 v->value_int = ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POINT_SIZE].BufferObj->Name; 2036 *p = ((char *) ctx->Array.ArrayObj + d->offset);
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_exec_array.c | 289 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 293 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { 295 ctx->Array.ArrayObj->ElementArrayBufferObj->Size, 297 ctx->Array.ArrayObj->ElementArrayBufferObj); 326 ctx->Driver.UnmapBuffer(ctx, ctx->Array.ArrayObj->ElementArrayBufferObj); 354 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 407 struct gl_client_array *vertexAttrib = ctx->Array.ArrayObj->VertexAttrib; 748 ctx->Array.ArrayObj->ElementArrayBufferObj->Size, 750 ctx->Array.ArrayObj->ElementArrayBufferObj); 756 for (i = 0; i < ctx->Array.ArrayObj [all...] |
H A D | vbo_save_api.c | 1234 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) 1236 ADD_POINTERS(ctx->Array.ArrayObj->ElementArrayBufferObj->Pointer, indices);
|
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_array.c | 289 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 293 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { 295 ctx->Array.ArrayObj->ElementArrayBufferObj->Size, 297 ctx->Array.ArrayObj->ElementArrayBufferObj); 326 ctx->Driver.UnmapBuffer(ctx, ctx->Array.ArrayObj->ElementArrayBufferObj); 354 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 407 struct gl_client_array *vertexAttrib = ctx->Array.ArrayObj->VertexAttrib; 748 ctx->Array.ArrayObj->ElementArrayBufferObj->Size, 750 ctx->Array.ArrayObj->ElementArrayBufferObj); 756 for (i = 0; i < ctx->Array.ArrayObj [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
H A D | meta.c | 165 struct gl_array_object *ArrayObj; member in struct:save_state 223 GLuint ArrayObj; member in struct:blit_state 234 GLuint ArrayObj; member in struct:clear_state 249 GLuint ArrayObj; member in struct:copypix_state 259 GLuint ArrayObj; member in struct:drawpix_state 271 GLuint ArrayObj; member in struct:bitmap_state 292 GLuint ArrayObj; member in struct:gen_mipmap_state 310 GLuint ArrayObj; member in struct:decompress_state 320 GLuint ArrayObj; member in struct:drawtex_state 742 _mesa_reference_array_object(ctx, &save->ArrayObj, [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
H A D | meta.c | 165 struct gl_array_object *ArrayObj; member in struct:save_state 223 GLuint ArrayObj; member in struct:blit_state 234 GLuint ArrayObj; member in struct:clear_state 249 GLuint ArrayObj; member in struct:copypix_state 259 GLuint ArrayObj; member in struct:drawpix_state 271 GLuint ArrayObj; member in struct:bitmap_state 292 GLuint ArrayObj; member in struct:gen_mipmap_state 310 GLuint ArrayObj; member in struct:decompress_state 320 GLuint ArrayObj; member in struct:drawtex_state 742 _mesa_reference_array_object(ctx, &save->ArrayObj, [all...] |