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); |