Lines Matching refs:glInterface
46 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
47 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X)
52 GR_GL_CALL(this->glInterface(), call); \
56 GR_GL_CALL_NOERRCHECK(this->glInterface(), call); \
240 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(1, &sampler)); in ~SamplerObjectCache()
249 GR_GL_CALL(fGpu->glInterface(), GenSamplers(1, &s)); in bindSampler()
258 GR_GL_CALL(fGpu->glInterface(), in bindSampler()
260 GR_GL_CALL(fGpu->glInterface(), in bindSampler()
262 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_S, wrapX)); in bindSampler()
263 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_T, wrapY)); in bindSampler()
267 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler()
276 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, 0)); in unbindSampler()
296 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(kNumSamplers, fSamplers)); in release()
1670 GR_GL_CALL(gpu->glInterface(), ObjectLabel(GR_GL_TEXTURE, id, -1, label.c_str())); in set_khr_debug_label()
1693 *initialState = set_initial_texture_params(this->glInterface(), GR_GL_TEXTURE_2D); in createCompressedTexture2D()
1724 *initialState = set_initial_texture_params(this->glInterface(), target); in createTexture()
1726 set_initial_texture_params(this->glInterface(), target); in createTexture()
2308 GR_GL_GetIntegerv(this->glInterface(), GR_GL_IMPLEMENTATION_COLOR_READ_FORMAT, &format); in flushRenderTargetNoColorWrites()
2309 GR_GL_GetIntegerv(this->glInterface(), GR_GL_IMPLEMENTATION_COLOR_READ_TYPE, &type); in flushRenderTargetNoColorWrites()
2481 set_gl_stencil(this->glInterface(), stencilSettings.singleSidedFace(), in flushStencil()
2484 set_gl_stencil(this->glInterface(), stencilSettings.postOriginCWFace(origin), in flushStencil()
2486 set_gl_stencil(this->glInterface(), stencilSettings.postOriginCCWFace(origin), in flushStencil()
2948 GR_GL_CALL(this->glInterface(), GenFramebuffers(1, tempFBOID)); in bindSurfaceFBOForPixelOps()
2953 this->glInterface(), in bindSurfaceFBOForPixelOps()
2968 GR_GL_CALL(this->glInterface(), FramebufferTexture2D(fboTarget, in unbindSurfaceFBOForPixelOps()
3929 GR_GL_CALL(gpu->glInterface(), GenVertexArrays(1, &arrayID)); in bindInternalVertexArray()
4086 if (this->glInterface()->checkAndResetOOMed()) { in getErrorAndCheckForOOM()
4090 GrGLenum error = this->fGLContext->glInterface()->fFunctions.fGetError(); in getErrorAndCheckForOOM()
4148 glInterface()->fExtensions.dumpJSON(writer); in onDumpJSON()