Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h86 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], int count, in onDrawAtlas() argument
93 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) { in onDrawImage() argument
96 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument
100 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, const SkPaint*) { in onDrawImageNine() argument
103 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst, in onDrawImageLattice() argument
DSkiaBehaviorTests.cpp43 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(origBitmap, kNever_SkCopyPixelsMode); in TEST()
DSkiaPipelineTests.cpp211 sk_sp<SkImage> onNewImageSnapshot() override { in onNewImageSnapshot()
292 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
DRecordingCanvasTests.cpp761 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skBitmap, kNever_SkCopyPixelsMode); in OPENGL_PIPELINE_TEST()
779 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skBitmap, kNever_SkCopyPixelsMode); in OPENGL_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp394 sk_sp<SkImage> onNewImageSnapshot() override { in RENDERTHREAD_TEST()
836 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in RENDERTHREAD_TEST() argument
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.h71 virtual void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*);
72 virtual void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*,
74 virtual void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst,
76 virtual void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst,
DVkLayer.h60 sk_sp<SkImage> getImage() { in getImage()
75 sk_sp<SkImage> mImage;
DSkiaCanvasProxy.cpp151 void SkiaCanvasProxy::onDrawImage(const SkImage* image, SkScalar left, SkScalar top, in onDrawImage()
154 if (image->asLegacyBitmap(&skiaBitmap, SkImage::kRO_LegacyBitmapMode)) { in onDrawImage()
159 void SkiaCanvasProxy::onDrawImageRect(const SkImage* image, const SkRect* srcPtr, const SkRect& dst, in onDrawImageRect()
162 if (image->asLegacyBitmap(&skiaBitmap, SkImage::kRO_LegacyBitmapMode)) { in onDrawImageRect()
170 void SkiaCanvasProxy::onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, in onDrawImageNine() argument
175 void SkiaCanvasProxy::onDrawImageLattice(const SkImage* image, const Lattice& lattice, in onDrawImageLattice()
DSkiaCanvas.cpp647 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode); in drawBitmapMesh()
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h114 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in onDrawImage() argument
118 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, in onDrawImageNine() argument
123 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*, in onDrawImageRect() argument
128 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst, in onDrawImageLattice() argument
DLayerDrawable.cpp43 sk_sp<SkImage> layerImage; in DrawLayer()
55 layerImage = SkImage::MakeFromTexture(context, textureDescription); in DrawLayer()
DSkiaRecordingCanvas.cpp174 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skBitmap, kNever_SkCopyPixelsMode); in drawBitmap()
188 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode); in drawBitmap()
203 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode); in drawBitmap()
234 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode); in drawNinePatch()
DSkiaPipeline.h37 bool pinImages(std::vector<SkImage*>& mutableImages) override;
123 std::vector<sk_sp<SkImage>> mPinnedImages;
DSkiaOpenGLReadback.cpp64 sk_sp<SkImage> image(SkImage::MakeFromAdoptedTexture(grContext.get(), textureDescription)); in copyImageInto()
DSkiaPipeline.cpp54 bool SkiaPipeline::pinImages(std::vector<SkImage*>& mutableImages) { in pinImages()
55 for (SkImage* image : mutableImages) { in pinImages()
160 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skiaBitmap, kNever_SkCopyPixelsMode); in prepareToDraw()
364 sk_sp<SkImage> counts = offscreen->makeImageSnapshot(); in renderOverdraw()
DSkiaDisplayList.h144 std::vector<SkImage*> mMutableImages;
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp51 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode); in createContent()
DHwBitmapInCompositeShader.cpp80 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skBitmap, kNever_SkCopyPixelsMode); in createBitmapShader()
/frameworks/base/libs/hwui/renderthread/
DIRenderPipeline.h75 virtual bool pinImages(std::vector<SkImage*>& mutableImages) = 0;
DOpenGLPipeline.h58 bool pinImages(std::vector<SkImage*>& mutableImages) override { return false; } in pinImages()
DCanvasContext.h90 bool pinImages(std::vector<SkImage*>& mutableImages) { in pinImages()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp156 sk_sp<SkImage> image = SkImage::MakeFromEncoded(data); in initTexture()
157 image->asLegacyBitmap(&bitmap, SkImage::kRO_LegacyBitmapMode); in initTexture()
211 sk_sp<SkImage> image = SkImage::MakeFromEncoded(data); in initTexture()
212 image->asLegacyBitmap(&bitmap, SkImage::kRO_LegacyBitmapMode); in initTexture()
/frameworks/base/core/jni/android/graphics/
DShader.cpp73 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode); in BitmapShader_constructor()