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

Unified Diff: cc/trees/layer_tree_host.h

Issue 151093005: cc: Update Main RendererCapabilities on DeferredInitialize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Release Mailbox if UsingSharedMemoryResources changed in TextureLayer::Update Created 6 years, 10 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/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 1a2a65b4a62396a1788351b5ba1591624aab103f..48a03ef168cc8cbf6544cb44de00000f43eecab2 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -73,6 +73,9 @@ struct CC_EXPORT RendererCapabilities {
RendererCapabilities();
~RendererCapabilities();
+ bool operator==(const RendererCapabilities& other) const;
+ bool operator!=(const RendererCapabilities& other) const;
+
// Duplicate any modification to this list to RendererCapabilitiesImpl.
ResourceFormat best_texture_format;
bool allow_partial_texture_updates;
@@ -129,6 +132,7 @@ class CC_EXPORT LayerTreeHost {
};
virtual CreateResult OnCreateAndInitializeOutputSurfaceAttempted(
bool success);
+ void RendererCapabilitiesChanged();
void DidCommitAndDrawFrame() { client_->DidCommitAndDrawFrame(); }
void DidCompleteSwapBuffers() { client_->DidCompleteSwapBuffers(); }
void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider);

Powered by Google App Engine
This is Rietveld 408576698