Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: dm/DMSrcSinkAndroid.h

Issue 1678293002: DM: this must have been missing from the previous CL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSinkAndroid.h
diff --git a/dm/DMSrcSinkAndroid.h b/dm/DMSrcSinkAndroid.h
index 02eb1c98c1b07a1fe4c55d4e8452e0abe3d1b316..2d7ad65ca0f352fb14141472166fc57def423a61 100644
--- a/dm/DMSrcSinkAndroid.h
+++ b/dm/DMSrcSinkAndroid.h
@@ -23,7 +23,7 @@ public:
HWUISink() { }
Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
- int enclave() const override { return kGPU_Enclave; }
+ bool serial() const override { return true; }
const char* fileExtension() const override { return "png"; }
SinkFlags flags() const override { return SinkFlags{ SinkFlags::kGPU, SinkFlags::kDirect }; }
};
@@ -37,7 +37,7 @@ public:
explicit ViaAndroidSDK(Sink*);
Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
- int enclave() const override { return fSink->enclave(); }
+ bool serial() const override { return fSink->serial(); }
const char* fileExtension() const override { return fSink->fileExtension(); }
SinkFlags flags() const override {
SinkFlags flags = fSink->flags();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698