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

Side by Side Diff: android_webview/browser/surfaces_instance.h

Issue 2321883002: cc: Remove SetMemoryPolicy from OutputSurface and Display. (Closed)
Patch Set: nits Created 4 years, 3 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 | « no previous file | blimp/client/support/compositor/blimp_layer_tree_settings.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void RemoveChildId(const cc::SurfaceId& child_id); 53 void RemoveChildId(const cc::SurfaceId& child_id);
54 54
55 private: 55 private:
56 friend class base::RefCounted<SurfacesInstance>; 56 friend class base::RefCounted<SurfacesInstance>;
57 57
58 SurfacesInstance(); 58 SurfacesInstance();
59 ~SurfacesInstance() override; 59 ~SurfacesInstance() override;
60 60
61 // cc::DisplayClient overrides. 61 // cc::DisplayClient overrides.
62 void DisplayOutputSurfaceLost() override {} 62 void DisplayOutputSurfaceLost() override {}
63 void DisplaySetMemoryPolicy(const cc::ManagedMemoryPolicy& policy) override {}
64 void DisplayWillDrawAndSwap( 63 void DisplayWillDrawAndSwap(
65 bool will_draw_and_swap, 64 bool will_draw_and_swap,
66 const cc::RenderPassList& render_passes) override {} 65 const cc::RenderPassList& render_passes) override {}
67 void DisplayDidDrawAndSwap() override {} 66 void DisplayDidDrawAndSwap() override {}
68 67
69 // cc::SurfaceFactoryClient implementation. 68 // cc::SurfaceFactoryClient implementation.
70 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 69 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
71 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; 70 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
72 71
73 void SetEmptyRootFrame(); 72 void SetEmptyRootFrame();
(...skipping 11 matching lines...) Expand all
85 84
86 // This is owned by |display_|. 85 // This is owned by |display_|.
87 ParentOutputSurface* output_surface_; 86 ParentOutputSurface* output_surface_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance); 88 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance);
90 }; 89 };
91 90
92 } // namespace android_webview 91 } // namespace android_webview
93 92
94 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 93 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | blimp/client/support/compositor/blimp_layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698