Lines Matching refs:gpu
39 void GrGLAttribArrayState::set(GrGLGpu* gpu, in set() argument
48 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); in set()
58 gpu->bindVertexBuffer(vertexBufferID); in set()
61 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, in set()
68 SkASSERT(gpu->caps()->shaderCaps()->integerSupport()); in set()
70 GR_GL_CALL(gpu->glInterface(), VertexAttribIPointer(index, in set()
84 void GrGLAttribArrayState::disableUnusedArrays(const GrGLGpu* gpu, uint64_t usedMask) { in disableUnusedArrays() argument
89 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); in disableUnusedArrays()
109 GrGLAttribArrayState* GrGLVertexArray::bind(GrGLGpu* gpu) { in bind() argument
113 gpu->bindVertexArray(fID); in bind()
117 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, GrGLuint ibufferID) { in bindWithIndexBuffer() argument
118 GrGLAttribArrayState* state = this->bind(gpu); in bindWithIndexBuffer()
121 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, ibufferID)); in bindWithIndexBuffer()