Lines Matching refs:fGL
225 SkASSERT(nullptr == fGL.get()); in ~GLTestContext()
229 SkASSERT(!fGL.get()); in init()
230 fGL.reset(gl); in init()
236 fGL.reset(nullptr); in teardown()
242 if (fGL) { in testAbandon()
243 fGL->abandon(); in testAbandon()
248 if (fGL) { in submit()
249 GR_GL_CALL(fGL.get(), Flush()); in submit()
254 if (fGL) { in finish()
255 GR_GL_CALL(fGL.get(), Finish()); in finish()
262 if (!(kGL_GrGLStandard == fGL->fStandard && GrGLGetVersion(fGL.get()) >= GR_GL_VER(3, 1)) && in createTextureRectangle()
263 !fGL->fExtensions.has("GL_ARB_texture_rectangle")) { in createTextureRectangle()
267 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()
272 GR_GL_CALL(fGL.get(), GenTextures(1, &id)); in createTextureRectangle()
273 GR_GL_CALL(fGL.get(), BindTexture(GR_GL_TEXTURE_RECTANGLE, id)); in createTextureRectangle()
274 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MAG_FILTER, in createTextureRectangle()
276 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MIN_FILTER, in createTextureRectangle()
278 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_S, in createTextureRectangle()
280 GR_GL_CALL(fGL.get(), TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_T, in createTextureRectangle()
282 GR_GL_CALL(fGL.get(), TexImage2D(GR_GL_TEXTURE_RECTANGLE, 0, internalFormat, width, height, 0, in createTextureRectangle()