Lines Matching defs:image
8 #include "src/image/SkSurface_Gpu.h"
27 #include "src/image/SkImage_Base.h"
28 #include "src/image/SkImage_Gpu.h"
29 #include "src/image/SkSurface_Base.h"
131 // texture (and the image is not subsetted) we make a dual-proxied SkImage that will
200 // are we sharing our backing proxy with the image? Note this call should never create a new
201 // image because onCopyOnWrite is only called when there is a cached image.
202 sk_sp<SkImage> image = this->refCachedImage();
203 SkASSERT(image);
205 if (static_cast<SkImage_Gpu*>(image.get())->surfaceMustCopyOnWrite(readSurfaceView.proxy())) {
284 // If the dst is also GPU we try to not force a new image snapshot (by calling the base class
299 // Possibly we could skip making an image here if SkGpuDevice exposed a lower level way
302 sk_sp<SkImage> image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(canvasContext),
306 canvas->drawImage(image.get(), x, y, sampling, paint);