Lines Matching refs:fGL
52 SkASSERT(nullptr == fGL.get()); in ~SkGLContext()
57 SkASSERT(!fGL.get()); in init()
58 fGL.reset(gl); in init()
73 fGL.reset(nullptr); in teardown()
103 if (fGL) { in testAbandon()
104 fGL->abandon(); in testAbandon()
163 if (!(kGL_GrGLStandard == fGL->fStandard && GrGLGetVersion(fGL) >= GR_GL_VER(3, 1)) && in createTextureRectangle()
164 !fGL->fExtensions.has("GL_ARB_texture_rectangle")) { in createTextureRectangle()
168 if (GrGLGetGLSLVersion(fGL) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()
173 GR_GL_CALL(fGL, GenTextures(1, &id)); in createTextureRectangle()
174 GR_GL_CALL(fGL, BindTexture(GR_GL_TEXTURE_RECTANGLE, id)); in createTextureRectangle()
175 GR_GL_CALL(fGL, TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MAG_FILTER, in createTextureRectangle()
177 GR_GL_CALL(fGL, TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_MIN_FILTER, in createTextureRectangle()
179 GR_GL_CALL(fGL, TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_S, in createTextureRectangle()
181 GR_GL_CALL(fGL, TexParameteri(GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_WRAP_T, in createTextureRectangle()
183 GR_GL_CALL(fGL, TexImage2D(GR_GL_TEXTURE_RECTANGLE, 0, internalFormat, width, height, 0, in createTextureRectangle()