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

Side by Side Diff: ui/compositor/compositor.h

Issue 2068413002: cc: Remove fixed raster scale, stop rasterizing with will-change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 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
« no previous file with comments | « third_party/WebKit/public/web/WebWidget.h ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 float page_scale, 300 float page_scale,
301 float top_controls_delta) override {} 301 float top_controls_delta) override {}
302 void RequestNewOutputSurface() override; 302 void RequestNewOutputSurface() override;
303 void DidInitializeOutputSurface() override; 303 void DidInitializeOutputSurface() override;
304 void DidFailToInitializeOutputSurface() override; 304 void DidFailToInitializeOutputSurface() override;
305 void WillCommit() override {} 305 void WillCommit() override {}
306 void DidCommit() override; 306 void DidCommit() override;
307 void DidCommitAndDrawFrame() override; 307 void DidCommitAndDrawFrame() override;
308 void DidCompleteSwapBuffers() override; 308 void DidCompleteSwapBuffers() override;
309 void DidCompletePageScaleAnimation() override {} 309 void DidCompletePageScaleAnimation() override {}
310 void ReportFixedRasterScaleUseCounters(
311 bool has_blurry_content,
312 bool has_potential_performance_regression) override {}
313 310
314 // cc::LayerTreeHostSingleThreadClient implementation. 311 // cc::LayerTreeHostSingleThreadClient implementation.
315 void DidPostSwapBuffers() override; 312 void DidPostSwapBuffers() override;
316 void DidAbortSwapBuffers() override; 313 void DidAbortSwapBuffers() override;
317 314
318 bool IsLocked() { return compositor_lock_ != NULL; } 315 bool IsLocked() { return compositor_lock_ != NULL; }
319 316
320 void SetOutputIsSecure(bool output_is_secure); 317 void SetOutputIsSecure(bool output_is_secure);
321 318
322 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; 319 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 scoped_refptr<cc::AnimationTimeline> animation_timeline_; 373 scoped_refptr<cc::AnimationTimeline> animation_timeline_;
377 374
378 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 375 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
379 376
380 DISALLOW_COPY_AND_ASSIGN(Compositor); 377 DISALLOW_COPY_AND_ASSIGN(Compositor);
381 }; 378 };
382 379
383 } // namespace ui 380 } // namespace ui
384 381
385 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 382 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebWidget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698