Lines Matching refs:AsyncReadResult
868 class AsyncReadResult {
870 AsyncReadResult(const AsyncReadResult&) = delete;
871 AsyncReadResult(AsyncReadResult&&) = delete;
872 AsyncReadResult& operator=(const AsyncReadResult&) = delete;
873 AsyncReadResult& operator=(AsyncReadResult&&) = delete;
875 virtual ~AsyncReadResult() = default;
881 AsyncReadResult() = default;
890 using ReadPixelsCallback = void(ReadPixelsContext, std::unique_ptr<const AsyncReadResult>);
913 AsyncReadResult containing pixel data in the requested color type, alpha type, and color
914 space. The AsyncReadResult will have count() == 1. Upon failure the callback is called with
915 nullptr for AsyncReadResult. For a GPU image this flushes work but a submit must occur to
918 The data is valid for the lifetime of AsyncReadResult with the exception that if the SkImage
946 AsyncReadResult containing the planar data. The AsyncReadResult will have count() == 3.
947 Upon failure the callback is called with nullptr for AsyncReadResult. For a GPU image this
951 The data is valid for the lifetime of AsyncReadResult with the exception that if the SkImage