Home | History | Annotate | Download | only in gl

Lines Matching full:gpu

14 void GrGLAttribArrayState::set(const GrGpuGL* gpu,
25 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index));
37 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index,
52 void GrGLAttribArrayState::setFixedFunctionVertexArray(const GrGpuGL* gpu,
58 SkASSERT(gpu->glCaps().fixedFunctionSupport());
61 GR_GL_CALL(gpu->glInterface(), EnableClientState(GR_GL_VERTEX_ARRAY));
72 GR_GL_CALL(gpu->glInterface(), VertexPointer(size,
84 void GrGLAttribArrayState::disableUnusedArrays(const GrGpuGL* gpu, uint64_t usedMask, bool usingFFVertexArray) {
89 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i));
101 if (gpu->glCaps().fixedFunctionSupport()) {
104 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_VERTEX_ARRAY));
114 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_NORMAL_ARRAY));
115 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_COLOR_ARRAY));
116 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_SECONDARY_COLOR_ARRAY));
117 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_INDEX_ARRAY));
118 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_EDGE_FLAG_ARRAY));
119 for (int i = 0; i < gpu->glCaps().maxFixedFunctionTextureCoords(); ++i) {
120 GR_GL_CALL(gpu->glInterface(), ClientActiveTexture(GR_GL_TEXTURE0 + i));
121 GR_GL_CALL(gpu->glInterface(), DisableClientState(GR_GL_TEXTURE_COORD_ARRAY));
132 GrGLVertexArray::GrGLVertexArray(GrGpuGL* gpu, GrGLint id, int attribCount)
133 : GrResource(gpu, false)