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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 349733002: Revert of Accelerate small canvases if Ganesh is on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 virtual void registerViewportLayers( 113 virtual void registerViewportLayers(
114 const blink::WebLayer* pageScaleLayer, 114 const blink::WebLayer* pageScaleLayer,
115 const blink::WebLayer* innerViewportScrollLayer, 115 const blink::WebLayer* innerViewportScrollLayer,
116 const blink::WebLayer* outerViewportScrollLayer) OVERRIDE; 116 const blink::WebLayer* outerViewportScrollLayer) OVERRIDE;
117 virtual void clearViewportLayers() OVERRIDE; 117 virtual void clearViewportLayers() OVERRIDE;
118 virtual void setShowFPSCounter(bool show); 118 virtual void setShowFPSCounter(bool show);
119 virtual void setShowPaintRects(bool show); 119 virtual void setShowPaintRects(bool show);
120 virtual void setShowDebugBorders(bool show); 120 virtual void setShowDebugBorders(bool show);
121 virtual void setContinuousPaintingEnabled(bool enabled); 121 virtual void setContinuousPaintingEnabled(bool enabled);
122 virtual void setShowScrollBottleneckRects(bool show); 122 virtual void setShowScrollBottleneckRects(bool show);
123 virtual bool usesGpuRasterization() OVERRIDE;
124 123
125 // cc::LayerTreeHostClient implementation. 124 // cc::LayerTreeHostClient implementation.
126 virtual void WillBeginMainFrame(int frame_id) OVERRIDE; 125 virtual void WillBeginMainFrame(int frame_id) OVERRIDE;
127 virtual void DidBeginMainFrame() OVERRIDE; 126 virtual void DidBeginMainFrame() OVERRIDE;
128 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE; 127 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE;
129 virtual void Layout() OVERRIDE; 128 virtual void Layout() OVERRIDE;
130 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, 129 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
131 float page_scale) OVERRIDE; 130 float page_scale) OVERRIDE;
132 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 131 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
133 OVERRIDE; 132 OVERRIDE;
(...skipping 17 matching lines...) Expand all
151 150
152 bool threaded_; 151 bool threaded_;
153 bool suppress_schedule_composite_; 152 bool suppress_schedule_composite_;
154 RenderWidget* widget_; 153 RenderWidget* widget_;
155 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 154 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
156 }; 155 };
157 156
158 } // namespace content 157 } // namespace content
159 158
160 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 159 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698