Lines Matching refs:glContext
348 angle::Result VertexArrayMtl::setupDraw(const gl::Context *glContext,
358 ContextMtl *contextMtl = mtl::GetImpl(glContext);
363 const gl::ProgramExecutable *executable = glContext->getState().getProgramExecutable();
366 const gl::ProgramState &programState = glContext->getState().getProgram()->getState();
604 angle::Result VertexArrayMtl::syncDirtyAttrib(const gl::Context *glContext,
609 ContextMtl *contextMtl = mtl::GetImpl(glContext);
629 ANGLE_TRY(convertVertexBuffer(glContext, bufferMtl, binding, attribIndex, format));
703 angle::Result VertexArrayMtl::convertIndexBuffer(const gl::Context *glContext,
720 ContextMtl *contextMtl = mtl::GetImpl(glContext);
721 const gl::State &glState = glContext->getState();
748 ANGLE_TRY(convertIndexBufferGPU(glContext, indexType, idxBuffer, offsetModulo, indexCount,
758 angle::Result VertexArrayMtl::convertIndexBufferGPU(const gl::Context *glContext,
765 ContextMtl *contextMtl = mtl::GetImpl(glContext);
781 glContext->getState().isPrimitiveRestartEnabled()}));
810 angle::Result VertexArrayMtl::convertVertexBuffer(const gl::Context *glContext,
830 ContextMtl *contextMtl = mtl::GetImpl(glContext);
871 ANGLE_TRY(convertVertexBufferGPU(glContext, srcBuffer, binding, attribIndex,
928 angle::Result VertexArrayMtl::convertVertexBufferGPU(const gl::Context *glContext,
938 ContextMtl *contextMtl = mtl::GetImpl(glContext);
972 glContext, renderEncoder, convertedFormat.intendedAngleFormat(), params));
977 glContext, renderEncoder, convertedFormat.intendedAngleFormat(), params));