/external/skia/src/core/ |
SkSpecialImage.cpp | 10 #include "SkImage.h" 59 virtual sk_sp<SkImage> onAsImage(const SkIRect* subset) const = 0; 166 sk_sp<SkImage> SkSpecialImage::asImage(const SkIRect* subset) const { 186 sk_sp<SkImage> image, 282 sk_sp<SkImage> onAsImage(const SkIRect* subset) const override { 290 return SkImage::MakeFromBitmap(subsetBM); 293 return SkImage::MakeFromBitmap(fBitmap); 341 static sk_sp<SkImage> wrap_proxy_in_image(GrContext* context, sk_sp<GrTextureProxy> proxy, 375 // texture into the canvas so it is okay to wrap it in an SkImage. This poses 380 sk_sp<SkImage> img = sk_sp<SkImage>(new SkImage_Gpu(canvas->getGrContext() [all...] |
SkLiteDL.cpp | 12 #include "SkImage.h" 95 const SkImageFilter* backdrop, const SkImage* clipMask, 107 sk_sp<const SkImage> clipMask; 273 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, const SkPaint* paint) 277 sk_sp<const SkImage> image; 284 DrawImageNine(sk_sp<const SkImage>&& image, 289 sk_sp<const SkImage> image; 299 DrawImageRect(sk_sp<const SkImage>&& image, const SkRect* src, const SkRect& dst, 305 sk_sp<const SkImage> image; 315 DrawImageLattice(sk_sp<const SkImage>&& image, int xs, int ys, int fs [all...] |
SkOverdrawCanvas.cpp | 221 void SkOverdrawCanvas::onDrawAtlas(const SkImage* image, const SkRSXform xform[], 238 void SkOverdrawCanvas::onDrawImage(const SkImage* image, SkScalar x, SkScalar y, const SkPaint*) { 242 void SkOverdrawCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, 247 void SkOverdrawCanvas::onDrawImageNine(const SkImage*, const SkIRect&, const SkRect& dst, 252 void SkOverdrawCanvas::onDrawImageLattice(const SkImage* image, const Lattice& lattice, 290 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode);
|
SkBitmapDevice.h | 116 SkImage*, const SkMatrix&) override; 118 sk_sp<SkSpecialImage> makeSpecial(const SkImage*) override;
|
SkPaintPriv.cpp | 11 #include "SkImage.h" 53 bool SkPaintPriv::Overwrites(const SkImage* image, const SkPaint* paint) {
|
/external/skia/samplecode/ |
SampleAtlas.cpp | 18 typedef void (*DrawAtlasProc)(SkCanvas*, SkImage*, const SkRSXform[], const SkRect[], 21 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], 27 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], 42 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { 134 sk_sp<SkImage> fAtlas;
|
SampleTextureDomain.cpp | 69 sk_sp<SkImage> image(surface->makeImageSnapshot());
|
/external/skia/src/image/ |
SkImage_Lazy.cpp | 86 sk_sp<SkImage> onMakeSubset(const SkIRect&) const override; 90 sk_sp<SkImage> onMakeColorSpace(sk_sp<SkColorSpace>, SkColorType, 111 SkImage::CachingHint, 135 bool lockAsBitmap(SkBitmap*, SkImage::CachingHint, CachedFormat, const SkImageInfo&, 142 * If generatorImageInfo has no color space set, set its color space to this SkImage's color 166 mutable sk_sp<SkImage> fOnMakeColorSpaceResult; 490 bool SkImage_Lazy::lockAsBitmap(SkBitmap* bitmap, SkImage::CachingHint chint, CachedFormat format, 502 if (SkImage::kAllow_CachingHint == chint) { 629 sk_sp<SkImage> SkImage_Lazy::onMakeSubset(const SkIRect& subset) const { 635 return validator ? sk_sp<SkImage>(new SkImage_Lazy(&validator)) : nullptr [all...] |
/external/skia/src/pipe/ |
SkPipeReader.cpp | 30 SkPipeInflator(SkRefSet<SkImage>* images, SkRefSet<SkPicture>* pictures, 41 SkImage* getImage(int index) override { 54 bool setImage(int index, SkImage* img) { 88 sk_sp<SkImage> makeImage(const sk_sp<SkData>&); 91 SkRefSet<SkImage>* fImages; 247 sk_sp<SkImage> clipMask; 324 sk_sp<SkImage> image(reader.readImage()); 501 sk_sp<SkImage> image(reader.readImage()); 514 sk_sp<SkImage> image(reader.readImage()); 534 sk_sp<SkImage> image(reader.readImage()) [all...] |
/external/skia/src/shaders/ |
SkImageShader.cpp | 34 SkImageShader::SkImageShader(sk_sp<SkImage> img, TileMode tmx, TileMode tmy, const SkMatrix* matrix) 46 sk_sp<SkImage> img = buffer.readImage(); 89 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, TileMode xy[]) const { 97 return const_cast<SkImage*>(fImage.get()); 131 sk_sp<SkShader> SkImageShader::Make(sk_sp<SkImage> image, TileMode tx, TileMode ty, 233 sk_sp<SkImage> image = buffer.readBitmapAsImage();
|
SkShaderBase.h | 20 class SkImage; 223 virtual SkImage* onIsAImage(SkMatrix*, TileMode[2]) const {
|
/external/skia/gm/ |
drawminibitmaprect.cpp | 11 #include "SkImage.h" 17 static sk_sp<SkImage> makebm(SkCanvas* caller, int w, int h) { 136 sk_sp<SkImage> fImage;
|
bitmapimage.cpp | 11 #include "SkImage.h" 32 sk_sp<SkImage> image = GetResourceAsImage(path);
|
composeshader.cpp | 13 #include "SkImage.h" 250 sk_sp<SkImage> skSrc = SkImage::MakeFromBitmap(skBitmap); 251 sk_sp<SkImage> skMaskImage = SkImage::MakeFromBitmap(skMask);
|
imagesource2.cpp | 9 #include "SkImage.h" 80 sk_sp<SkImage> fImage;
|
xfermodeimagefilter.cpp | 11 #include "SkImage.h" 40 fCheckerboard = SkImage::MakeFromBitmap( 115 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(fBitmap)); 223 sk_sp<SkImage> fCheckerboard;
|
/external/skia/include/core/ |
SkWriteBuffer.h | 13 #include "SkImage.h" 63 virtual void writeImage(const SkImage*) = 0; 123 void writeImage(const SkImage*) override; 137 * TODO: Encode SkImage pixels as well.
|
SkImageGenerator.h | 13 #include "SkImage.h" 163 SkImage::BitDepth,
|
SkPicture.h | 20 class SkImage; 57 * null, to the default deserializer that will call SkImage::MakeFromEncoded().
|
/external/skia/include/utils/ |
SkDumpCanvas.h | 110 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*) override; 111 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
|
/frameworks/base/libs/hwui/pipeline/skia/ |
SkiaOpenGLReadback.cpp | 60 sk_sp<SkImage> image(SkImage::MakeFromAdoptedTexture(grContext.get(), backendTexture, 100 // with reading incorrect data from EGLImage backed SkImage (likely a driver bug) 117 // make sure that we have deleted the texture (in the SkImage) before we
|
/external/skia/tests/ |
SkResourceCacheTest.cpp | 139 sk_sp<SkImage> (*buildImage)()) { 149 sk_sp<SkImage> image(buildImage()); 172 // Verify that associated bitmap cache entries are purged on SkImage destruction. 198 return SkImage::MakeFromPicture(recorder.finishRecordingAsPicture(), 200 SkImage::BitDepth::kU8,
|
/external/skia/tools/debugger/ |
SkJsonWriteBuffer.h | 49 void writeImage(const SkImage*) override;
|
/external/skia/tools/viewer/ |
Viewer.h | 81 sk_sp<SkImage> fLastImage;
|
/external/skia/tools/viewer/sk_app/mac/ |
RasterWindowContext_mac.cpp | 109 // We made/have an off-screen surface. Get the contents as an SkImage: 110 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot();
|