Home
last modified time | relevance | path

Searched refs:glGpu (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLBuffer.cpp13 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
14 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X)
125 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu() function in GrGLBuffer
131 return this->glGpu()->glCaps(); in glCaps()
142 this->glGpu()->notifyBufferReleased(this); in onRelease()
176 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
185 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
200 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
233 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onUnmap()
238 this->glGpu()->bindBuffer(fIntendedType, this); // TODO: Is this needed? in onUnmap()
[all …]
DGrGLUniformHandler.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
15 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
203 const GrGLGpu* GrGLUniformHandler::glGpu() const { in glGpu() function in GrGLUniformHandler
DGrGLBuffer.h47 GrGLGpu* glGpu() const;
DGrGLUniformHandler.h78 const GrGLGpu* glGpu() const;
/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
57 this->glGpu()->notifyVertexArrayDelete(fVertexArrayID); in ~GLInstancedRendering()
61 inline GrGLGpu* GLInstancedRendering::glGpu() const { in glGpu() function in gr_instanced::GLInstancedRendering
93 this->glGpu()->bindVertexArray(fVertexArrayID); in onBeginFlush()
101 this->glGpu()->bindBuffer(kVertex_GrBufferType, this->vertexBuffer()); in onBeginFlush()
124 if (this->glGpu()->glCaps().drawIndirectSupport()) { in onBeginFlush()
146 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush()
209 if (!this->glGpu()->flushGLState(pipeline, instProc, false)) { in onDraw()
214 this->glGpu()->bindBuffer(kDrawIndirect_GrBufferType, fDrawIndirectBuffer.get()); in onDraw()
217 const GrGLCaps& glCaps = this->glGpu()->glCaps(); in onDraw()
[all …]
DGLInstancedRendering.h45 GrGLGpu* glGpu() const;
/external/skia/samplecode/
DSampleCCPRGeometry.cpp226 GrGLGpu* glGpu = kOpenGL_GrBackend == context->contextPriv().getBackend() ? in onExecute() local
257 if (glGpu) { in onExecute()
258 glGpu->handleDirtyContext(); in onExecute()
259 GR_GL_CALL(glGpu->glInterface(), PolygonMode(GR_GL_FRONT_AND_BACK, GR_GL_LINE)); in onExecute()
260 GR_GL_CALL(glGpu->glInterface(), Enable(GR_GL_LINE_SMOOTH)); in onExecute()
265 if (glGpu) { in onExecute()
/external/skia/tests/
DSRGBMipMapTest.cpp170 GrGLGpu* glGpu = static_cast<GrGLGpu*>(context->getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
171 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
172 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()