Lines Matching refs:fGL
284 SkASSERT(nullptr == fGL.get()); in ~GLTestContext()
288 fGL = std::move(gl); in init()
294 fGL.reset(nullptr); in teardown()
300 if (fGL) { in testAbandon()
301 fGL->abandon(); in testAbandon()
306 if (fGL) { in submit()
307 GR_GL_CALL(fGL.get(), Flush()); in submit()
312 if (fGL) { in finish()
313 GR_GL_CALL(fGL.get(), Finish()); in finish()
321 if (kGL_GrGLStandard != fGL->fStandard || in createTextureRectangle()
322 (GrGLGetVersion(fGL.get()) < GR_GL_VER(3, 1) && in createTextureRectangle()
323 !fGL->fExtensions.has("GL_ARB_texture_rectangle") && in createTextureRectangle()
324 !fGL->fExtensions.has("GL_ANGLE_texture_rectangle"))) { in createTextureRectangle()
328 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()
333 GR_GL_CALL(fGL.get(), GenTextures(1, &id)); in createTextureRectangle()
334 GR_GL_CALL(fGL.get(), BindTexture(GR_GL_TEXTURE_RECTANGLE, id)); in createTextureRectangle()
335 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MAG_FILTER, in createTextureRectangle()
337 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MIN_FILTER, in createTextureRectangle()
339 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_S, in createTextureRectangle()
341 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_T, in createTextureRectangle()
343 GR_GL_CALL(fGL.get(), TexImage2D(GR_GL_TEXTURE_RECTANGLE, 0, internalFormat, width, height, 0, in createTextureRectangle()
349 return GrContext::MakeGL(fGL, options); in makeGrContext()