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

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
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 73b5a23dcdf3c249f075946ce7a0c6deb77ac0d6..ffee9d9317fcdd26460ad04e95342349e462e244 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 HasNativeBufferBacking(ResourceId id);
// Producer interface.
@@ -438,6 +439,7 @@ class CC_EXPORT ResourceProvider {
ResourceType type;
ResourceFormat format;
bool has_shared_bitmap_id;
+ bool has_native_buffer_backing;
piman 2014/03/14 03:42:34 nit: Similar to comment in TextureMailbox, this ma
SharedBitmapId shared_bitmap_id;
SharedBitmap* shared_bitmap;
linked_ptr<DirectRasterBuffer> direct_raster_buffer;

Powered by Google App Engine
This is Rietveld 408576698