Lines Matching refs:fGL
228 SkASSERT(nullptr == fGL.get()); in ~GLTestContext()
232 SkASSERT(!fGL.get()); in init()
233 fGL.reset(gl); in init()
239 fGL.reset(nullptr); in teardown()
245 if (fGL) { in testAbandon()
246 fGL->abandon(); in testAbandon()
251 if (fGL) { in submit()
252 GR_GL_CALL(fGL.get(), Flush()); in submit()
257 if (fGL) { in finish()
258 GR_GL_CALL(fGL.get(), Finish()); in finish()
265 if (!(kGL_GrGLStandard == fGL->fStandard && GrGLGetVersion(fGL.get()) >= GR_GL_VER(3, 1)) && in createTextureRectangle()
266 !fGL->fExtensions.has("GL_ARB_texture_rectangle")) { in createTextureRectangle()
270 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()
275 GR_GL_CALL(fGL.get(), GenTextures(1, &id)); in createTextureRectangle()
276 GR_GL_CALL(fGL.get(), BindTexture(GR_GL_TEXTURE_RECTANGLE, id)); in createTextureRectangle()
277 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MAG_FILTER, in createTextureRectangle()
279 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MIN_FILTER, in createTextureRectangle()
281 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_S, in createTextureRectangle()
283 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_T, in createTextureRectangle()
285 GR_GL_CALL(fGL.get(), TexImage2D(GR_GL_TEXTURE_RECTANGLE, 0, internalFormat, width, height, 0, in createTextureRectangle()