Home
last modified time | relevance | path

Searched refs:SkImage (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/hwui/
DRecordingCanvas.h76 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, const SkImage*,
107 void drawImage(sk_sp<const SkImage>, SkScalar, SkScalar, const SkPaint*, BitmapPalette palette);
108 void drawImageNine(sk_sp<const SkImage>, const SkIRect&, const SkRect&, const SkPaint*);
109 void drawImageRect(sk_sp<const SkImage>, const SkRect*, const SkRect&, const SkPaint*,
111 void drawImageLattice(sk_sp<const SkImage>, const SkCanvas::Lattice&, const SkRect&,
119 void drawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], int,
183 void drawImage(const sk_sp<SkImage>& image, SkScalar left, SkScalar top, const SkPaint* paint,
186 void drawImageRect(const sk_sp<SkImage>& image, const SkRect& src, const SkRect& dst,
188 void drawImageLattice(const sk_sp<SkImage>& image, const Lattice& lattice, const SkRect& dst,
191 void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) override;
[all …]
DRecordingCanvas.cpp98 const SkImage* clipMask, const SkMatrix* clipMatrix, SkCanvas::SaveLayerFlags flags) { in SaveLayer()
113 sk_sp<const SkImage> clipMask;
302 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, const SkPaint* paint, in DrawImage()
309 sk_sp<const SkImage> image;
317 DrawImageNine(sk_sp<const SkImage>&& image, const SkIRect& center, const SkRect& dst, in DrawImageNine()
324 sk_sp<const SkImage> image;
334 DrawImageRect(sk_sp<const SkImage>&& image, const SkRect* src, const SkRect& dst, in DrawImageRect()
343 sk_sp<const SkImage> image;
354 DrawImageLattice(sk_sp<const SkImage>&& image, int xs, int ys, int fs, const SkIRect& src, in DrawImageLattice()
367 sk_sp<const SkImage> image;
[all …]
DLayer.h86 inline void setImage(const sk_sp<SkImage>& image) { this->layerImage = image; } in setImage()
88 inline sk_sp<SkImage> getImage() const { return this->layerImage; } in getImage()
128 sk_sp<SkImage> layerImage;
DDeferredLayerUpdater.cpp86 sk_sp<SkImage> layerImage; in apply()
111 const sk_sp<SkImage>& layerImage) { in updateLayer()
DReadback.cpp69 sk_sp<SkImage> image = SkImage::MakeFromAHardwareBuffer( in copySurfaceInto()
106 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform, in copyImageInto()
DReadback.h57 CopyResult copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform,
DDeferredLayerUpdater.h98 const sk_sp<SkImage>& layerImage);
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h63 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], int count, in onDrawAtlas() argument
70 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) { in onDrawImage() argument
73 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument
77 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, const SkPaint*) { in onDrawImageNine() argument
80 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst, in onDrawImageLattice() argument
DDeferredLayerUpdaterTests.cpp45 sk_sp<SkImage> layerImage = SkImage::MakeFromBitmap(bitmap); in RENDERTHREAD_TEST()
DCacheManagerTests.cpp57 sk_sp<SkImage> image = bitmap->makeImage(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp59 static void releaseProc(SkImage::ReleaseContext releaseContext);
69 inline sk_sp<SkImage> getImage() { return mImage; } in getImage()
87 sk_sp<SkImage> mImage;
133 void AutoBackendTextureRelease::releaseProc(SkImage::ReleaseContext releaseContext) { in releaseProc()
143 mImage = SkImage::MakeFromTexture(context, in makeImage()
184 sk_sp<SkImage> ImageConsumer::ImageSlot::getImage() { in getImage()
188 sk_sp<SkImage> ImageConsumer::dequeueImage(bool* queueEmpty, SurfaceTexture& st, in dequeueImage()
DImageConsumer.h49 sk_sp<SkImage> dequeueImage(bool* queueEmpty, SurfaceTexture& cb,
89 sk_sp<SkImage> getImage();
DSurfaceTexture.h261 sk_sp<SkImage> dequeueImage(SkMatrix& transformMatrix, bool* queueEmpty,
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h89 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in onDrawImage() argument
93 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, in onDrawImageNine() argument
98 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument
103 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst, in onDrawImageLattice() argument
DSkiaRecordingCanvas.cpp189 sk_sp<SkImage> image = bitmap.makeImage(); in drawBitmap()
203 sk_sp<SkImage> image = bitmap.makeImage(); in drawBitmap()
216 sk_sp<SkImage> image = bitmap.makeImage(); in drawBitmap()
254 sk_sp<SkImage> image = bitmap.makeImage(); in drawNinePatch()
DSkiaPipeline.h38 bool pinImages(std::vector<SkImage*>& mutableImages) override;
141 std::vector<sk_sp<SkImage>> mPinnedImages;
DSkiaDisplayList.h153 std::vector<SkImage*> mMutableImages;
DSkiaPipeline.cpp58 bool SkiaPipeline::pinImages(std::vector<SkImage*>& mutableImages) { in pinImages()
59 for (SkImage* image : mutableImages) { in pinImages()
498 sk_sp<SkImage> counts = offscreen->makeImageSnapshot(); in renderOverdraw()
DVectorDrawableAtlas.cpp95 SkImage* sourceImageAtlas = nullptr; in repack()
108 SkImage* sourceImage; // copy either from the atlas or from a standalone surface in repack()
/frameworks/base/libs/hwui/hwui/
DBitmap.h115 sk_sp<SkImage> makeImage();
173 sk_sp<SkImage> mImage; // Cache is used only for HW Bitmaps with Skia pipeline.
DBitmap.cpp230 mImage = SkImage::MakeFromAHardwareBuffer(reinterpret_cast<AHardwareBuffer*>(buffer), in Bitmap()
331 sk_sp<SkImage> Bitmap::makeImage() { in makeImage()
332 sk_sp<SkImage> image = mImage; in makeImage()
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp47 sk_sp<SkImage> image = hwuiBitmap->makeImage(); in createContent()
DHwBitmapInCompositeShader.cpp76 sk_sp<SkImage> image = bitmap.makeImage(); in createBitmapShader()
/frameworks/base/libs/hwui/renderthread/
DIRenderPipeline.h80 virtual bool pinImages(std::vector<SkImage*>& mutableImages) = 0;
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp165 sk_sp<SkImage> image = SkImage::MakeFromEncoded(data); in initTexture()
166 image->asLegacyBitmap(&bitmap, SkImage::kRO_LegacyBitmapMode); in initTexture()
216 sk_sp<SkImage> image = SkImage::MakeFromEncoded(data); in initTexture()
217 image->asLegacyBitmap(&bitmap, SkImage::kRO_LegacyBitmapMode); in initTexture()

12