Lines Matching refs:ArrayObj
117 if (ctx->Array.ArrayObj->_Enabled == 0x0 || !ctx->VertexProgram._Current) in check_valid_to_render()
126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled) in check_valid_to_render()
149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled || in check_valid_to_render()
150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled); in check_valid_to_render()
189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj; in check_index_bounds()
194 max + basevertex >= ctx->Array.ArrayObj->_MaxElement) { in check_index_bounds()
197 max, ctx->Array.ArrayObj->_MaxElement); 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()
512 if (start + count > (GLint) ctx->Array.ArrayObj->_MaxElement) in _mesa_validate_DrawArrays()
555 if (first + count > (GLint) ctx->Array.ArrayObj->_MaxElement) in _mesa_validate_DrawArraysInstanced()
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()