Home | History | Annotate | Download | only in image

Lines Matching refs:fDevice

29     SkGpuDevice* fDevice;
41 fDevice = SkNEW_ARGS(SkGpuDevice, (ctx, config, info.fWidth, info.fHeight, sampleCount));
44 fDevice->clear(0x0);
50 fDevice = SkNEW_ARGS(SkGpuDevice, (ctx, renderTarget));
53 fDevice->clear(0x0);
58 SkSafeUnref(fDevice);
62 return SkNEW_ARGS(SkCanvas, (fDevice));
66 GrRenderTarget* rt = fDevice->accessRenderTarget();
68 return SkSurface::NewRenderTarget(fDevice->context(), info, sampleCount);
72 return SkImage::NewTexture(fDevice->accessBitmap(false));
77 canvas->drawBitmap(fDevice->accessBitmap(false), x, y, paint);
84 GrRenderTarget* rt = fDevice->accessRenderTarget();
89 fDevice->createCompatibleDevice(fDevice->config(), fDevice->width(),
90 fDevice->height(), fDevice->isOpaque()));
93 fDevice->context()->copyTexture(rt->asTexture(),
97 SkASSERT(this->getCachedCanvas()->getDevice() == fDevice);
99 SkRefCnt_SafeAssign(fDevice, newDevice);