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

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

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+fix Created 4 years, 7 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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_DELEGATE_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_
7 7
8 namespace blink { 8 namespace blink {
9 class WebWidget; 9 class WebWidget;
10 struct WebScreenInfo; 10 struct WebScreenInfo;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Requests a visual frame-based update to the state of the delegate if there 77 // Requests a visual frame-based update to the state of the delegate if there
78 // an update available. 78 // an update available.
79 virtual void UpdateVisualState() = 0; 79 virtual void UpdateVisualState() = 0;
80 80
81 // Indicates that the compositor is about to begin a frame. This is primarily 81 // Indicates that the compositor is about to begin a frame. This is primarily
82 // to signal to flow control mechanisms that a frame is beginning, not to 82 // to signal to flow control mechanisms that a frame is beginning, not to
83 // perform actual painting work. 83 // perform actual painting work.
84 virtual void WillBeginCompositorFrame() = 0; 84 virtual void WillBeginCompositorFrame() = 0;
85 85
86 // Indicates that the last commit would have a blurry content or potential
87 // performance regression in a fixed raster scale layer.
88 virtual void ReportFixedRasterScaleUseCounters(
89 bool has_blurry_content,
90 bool has_potential_performance_regression) = 0;
91
86 protected: 92 protected:
87 virtual ~RenderWidgetCompositorDelegate() {} 93 virtual ~RenderWidgetCompositorDelegate() {}
88 }; 94 };
89 95
90 } // namespace content 96 } // namespace content
91 97
92 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ 98 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698