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

Unified Diff: cc/layers/layer.h

Issue 2688673003: cc: Distinguish single texture mask from normal masks (Closed)
Patch Set: Created 3 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 | 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 0016527f3f4906bfda7a9927580d17870eb3b918..56e2d7a28101900745400a5f1f570e11e072659a 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -313,6 +313,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
// Returns true iff anything was updated that needs to be committed.
virtual bool Update();
virtual void SetIsMask(bool is_mask) {}
enne (OOO) 2017/02/09 18:37:06 Sorry for the API nit, but because these two funct
+ virtual void SetIsSingleTextureMask(bool is_single_texture_mask_) {}
virtual bool IsSuitableForGpuRasterization() const;
virtual std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
« 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