Lines Matching refs:fCurContext
33 fCurContext = NULL;
44 SkSafeUnref(fCurContext);
90 SkASSERT(NULL == fCurContext);
92 fCurContext = GrContext::Create(kOpenGL_GrBackend,
96 if ((NULL == fCurContext || NULL == fCurIntf) &&
99 SkSafeUnref(fCurContext);
111 SkSafeUnref(fCurContext);
112 fCurContext = NULL;
125 if (SampleWindow::IsGpuDeviceType(dType) && fCurContext) {
133 return SkSurface::MakeRenderTarget(fCurContext, SkBudgeted::kNo, win->info(),
147 if (NULL != fCurContext) {
148 fCurContext->flush();
156 if (fCurContext) {
160 fGpuSurface = win->makeGpuBackedSurface(attachmentInfo, fCurIntf, fCurContext);
167 return fCurContext;
194 GrContext* fCurContext;