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

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

Issue 2188943002: Remove OutputSurfaceClient external clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittests compile Created 4 years, 4 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
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 <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const gpu::TextureInUseResponses& responses) override; 94 const gpu::TextureInUseResponses& responses) override;
95 void ReclaimResources(const ReturnedResourceArray& resources) override; 95 void ReclaimResources(const ReturnedResourceArray& resources) override;
96 void DidLoseOutputSurface() override; 96 void DidLoseOutputSurface() override;
97 void SetExternalTilePriorityConstraints( 97 void SetExternalTilePriorityConstraints(
98 const gfx::Rect& viewport_rect, 98 const gfx::Rect& viewport_rect,
99 const gfx::Transform& transform) override; 99 const gfx::Transform& transform) override;
100 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override; 100 void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
101 void SetTreeActivationCallback(const base::Closure& callback) override; 101 void SetTreeActivationCallback(const base::Closure& callback) override;
102 void OnDraw(const gfx::Transform& transform, 102 void OnDraw(const gfx::Transform& transform,
103 const gfx::Rect& viewport, 103 const gfx::Rect& viewport,
104 const gfx::Rect& clip,
105 bool resourceless_software_draw) override; 104 bool resourceless_software_draw) override;
106 105
107 // RendererClient implementation. 106 // RendererClient implementation.
108 void SetFullRootLayerDamage() override; 107 void SetFullRootLayerDamage() override;
109 108
110 // SurfaceDamageObserver implementation. 109 // SurfaceDamageObserver implementation.
111 void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override; 110 void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override;
112 111
113 void SetEnlargePassTextureAmountForTesting( 112 void SetEnlargePassTextureAmountForTesting(
114 const gfx::Size& enlarge_texture_amount) { 113 const gfx::Size& enlarge_texture_amount) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 SoftwareRenderer* software_renderer_ = nullptr; 149 SoftwareRenderer* software_renderer_ = nullptr;
151 std::vector<ui::LatencyInfo> stored_latency_info_; 150 std::vector<ui::LatencyInfo> stored_latency_info_;
152 151
153 private: 152 private:
154 DISALLOW_COPY_AND_ASSIGN(Display); 153 DISALLOW_COPY_AND_ASSIGN(Display);
155 }; 154 };
156 155
157 } // namespace cc 156 } // namespace cc
158 157
159 #endif // CC_SURFACES_DISPLAY_H_ 158 #endif // CC_SURFACES_DISPLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698