Lines Matching refs:glInterface
41 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
42 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X)
236 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(kNumSamplers, fSamplers)); in ~SamplerObjectCache()
243 GR_GL_CALL(fGpu->glInterface(), GenSamplers(1, &s)); in bindSampler()
252 GR_GL_CALL(fGpu->glInterface(), in bindSampler()
254 GR_GL_CALL(fGpu->glInterface(), in bindSampler()
256 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_S, wrapX)); in bindSampler()
257 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_T, wrapY)); in bindSampler()
260 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler()
281 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(kNumSamplers, fSamplers)); in release()
341 GrGLClearErr(this->glInterface()); in GrGLGpu()
1193 const GrGLInterface* interface = this->glInterface(); in uploadTexData()
1356 const GrGLInterface* interface = this->glInterface(); in uploadCompressedTexData()
1679 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); in getCompatibleStencilIndex()
1680 GL_ALLOC_CALL(this->glInterface(), TexImage2D(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex()
1689 if (GR_GL_NO_ERROR != CHECK_ALLOC_ERROR(this->glInterface())) { in getCompatibleStencilIndex()
1716 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); in getCompatibleStencilIndex()
1717 GL_ALLOC_CALL(this->glInterface(), RenderbufferStorage(GR_GL_RENDERBUFFER, in getCompatibleStencilIndex()
1720 if (GR_GL_NO_ERROR == CHECK_ALLOC_ERROR(this->glInterface())) { in getCompatibleStencilIndex()
1782 *initialTexParams = set_initial_texture_params(this->glInterface(), *info); in createTextureImpl()
1825 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); in createStencilAttachmentForRenderTarget()
1834 GL_ALLOC_CALL(this->glInterface(), RenderbufferStorage(GR_GL_RENDERBUFFER, in createStencilAttachmentForRenderTarget()
1837 SkASSERT(GR_GL_NO_ERROR == CHECK_ALLOC_ERROR(this->glInterface())); in createStencilAttachmentForRenderTarget()
1843 get_stencil_rb_sizes(this->glInterface(), &format); in createStencilAttachmentForRenderTarget()
1874 scissor.pushToGLScissor(this->glInterface()); in flushScissor()
2261 GR_GL_GetIntegerv(this->glInterface(), query, value); in readPixelsSupported()
2299 GR_GL_GetIntegerv(this->glInterface(), query, value); in readPixelsSupported()
2496 viewport.pushToGLViewport(this->glInterface()); in flushViewport()
2789 set_gl_stencil(this->glInterface(), in flushStencil()
2792 set_gl_stencil(this->glInterface(), in flushStencil()
2796 set_gl_stencil(this->glInterface(), in flushStencil()
3196 GR_GL_CALL(this->glInterface(), GenFramebuffers(1, tempFBOID)); in bindSurfaceFBOForPixelOps()
3200 GR_GL_CALL(this->glInterface(), FramebufferTexture2D(fboTarget, in bindSurfaceFBOForPixelOps()
3221 GR_GL_CALL(this->glInterface(), FramebufferTexture2D(fboTarget, in unbindTextureFBOForPixelOps()
3246 fHWScissorSettings.fRect.pushToGLScissor(this->glInterface()); in bindFramebuffer()
3964 const GrGLInterface* interface = this->glInterface(); in createTestingOnlyBackendTexture()
4135 GL_ALLOC_CALL(this->glInterface(), in createTestingOnlyBackendRenderTarget()
4142 GL_ALLOC_CALL(this->glInterface(), in createTestingOnlyBackendRenderTarget()
4204 GR_GL_CALL(gpu->glInterface(), GenVertexArrays(1, &arrayID)); in bindInternalVertexArray()
4340 glInterface()->fExtensions.dumpJSON(writer); in onDumpJSON()