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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 2390923002: Fix blurry content after disabling dev tools emulation (Closed)
Patch Set: Add function for LayerTreeHostRemote Created 4 years, 2 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/layers/picture_layer_impl.h ('k') | cc/trees/layer_tree_host_in_process.h » ('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 CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 // Requests a main frame update and also ensure that the host pulls layer 113 // Requests a main frame update and also ensure that the host pulls layer
114 // updates from the client, even if no content might have changed, without 114 // updates from the client, even if no content might have changed, without
115 // forcing a full commit synchronization. 115 // forcing a full commit synchronization.
116 virtual void SetNeedsUpdateLayers() = 0; 116 virtual void SetNeedsUpdateLayers() = 0;
117 117
118 // Requests that the next main frame update performs a full commit 118 // Requests that the next main frame update performs a full commit
119 // synchronization. 119 // synchronization.
120 virtual void SetNeedsCommit() = 0; 120 virtual void SetNeedsCommit() = 0;
121 121
122 // Requests that the next frame re-chooses crisp raster scales for all layers.
123 virtual void SetNeedsRecalculateRasterScales() = 0;
124
122 // Returns true if a main frame (for any pipeline stage above) has been 125 // Returns true if a main frame (for any pipeline stage above) has been
123 // requested. 126 // requested.
124 virtual bool BeginMainFrameRequested() const = 0; 127 virtual bool BeginMainFrameRequested() const = 0;
125 128
126 // Returns true if a main frame with commit synchronization has been 129 // Returns true if a main frame with commit synchronization has been
127 // requested. 130 // requested.
128 virtual bool CommitRequested() const = 0; 131 virtual bool CommitRequested() const = 0;
129 132
130 // Enables/disables the compositor from requesting main frame updates from the 133 // Enables/disables the compositor from requesting main frame updates from the
131 // client. 134 // client.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual void SetNextCommitWaitsForActivation() = 0; 201 virtual void SetNextCommitWaitsForActivation() = 0;
199 202
200 // The LayerTreeHost tracks whether the content is suitable for Gpu raster. 203 // The LayerTreeHost tracks whether the content is suitable for Gpu raster.
201 // Calling this will reset it back to not suitable state. 204 // Calling this will reset it back to not suitable state.
202 virtual void ResetGpuRasterizationTracking() = 0; 205 virtual void ResetGpuRasterizationTracking() = 0;
203 }; 206 };
204 207
205 } // namespace cc 208 } // namespace cc
206 209
207 #endif // CC_TREES_LAYER_TREE_HOST_H_ 210 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.h ('k') | cc/trees/layer_tree_host_in_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698