Lines Matching refs:fGLContext
48 EAGLContext* fGLContext;
59 , fGLContext(nil) {
74 SkASSERT(!fGLContext);
80 fGLContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES3];
82 if (!fGLContext)
88 if (![EAGLContext setCurrentContext:fGLContext]) {
110 [fGLContext renderbufferStorage:GL_RENDERBUFFER fromDrawable:eaglLayer];
139 [fGLContext release];
140 fGLContext = nil;
145 [fGLContext presentRenderbuffer:GL_RENDERBUFFER];
150 // [fGLContext update];