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

Unified Diff: cc/resources/resource_provider.h

Issue 197223003: Start of hardware overlay support in CC with Ubercompositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « cc/quads/render_pass_unittest.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 73b5a23dcdf3c249f075946ce7a0c6deb77ac0d6..056ce2fc6f60c99b59373e73cefdefa60c0128d3 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -94,6 +94,7 @@ class CC_EXPORT ResourceProvider {
bool InUseByConsumer(ResourceId id);
bool IsLost(ResourceId id);
+ bool AllowOverlay(ResourceId id);
// Producer interface.
@@ -438,6 +439,7 @@ class CC_EXPORT ResourceProvider {
ResourceType type;
ResourceFormat format;
bool has_shared_bitmap_id;
+ bool allow_overlay;
SharedBitmapId shared_bitmap_id;
SharedBitmap* shared_bitmap;
linked_ptr<DirectRasterBuffer> direct_raster_buffer;
« no previous file with comments | « cc/quads/render_pass_unittest.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698