Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLBuffer.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
15 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X)
19 if (this->glGpu()->glCaps().skipErrorChecks()) { \
20 GR_GL_CALL(this->glGpu()->glInterface(), call); \
23 this->glGpu()->clearErrorsAndCheckForOOM(); \
24 GR_GL_CALL_NOERRCHECK(this->glGpu()->glInterface(), call); \
25 return this->glGpu()->getErrorAndCheckForOOM(); \
130 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu() function in GrGLBuffer
136 return this->glGpu()->glCaps(); in glCaps()
179 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
[all …]
DGrGLUniformHandler.cpp16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
17 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
135 const GrGLGpu* GrGLUniformHandler::glGpu() const { in glGpu() function in GrGLUniformHandler
DGrGLBuffer.h48 GrGLGpu* glGpu() const;
DGrGLUniformHandler.h74 const GrGLGpu* glGpu() const;
/external/skqp/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()
175 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
184 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
199 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
232 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onUnmap()
237 this->glGpu()->bindBuffer(fIntendedType, this); // TODO: Is this needed? in onUnmap()
257 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onUpdateData()
DGrGLUniformHandler.cpp16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
17 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
136 const GrGLGpu* GrGLUniformHandler::glGpu() const { in glGpu() function in GrGLUniformHandler
DGrGLBuffer.h47 GrGLGpu* glGpu() const;
DGrGLUniformHandler.h61 const GrGLGpu* glGpu() const;
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp57 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in CreateProgram() local
61 GrGLProgramBuilder builder(glGpu, desc, programInfo); in CreateProgram()
555 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in PrecompileProgram() local
557 const GrGLInterface* gl = glGpu->glInterface(); in PrecompileProgram()
581 auto program = GrSkSLtoGLSL(glGpu, kind, sksl, settings, &glsl, errorHandler); in PrecompileProgram()
586 if (GrGLuint shaderID = GrGLCompileAndAttachShader(glGpu->glContext(), programID, type, in PrecompileProgram()
587 glsl, glGpu->pipelineBuilder()->stats(), in PrecompileProgram()
606 cleanup_program(glGpu, programID, shadersToDelete); in PrecompileProgram()
611 GR_GL_CALL(glGpu->glInterface(), BindAttribLocation(programID, i, in PrecompileProgram()
615 const GrGLCaps& caps = glGpu->glCaps(); in PrecompileProgram()
[all …]
/external/skia/tests/
DTextureBindingsResetTest.cpp23 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
32 if ((supportExternal = glGpu->glCaps().shaderCaps()->externalTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
36 if ((supportRectangle = glGpu->glCaps().rectangleTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp327 GrGLGpu* glGpu = GrBackendApi::kOpenGL == context->backend() in onExecute() local
330 if (glGpu) { in onExecute()
331 glGpu->handleDirtyContext(); in onExecute()
333 GR_GL_CALL(glGpu->glInterface(), Enable(GR_GL_LINE_SMOOTH)); in onExecute()
389 if (glGpu) { in onExecute()