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

Unified Diff: cc/resources/resource_provider.h

Issue 2017473002: cc: Lock resources directly in CALayerOverlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 25a52a52ad3543f0aa649f83c3e494fdb8617c64..77bbd2583c26a0542b676992830d5db713573d5a 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -345,8 +345,8 @@ class CC_EXPORT ResourceProvider
// This returns the GL texture that is backed by a GL image bound to the
// resource's GpuMemoryBuffer.
unsigned GetTextureId() const;
-
ResourceId GetResourceId() const;
+ bool IsOverlayCandidate() const;
erikchen 2016/05/26 00:32:01 not necessary if you choose to follow my suggestio
private:
ResourceProvider* resource_provider_;

Powered by Google App Engine
This is Rietveld 408576698