Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DReadback.cpp40 CopyResult Readback::copySurfaceInto(ANativeWindow* window, const Rect& inSrcRect, in copySurfaceInto()
61 return CopyResult::UnknownError; in copySurfaceInto()
65 return CopyResult::SourceEmpty; in copySurfaceInto()
72 return CopyResult::SourceInvalid; in copySurfaceInto()
77 return CopyResult::Timeout; in copySurfaceInto()
86 return CopyResult::UnknownError; in copySurfaceInto()
114 return CopyResult::UnknownError; in copySurfaceInto()
130 return CopyResult::UnknownError; in copySurfaceInto()
201 return CopyResult::UnknownError; in copySurfaceInto()
207 return CopyResult::Success; in copySurfaceInto()
[all …]
DReadback.h35 enum class CopyResult { enum
50 CopyResult copySurfaceInto(ANativeWindow* window, const Rect& srcRect, SkBitmap* bitmap);
52 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
53 CopyResult copyImageInto(const sk_sp<SkImage>& image, SkBitmap* bitmap);
55 CopyResult copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap);
58 CopyResult copySurfaceIntoLegacy(ANativeWindow* window, const Rect& srcRect, SkBitmap* bitmap);
59 CopyResult copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform,
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp167 return thread.readback().copyLayerInto(layer, &bitmap) == CopyResult::Success; in copyLayerInto()