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

Unified Diff: cc/layers/layer.h

Issue 2184773002: cc: Move blend_mode to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 25586cff6e16fdb6f8871524cbf71fdcb9d0b1b2..6821f12d8bd5deac88f0e7902058ee7c471b475d 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -150,10 +150,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
}
SkXfermode::Mode draw_blend_mode() const { return draw_blend_mode_; }
- bool uses_default_blend_mode() const {
- return inputs_.blend_mode == SkXfermode::kSrcOver_Mode;
- }
-
// A layer is root for an isolated group when it and all its descendants are
// drawn over a black and fully transparent background, creating an isolated
// group. It should be used along with SetBlendMode(), in order to restrict
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698