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

Side by Side Diff: cc/CCLayerTreeHost.h

Issue 10919227: Roll in CC changes up to 128196 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/CCLayerTreeHost.cpp » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CCLayerTreeHost_h 5 #ifndef CCLayerTreeHost_h
6 #define CCLayerTreeHost_h 6 #define CCLayerTreeHost_h
7 7
8 #include "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCGraphicsContext.h" 9 #include "CCGraphicsContext.h"
10 #include "CCLayerTreeHostClient.h" 10 #include "CCLayerTreeHostClient.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 const IntSize& deviceViewportSize() const { return m_deviceViewportSize; } 184 const IntSize& deviceViewportSize() const { return m_deviceViewportSize; }
185 185
186 void setPageScaleFactorAndLimits(float pageScaleFactor, float minPageScaleFa ctor, float maxPageScaleFactor); 186 void setPageScaleFactorAndLimits(float pageScaleFactor, float minPageScaleFa ctor, float maxPageScaleFactor);
187 187
188 void setBackgroundColor(SkColor color) { m_backgroundColor = color; } 188 void setBackgroundColor(SkColor color) { m_backgroundColor = color; }
189 189
190 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; } 190 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; }
191 191
192 CCPrioritizedTextureManager* contentsTextureManager() const; 192 CCPrioritizedTextureManager* contentsTextureManager() const;
193 193
194 // This will cause contents texture manager to evict all textures, but 194 void unlinkAllContentTextures();
195 // without deleting them. This happens after all content textures have 195 void deleteUnlinkedTextures();
196 // already been deleted on impl, after getting a 0 allocation limit.
197 // Set during a commit, but before updateLayers.
198 void evictAllContentTextures();
199 196
200 bool visible() const { return m_visible; } 197 bool visible() const { return m_visible; }
201 void setVisible(bool); 198 void setVisible(bool);
202 199
203 void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, double durationSec); 200 void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, double durationSec);
204 201
205 void applyScrollAndScale(const CCScrollAndScaleSet&); 202 void applyScrollAndScale(const CCScrollAndScaleSet&);
206 203
207 void startRateLimiter(WebKit::WebGraphicsContext3D*); 204 void startRateLimiter(WebKit::WebGraphicsContext3D*);
208 void stopRateLimiter(WebKit::WebGraphicsContext3D*); 205 void stopRateLimiter(WebKit::WebGraphicsContext3D*);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 284
288 TextureList m_deleteTextureAfterCommitList; 285 TextureList m_deleteTextureAfterCommitList;
289 size_t m_partialTextureUpdateRequests; 286 size_t m_partialTextureUpdateRequests;
290 287
291 static bool s_needsFilterContext; 288 static bool s_needsFilterContext;
292 }; 289 };
293 290
294 } 291 }
295 292
296 #endif 293 #endif
OLDNEW
« no previous file with comments | « no previous file | cc/CCLayerTreeHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698