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

Unified Diff: src/core/SkSpecialImage.h

Issue 2246193002: Remove isOpaque from SkSpecialImage, just use alpha type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make alphaType pure virtual Created 4 years, 4 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 | src/core/SkSpecialImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkSpecialImage.h
diff --git a/src/core/SkSpecialImage.h b/src/core/SkSpecialImage.h
index 3c298828017aab916feb3fd2d1bb01fb95d79fcc..cd8c3141fb9150a3c022664d310c1871ca8924b5 100644
--- a/src/core/SkSpecialImage.h
+++ b/src/core/SkSpecialImage.h
@@ -53,7 +53,7 @@ public:
SkColorSpace* getColorSpace() const;
uint32_t uniqueID() const { return fUniqueID; }
- virtual bool isOpaque() const { return false; }
+ virtual SkAlphaType alphaType() const = 0;
virtual size_t getSize() const = 0;
/**
« no previous file with comments | « no previous file | src/core/SkSpecialImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698