Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/gl/
DGrGLBuffer.cpp16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
17 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X)
21 if (this->glGpu()->glCaps().skipErrorChecks()) { \
22 GR_GL_CALL(this->glGpu()->glInterface(), call); \
25 this->glGpu()->clearErrorsAndCheckForOOM(); \
26 GR_GL_CALL_NOERRCHECK(this->glGpu()->glInterface(), call); \
27 return this->glGpu()->getErrorAndCheckForOOM(); \
132 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu() function in GrGLBuffer
138 return this->glGpu()->glCaps(); in glCaps()
181 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)
143 const GrGLGpu* GrGLUniformHandler::glGpu() const { in glGpu() function in GrGLUniformHandler
DGrGLBuffer.h48 GrGLGpu* glGpu() const;
DGrGLUniformHandler.h74 const GrGLGpu* glGpu() const;
/third_party/flutter/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)
124 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu() function in GrGLBuffer
130 return this->glGpu()->glCaps(); in glCaps()
173 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
184 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
203 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)
133 const GrGLGpu* GrGLUniformHandler::glGpu() const { in glGpu() function in GrGLUniformHandler
DGrGLBuffer.h48 GrGLGpu* glGpu() const;
DGrGLUniformHandler.h60 const GrGLGpu* glGpu() const;
/third_party/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()
528 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in PrecompileProgram() local
530 const GrGLInterface* gl = glGpu->glInterface(); in PrecompileProgram()
554 auto program = GrSkSLtoGLSL(glGpu, kind, sksl, settings, &glsl, errorHandler); in PrecompileProgram()
559 if (GrGLuint shaderID = GrGLCompileAndAttachShader(glGpu->glContext(), programID, type, in PrecompileProgram()
560 glsl, glGpu->pipelineBuilder()->stats(), in PrecompileProgram()
575 cleanup_program(glGpu, programID, shadersToDelete); in PrecompileProgram()
580 GR_GL_CALL(glGpu->glInterface(), BindAttribLocation(programID, i, in PrecompileProgram()
584 const GrGLCaps& caps = glGpu->glCaps(); in PrecompileProgram()
[all …]
/third_party/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()
/third_party/flutter/skia/tests/
DTextureBindingsResetTest.cpp20 GrGLGpu* glGpu = static_cast<GrGLGpu*>(context->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
29 if ((supportExternal = glGpu->glCaps().shaderCaps()->externalTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
33 if ((supportRectangle = glGpu->glCaps().rectangleTextureSupport())) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/flutter/skia/samplecode/
DSampleCCPRGeometry.cpp328 GrGLGpu* glGpu = GrBackendApi::kOpenGL == context->backend() in onExecute() local
331 if (glGpu) { in onExecute()
332 glGpu->handleDirtyContext(); in onExecute()
334 GR_GL_CALL(glGpu->glInterface(), Enable(GR_GL_LINE_SMOOTH)); in onExecute()
397 if (glGpu) { in onExecute()