Home
last modified time | relevance | path

Searched refs:ElementArrayBufferObj (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/main/
Dapi_validate.c189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj; in check_index_bounds()
342 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { in _mesa_validate_DrawElements()
345 if (index_bytes(type, count) > ctx->Array.ArrayObj->ElementArrayBufferObj->Size) { in _mesa_validate_DrawElements()
399 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { in _mesa_validate_MultiDrawElements()
404 ctx->Array.ArrayObj->ElementArrayBufferObj->Size) { in _mesa_validate_MultiDrawElements()
465 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { in _mesa_validate_DrawRangeElements()
468 if (index_bytes(type, count) > ctx->Array.ArrayObj->ElementArrayBufferObj->Size) { in _mesa_validate_DrawRangeElements()
597 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { in _mesa_validate_DrawElementsInstanced()
600 if (index_bytes(type, count) > ctx->Array.ArrayObj->ElementArrayBufferObj->Size) { in _mesa_validate_DrawElementsInstanced()
Darrayobj.c118 _mesa_reference_buffer_object(ctx, &obj->ElementArrayBufferObj, NULL); in _mesa_delete_array_object()
250 _mesa_reference_buffer_object(ctx, &obj->ElementArrayBufferObj, in _mesa_initialize_array_object()
Dattrib.c1421 _mesa_reference_buffer_object(ctx, &dest->ArrayObj->ElementArrayBufferObj, in save_array_attrib()
1422 src->ArrayObj->ElementArrayBufferObj); in save_array_attrib()
1467 || src->ArrayObj->ElementArrayBufferObj->Name == 0 in restore_array_attrib()
1468 || _mesa_IsBufferARB(src->ArrayObj->ElementArrayBufferObj->Name)) in restore_array_attrib()
1470 src->ArrayObj->ElementArrayBufferObj->Name); in restore_array_attrib()
Dbufferobj.c81 return &ctx->Array.ArrayObj->ElementArrayBufferObj; in get_buffer_target()
311 ASSERT(ctx->Array.ArrayObj->ElementArrayBufferObj != bufObj); in _mesa_reference_buffer_object_()
882 if (arrayObj->ElementArrayBufferObj == bufObj) { in _mesa_DeleteBuffersARB()
Dapi_arrayelt.c1583 check_vbo(actx, arrayObj->ElementArrayBufferObj); in _ae_update_state()
Dmtypes.h1615 struct gl_buffer_object *ElementArrayBufferObj; member
Dget.c1726 v->value_int = ctx->Array.ArrayObj->ElementArrayBufferObj->Name; in find_custom_value()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c293 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) { in check_draw_elements_data()
295 ctx->Array.ArrayObj->ElementArrayBufferObj->Size, in check_draw_elements_data()
297 ctx->Array.ArrayObj->ElementArrayBufferObj); in check_draw_elements_data()
325 if (_mesa_is_bufferobj(arrayObj->ElementArrayBufferObj)) { in check_draw_elements_data()
326 ctx->Driver.UnmapBuffer(ctx, ctx->Array.ArrayObj->ElementArrayBufferObj); in check_draw_elements_data()
748 ctx->Array.ArrayObj->ElementArrayBufferObj->Size,
750 ctx->Array.ArrayObj->ElementArrayBufferObj);
756 for (i = 0; i < ctx->Array.ArrayObj->ElementArrayBufferObj->Size; i++) {
768 for (i = 0; i < ctx->Array.ArrayObj->ElementArrayBufferObj->Size / 2; i++) {
780 for (i = 0; i < ctx->Array.ArrayObj->ElementArrayBufferObj->Size / 4; i++) {
[all …]
Dvbo_save_api.c1234 if (_mesa_is_bufferobj(ctx->Array.ArrayObj->ElementArrayBufferObj)) in _save_OBE_DrawElements()
1236 ADD_POINTERS(ctx->Array.ArrayObj->ElementArrayBufferObj->Pointer, indices); in _save_OBE_DrawElements()