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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 1341423006: Removing GL context rate limiting feature and related wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed mojo autogens Created 5 years, 3 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 | « content/renderer/gpu/render_widget_compositor.h ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 75828bf5d18724239f34ddd5b7dc559caea025cc..fe475a0edf051f0c2d5874234acd0f389306d840 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -1005,16 +1005,6 @@ void RenderWidgetCompositor::RecordFrameTimingEvents(
}
}
-void RenderWidgetCompositor::RateLimitSharedMainThreadContext() {
- cc::ContextProvider* provider =
- compositor_deps_->GetSharedMainThreadContextProvider();
- // provider can be NULL after the GPU process crashed enough times and we
- // don't want to restart it any more (falling back to software).
- if (!provider)
- return;
- provider->ContextGL()->RateLimitOffscreenContextCHROMIUM();
-}
-
void RenderWidgetCompositor::SetSurfaceIdNamespace(
uint32_t surface_id_namespace) {
layer_tree_host_->set_surface_id_namespace(surface_id_namespace);
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698