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

Unified Diff: cc/resources/resource_provider.h

Issue 1387283002: cc: Remove redundant is_overlay arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 4af135eab57613d1070f77558020606222b00357..cc118a87682a0b114cc9b9f96ad173718c5ad0c5 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -422,6 +422,8 @@ class CC_EXPORT ResourceProvider
// Indicates if we can currently lock this resource for write.
bool CanLockForWrite(ResourceId id);
+ bool IsBoundToImage(ResourceId id);
+
void WaitSyncPointIfNeeded(ResourceId id);
static GLint GetActiveTextureUnit(gpu::gles2::GLES2Interface* gl);
@@ -495,6 +497,7 @@ class CC_EXPORT ResourceProvider
bool allocated : 1;
bool read_lock_fences_enabled : 1;
bool has_shared_bitmap_id : 1;
+ bool bound_to_image : 1;
reveman 2015/10/07 09:32:58 I think this is a bit confusing as we already have
ccameron 2015/10/07 19:13:11 Yeah the original name promises a bit too much. Ch
reveman 2015/10/07 19:24:18 Good point.
scoped_refptr<Fence> read_lock_fence;
gfx::Size size;
Origin origin;

Powered by Google App Engine
This is Rietveld 408576698