Home
last modified time | relevance | path

Searched refs:CopyResult (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
DReadback.cpp38 CopyResult Readback::copySurfaceInto(Surface& surface, const Rect& srcRect, SkBitmap* bitmap) { in copySurfaceInto()
48 return CopyResult::UnknownError; in copySurfaceInto()
52 return CopyResult::SourceEmpty; in copySurfaceInto()
56 return CopyResult::SourceInvalid; in copySurfaceInto()
61 return CopyResult::Timeout; in copySurfaceInto()
64 return CopyResult::UnknownError; in copySurfaceInto()
75 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto()
86 CopyResult Readback::copyLayerInto(DeferredLayerUpdater* deferredLayer, SkBitmap* bitmap) { in copyLayerInto()
89 return CopyResult::UnknownError; in copyLayerInto()
96 CopyResult copyResult = CopyResult::UnknownError; in copyLayerInto()
[all …]
DReadback.h35 enum class CopyResult { enum
50 CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect, SkBitmap* bitmap);
52 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
54 CopyResult copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap);
57 CopyResult copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform,
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp168 return thread.readback().copyLayerInto(layer, &bitmap) == CopyResult::Success; in copyLayerInto()