Lines Matching refs:fDrawBuffer
54 #define RETURN_IF_ABANDONED if (!fDrawBuffer) { return; }
55 #define RETURN_FALSE_IF_ABANDONED if (!fDrawBuffer) { return false; }
56 #define RETURN_NULL_IF_ABANDONED if (!fDrawBuffer) { return NULL; }
105 fDrawBuffer = NULL; in GrContext()
135 fDrawBuffer = SkNEW_ARGS(GrInOrderDrawBuffer, (this)); in initCommon()
157 SkDELETE(fDrawBuffer); in ~GrContext()
180 SkDELETE(fDrawBuffer); in abandonContext()
181 fDrawBuffer = NULL; in abandonContext()
195 if (fDrawBuffer) { in freeGpuResources()
196 fDrawBuffer->purgeResources(); in freeGpuResources()
1368 if (NULL == fDrawBuffer) { in flush()
1373 fDrawBuffer->reset(); in flush()
1375 fDrawBuffer->flush(); in flush()
1631 fDrawBuffer->drawSimpleRect(&pipelineBuilder, in readRenderTargetPixels()
1731 if (NULL == fGpu || NULL == fDrawBuffer) { in prepareToDraw()
1738 return fDrawBuffer; in prepareToDraw()
1745 return fDrawBuffer; in prepareToDraw()
1872 if (fDrawBuffer) { in addGpuTraceMarker()
1873 fDrawBuffer->addGpuTraceMarker(marker); in addGpuTraceMarker()
1879 if (fDrawBuffer) { in removeGpuTraceMarker()
1880 fDrawBuffer->removeGpuTraceMarker(marker); in removeGpuTraceMarker()