Lines Matching defs:fCanvas
189 SkGPipeCanvas* fCanvas;
219 // fFlattenableHeap -> fWriteBuffer -> fBitmapStorage -> fExternalStorage -> fCanvas
220 // fBitmapHeap -> fExternalStorage -> fCanvas
221 // fFlattenableHeap -> fBitmapStorage -> fExternalStorage -> fCanvas
357 AutoPipeNotify(SkGPipeCanvas* canvas) : fCanvas(canvas) {}
358 ~AutoPipeNotify() { fCanvas->doNotify(); }
360 SkGPipeCanvas* fCanvas;
1167 SkSafeUnref(fCanvas);
1171 SkRefCnt_SafeAssign(fCanvas, canvas);
1178 fCanvas = NULL;
1187 if (NULL == fCanvas) {
1189 fCanvas = SkNEW_ARGS(SkGPipeCanvas, (controller, &fWriter, flags, width, height));
1191 controller->setCanvas(fCanvas);
1192 return fCanvas;
1196 if (fCanvas) {
1197 fCanvas->finish(true);
1198 fCanvas->unref();
1199 fCanvas = NULL;
1204 if (fCanvas) {
1205 fCanvas->flushRecording(detachCurrentBlock);
1210 if (fCanvas) {
1211 return fCanvas->freeMemoryIfPossible(bytesToFree);
1217 return NULL == fCanvas ? 0 : fCanvas->storageAllocatedForRecording();
1224 fCanvas = canvas;
1225 fCanvas->ref();
1233 SkASSERT(fCanvas != NULL);
1234 return fCanvas->shuttleBitmap(bitmap, slot);
1238 if (NULL == fCanvas) {
1241 fCanvas->unref();
1242 fCanvas = NULL;