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

Side by Side Diff: Source/core/rendering/RenderLayerCompositor.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 GraphicsLayer* updateLayerForTopOverhangArea(bool wantsLayer); 224 GraphicsLayer* updateLayerForTopOverhangArea(bool wantsLayer);
225 GraphicsLayer* updateLayerForBottomOverhangArea(bool wantsLayer); 225 GraphicsLayer* updateLayerForBottomOverhangArea(bool wantsLayer);
226 #endif 226 #endif
227 227
228 void updateViewportConstraintStatus(RenderLayer*); 228 void updateViewportConstraintStatus(RenderLayer*);
229 void removeViewportConstrainedLayer(RenderLayer*); 229 void removeViewportConstrainedLayer(RenderLayer*);
230 230
231 void resetTrackedRepaintRects(); 231 void resetTrackedRepaintRects();
232 void setTracksRepaints(bool); 232 void setTracksRepaints(bool);
233 233
234 void reportMemoryUsage(MemoryObjectInfo*) const;
235 void setShouldReevaluateCompositingAfterLayout() { m_reevaluateCompositingAf terLayout = true; } 234 void setShouldReevaluateCompositingAfterLayout() { m_reevaluateCompositingAf terLayout = true; }
236 235
237 bool viewHasTransparentBackground(Color* backgroundColor = 0) const; 236 bool viewHasTransparentBackground(Color* backgroundColor = 0) const;
238 237
239 CompositingReasons reasonsForCompositing(const RenderLayer*) const; 238 CompositingReasons reasonsForCompositing(const RenderLayer*) const;
240 239
241 private: 240 private:
242 class OverlapMap; 241 class OverlapMap;
243 242
244 // GraphicsLayerClient implementation 243 // GraphicsLayerClient implementation
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap. 384 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap.
386 double m_obligatoryBackingStoreBytes; 385 double m_obligatoryBackingStoreBytes;
387 double m_secondaryBackingStoreBytes; 386 double m_secondaryBackingStoreBytes;
388 #endif 387 #endif
389 }; 388 };
390 389
391 390
392 } // namespace WebCore 391 } // namespace WebCore
393 392
394 #endif // RenderLayerCompositor_h 393 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerBacking.cpp ('k') | Source/core/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698