Searched refs:fCurContext (Results 1 – 6 of 6) sorted by relevance
38 if (fCurContext) { in initializeGL()39 fCurContext->abandonContext(); in initializeGL()44 fCurContext.reset(GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf.get())); in initializeGL()48 if (!fCurContext) { in createRenderTarget()56 fCurContext->resetContext(); in createRenderTarget()64 fCurContext->textureProvider()->wrapBackendRenderTarget(desc)); in createRenderTarget()77 fCurContext->resetContext(); in paintGL()
50 SkAutoTUnref<GrContext> fCurContext; variable
50 , fCurContext(NULL) in SkV8ExampleWindow()67 SkSafeUnref(fCurContext); in ~SkV8ExampleWindow()86 fCurContext = GrContext::Create( in windowSizeChanged()88 if (NULL == fCurIntf || NULL == fCurContext) { in windowSizeChanged()105 fCurRenderTarget = fCurContext->wrapBackendRenderTarget(desc); in windowSizeChanged()149 fCurContext->flush(); in onDraw()
46 GrContext* fCurContext; variable
33 fCurContext = NULL;44 SkSafeUnref(fCurContext);92 SkASSERT(NULL == fCurContext);94 fCurContext = GrContext::Create(kOpenGL_GrBackend,98 if ((NULL == fCurContext || NULL == fCurIntf) &&101 SkSafeUnref(fCurContext);113 SkSafeUnref(fCurContext);114 fCurContext = NULL;128 if (SampleWindow::IsGpuDeviceType(dType) && fCurContext) {140 if (NULL != fCurContext) {[all …]
162 fCurContext = NULL; in DefaultDeviceManager()172 SkSafeUnref(fCurContext); in ~DefaultDeviceManager()234 SkASSERT(NULL == fCurContext); in setUpBackend()235 fCurContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf); in setUpBackend()237 if (NULL == fCurContext || NULL == fCurIntf) { in setUpBackend()239 SkSafeUnref(fCurContext); in setUpBackend()241 fCurContext = NULL; in setUpBackend()254 if (fCurContext) { in tearDownBackend()256 fCurContext->abandonContext(); in tearDownBackend()257 fCurContext->unref(); in tearDownBackend()[all …]