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

Unified Diff: content/renderer/render_widget.cc

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 16872d83246fe385e7d37fd59e0d04bccbd4435d..4c5b7c616da7c74040a9ff777706ee2060bfc6b8 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -569,7 +569,8 @@ scoped_ptr<cc::OutputSurface> RenderWidget::CreateOutputSurface() {
attributes.antialias = false;
attributes.shareResources = true;
attributes.noAutomaticFlushes = true;
- WebKit::WebGraphicsContext3D* context = CreateGraphicsContext3D(attributes);
+ WebGraphicsContext3DCommandBufferImpl* context =
+ CreateGraphicsContext3D(attributes);
if (!context)
return scoped_ptr<cc::OutputSurface>();
@@ -2300,7 +2301,7 @@ bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const {
return true;
}
-WebKit::WebGraphicsContext3D* RenderWidget::CreateGraphicsContext3D(
+WebGraphicsContext3DCommandBufferImpl* RenderWidget::CreateGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes& attributes) {
if (!webwidget_)
return NULL;
« content/renderer/gpu/compositor_output_surface.cc ('K') | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698