Lines Matching refs:fCurContext
211 fCurContext = nullptr; in DefaultDeviceManager()
222 SkSafeUnref(fCurContext); in ~DefaultDeviceManager()
278 SkASSERT(nullptr == fCurContext); in setUpBackend()
279 fCurContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf, in setUpBackend()
282 if (nullptr == fCurContext || nullptr == fCurIntf) { in setUpBackend()
284 SkSafeUnref(fCurContext); in setUpBackend()
286 fCurContext = nullptr; in setUpBackend()
299 if (fCurContext) { in tearDownBackend()
301 fCurContext->abandonContext(); in tearDownBackend()
302 fCurContext->unref(); in tearDownBackend()
303 fCurContext = nullptr; in tearDownBackend()
317 if (IsGpuDeviceType(dType) && fCurContext) { in makeSurface()
325 return SkSurface::MakeRenderTarget(fCurContext, SkBudgeted::kNo, win->info(), in makeSurface()
388 if (fCurContext) { in windowSizeChanged()
392 fGpuSurface = win->makeGpuBackedSurface(attachmentInfo, fCurIntf, fCurContext); in windowSizeChanged()
399 return fCurContext; in getGrContext()
424 GrContext* fCurContext; member in SampleWindow::DefaultDeviceManager