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

Side by Side Diff: cc/surfaces/display.h

Issue 1055743002: Revert of cc: Make scheduling be driven by vsync for android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « cc/scheduler/scheduler_unittest.cc ('k') | cc/surfaces/display.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CC_SURFACES_DISPLAY_H_ 5 #ifndef CC_SURFACES_DISPLAY_H_
6 #define CC_SURFACES_DISPLAY_H_ 6 #define CC_SURFACES_DISPLAY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void DidLoseOutputSurface() override; 77 void DidLoseOutputSurface() override;
78 void SetExternalDrawConstraints( 78 void SetExternalDrawConstraints(
79 const gfx::Transform& transform, 79 const gfx::Transform& transform,
80 const gfx::Rect& viewport, 80 const gfx::Rect& viewport,
81 const gfx::Rect& clip, 81 const gfx::Rect& clip,
82 const gfx::Rect& viewport_rect_for_tile_priority, 82 const gfx::Rect& viewport_rect_for_tile_priority,
83 const gfx::Transform& transform_for_tile_priority, 83 const gfx::Transform& transform_for_tile_priority,
84 bool resourceless_software_draw) override {} 84 bool resourceless_software_draw) override {}
85 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override; 85 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
86 void SetTreeActivationCallback(const base::Closure& callback) override {} 86 void SetTreeActivationCallback(const base::Closure& callback) override {}
87 void OnDraw() override;
88 87
89 // RendererClient implementation. 88 // RendererClient implementation.
90 void SetFullRootLayerDamage() override {} 89 void SetFullRootLayerDamage() override {}
91 90
92 // SurfaceDamageObserver implementation. 91 // SurfaceDamageObserver implementation.
93 void OnSurfaceDamaged(SurfaceId surface, bool* changed) override; 92 void OnSurfaceDamaged(SurfaceId surface, bool* changed) override;
94 93
95 private: 94 private:
96 void InitializeRenderer(); 95 void InitializeRenderer();
97 96
(...skipping 12 matching lines...) Expand all
110 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; 109 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_;
111 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; 110 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
112 std::vector<ui::LatencyInfo> stored_latency_info_; 111 std::vector<ui::LatencyInfo> stored_latency_info_;
113 112
114 DISALLOW_COPY_AND_ASSIGN(Display); 113 DISALLOW_COPY_AND_ASSIGN(Display);
115 }; 114 };
116 115
117 } // namespace cc 116 } // namespace cc
118 117
119 #endif // CC_SURFACES_DISPLAY_H_ 118 #endif // CC_SURFACES_DISPLAY_H_
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698