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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2267263002: cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: renderer-caps: rebase Created 4 years, 4 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
« no previous file with comments | « cc/trees/proxy_impl.h ('k') | cc/trees/proxy_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 7defc51fd4b093d6b995c1b282d38af7ea943d12..3a6f2db319847a10c0e1d43e28c366f80a0bb220 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -146,14 +146,7 @@ void ProxyImpl::InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) {
LayerTreeHostImpl* host_impl = layer_tree_host_impl_.get();
bool success = host_impl->InitializeRenderer(output_surface);
- RendererCapabilities capabilities;
- if (success) {
- capabilities =
- host_impl->GetRendererCapabilities().MainThreadCapabilities();
- }
-
- channel_impl_->DidInitializeOutputSurface(success, capabilities);
-
+ channel_impl_->DidInitializeOutputSurface(success);
if (success)
scheduler_->DidCreateAndInitializeOutputSurface();
}
@@ -277,13 +270,6 @@ void ProxyImpl::NotifyReadyToCommitOnImpl(
scheduler_->NotifyReadyToCommit();
}
-void ProxyImpl::UpdateRendererCapabilitiesOnImplThread() {
- DCHECK(IsImplThread());
- channel_impl_->SetRendererCapabilitiesMainCopy(
- layer_tree_host_impl_->GetRendererCapabilities()
- .MainThreadCapabilities());
-}
-
void ProxyImpl::DidLoseOutputSurfaceOnImplThread() {
TRACE_EVENT0("cc", "ProxyImpl::DidLoseOutputSurfaceOnImplThread");
DCHECK(IsImplThread());
« no previous file with comments | « cc/trees/proxy_impl.h ('k') | cc/trees/proxy_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698