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));
249 GR_GL_CALL(fGpu->glInterface(), GenSamplers(1, &s));
258 GR_GL_CALL(fGpu->glInterface(),
260 GR_GL_CALL(fGpu->glInterface(),
262 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_S, wrapX));
263 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_T, wrapY));
267 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index]));
276 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, 0));
296 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(kNumSamplers, fSamplers));
1681 GR_GL_CALL(gpu->glInterface(), ObjectLabel(GR_GL_TEXTURE, id, -1, label.c_str()));
1704 *initialState = set_initial_texture_params(this->glInterface(), GR_GL_TEXTURE_2D);
1735 *initialState = set_initial_texture_params(this->glInterface(), target);
1737 set_initial_texture_params(this->glInterface(), target);
2319 GR_GL_GetIntegerv(this->glInterface(), GR_GL_IMPLEMENTATION_COLOR_READ_FORMAT, &format);
2320 GR_GL_GetIntegerv(this->glInterface(), GR_GL_IMPLEMENTATION_COLOR_READ_TYPE, &type);
2492 set_gl_stencil(this->glInterface(), stencilSettings.singleSidedFace(),
2495 set_gl_stencil(this->glInterface(), stencilSettings.postOriginCWFace(origin),
2497 set_gl_stencil(this->glInterface(), stencilSettings.postOriginCCWFace(origin),
2959 GR_GL_CALL(this->glInterface(), GenFramebuffers(1, tempFBOID));
2964 this->glInterface(),
2979 GR_GL_CALL(this->glInterface(), FramebufferTexture2D(fboTarget,
3940 GR_GL_CALL(gpu->glInterface(), GenVertexArrays(1, &arrayID));
4097 if (this->glInterface()->checkAndResetOOMed()) {
4101 GrGLenum error = this->fGLContext->glInterface()->fFunctions.fGetError();
4159 glInterface()->fExtensions.dumpJSON(writer);