diff options
author | powei@chromium.org <powei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-26 01:43:51 +0000 |
---|---|---|
committer | powei@chromium.org <powei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-26 01:43:51 +0000 |
commit | 709c9543eec6ef6a9139daa6b34b03613c79fcc5 (patch) | |
tree | 1b85858a614f1cd9c9a418b43f0c8cc3d43e3999 /cc/trees/layer_tree_impl.h | |
parent | a948d427c9f184ec463d931490d4e1ccbc9c4b0e (diff) | |
download | chromium_src-709c9543eec6ef6a9139daa6b34b03613c79fcc5.zip chromium_src-709c9543eec6ef6a9139daa6b34b03613c79fcc5.tar.gz chromium_src-709c9543eec6ef6a9139daa6b34b03613c79fcc5.tar.bz2 |
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
Diffstat (limited to 'cc/trees/layer_tree_impl.h')
-rw-r--r-- | cc/trees/layer_tree_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<LayerImpl*> LayersWithCopyOutputRequest() const; |