From 709c9543eec6ef6a9139daa6b34b03613c79fcc5 Mon Sep 17 00:00:00 2001 From: "powei@chromium.org" Date: Sat, 26 Oct 2013 01:43:51 +0000 Subject: cc: Add opacity to UIResourceBitmap and UIResourceLayer Store opacity information with UIResourceBitmap and on the LayerTreeHostImpl. This allows us to provide a valid opaque rect when append quads in the UIResourceLayer. BUG=300027 Review URL: https://codereview.chromium.org/42073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231178 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/trees/layer_tree_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cc/trees/layer_tree_impl.h') diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h index 76e6d53..1b40b92 100644 --- a/cc/trees/layer_tree_impl.h +++ b/cc/trees/layer_tree_impl.h @@ -212,6 +212,8 @@ class CC_EXPORT LayerTreeImpl { ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const; void ProcessUIResourceRequestQueue(); + bool IsUIResourceOpaque(UIResourceId uid) const; + void AddLayerWithCopyOutputRequest(LayerImpl* layer); void RemoveLayerWithCopyOutputRequest(LayerImpl* layer); const std::vector LayersWithCopyOutputRequest() const; -- cgit v1.1