OLD | NEW |
---|---|
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 Loading... | |
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 {} | |
brianderson
2015/03/25 23:10:37
NOTREACHED?
sunnyps
2015/03/27 00:52:48
Done.
| |
87 | 88 |
88 // RendererClient implementation. | 89 // RendererClient implementation. |
89 void SetFullRootLayerDamage() override {} | 90 void SetFullRootLayerDamage() override {} |
90 | 91 |
91 // SurfaceDamageObserver implementation. | 92 // SurfaceDamageObserver implementation. |
92 void OnSurfaceDamaged(SurfaceId surface, bool* changed) override; | 93 void OnSurfaceDamaged(SurfaceId surface, bool* changed) override; |
93 | 94 |
94 private: | 95 private: |
95 void InitializeRenderer(); | 96 void InitializeRenderer(); |
96 | 97 |
(...skipping 12 matching lines...) Expand all Loading... | |
109 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; | 110 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; |
110 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; | 111 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; |
111 std::vector<ui::LatencyInfo> stored_latency_info_; | 112 std::vector<ui::LatencyInfo> stored_latency_info_; |
112 | 113 |
113 DISALLOW_COPY_AND_ASSIGN(Display); | 114 DISALLOW_COPY_AND_ASSIGN(Display); |
114 }; | 115 }; |
115 | 116 |
116 } // namespace cc | 117 } // namespace cc |
117 | 118 |
118 #endif // CC_SURFACES_DISPLAY_H_ | 119 #endif // CC_SURFACES_DISPLAY_H_ |
OLD | NEW |