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

Side by Side Diff: Source/core/rendering/RenderLayerBacking.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
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerBacking.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 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 void updateFilters(const RenderStyle*); 172 void updateFilters(const RenderStyle*);
173 bool canCompositeFilters() const { return m_canCompositeFilters; } 173 bool canCompositeFilters() const { return m_canCompositeFilters; }
174 174
175 // Return an estimate of the backing store area (in pixels) allocated by thi s object's GraphicsLayers. 175 // Return an estimate of the backing store area (in pixels) allocated by thi s object's GraphicsLayers.
176 double backingStoreMemoryEstimate() const; 176 double backingStoreMemoryEstimate() const;
177 177
178 #if ENABLE(CSS_COMPOSITING) 178 #if ENABLE(CSS_COMPOSITING)
179 void setBlendMode(BlendMode); 179 void setBlendMode(BlendMode);
180 #endif 180 #endif
181 void reportMemoryUsage(MemoryObjectInfo*) const;
182 181
183 private: 182 private:
184 void createPrimaryGraphicsLayer(); 183 void createPrimaryGraphicsLayer();
185 void destroyGraphicsLayers(); 184 void destroyGraphicsLayers();
186 185
187 PassOwnPtr<GraphicsLayer> createGraphicsLayer(const String&); 186 PassOwnPtr<GraphicsLayer> createGraphicsLayer(const String&);
188 187
189 RenderLayerModelObject* renderer() const { return m_owningLayer->renderer(); } 188 RenderLayerModelObject* renderer() const { return m_owningLayer->renderer(); }
190 RenderLayerCompositor* compositor() const { return m_owningLayer->compositor (); } 189 RenderLayerCompositor* compositor() const { return m_owningLayer->compositor (); }
191 190
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 bool m_boundsConstrainedByClipping; 272 bool m_boundsConstrainedByClipping;
274 bool m_isMainFrameRenderViewLayer; 273 bool m_isMainFrameRenderViewLayer;
275 bool m_requiresOwnBackingStore; 274 bool m_requiresOwnBackingStore;
276 bool m_canCompositeFilters; 275 bool m_canCompositeFilters;
277 bool m_backgroundLayerPaintsFixedRootBackground; 276 bool m_backgroundLayerPaintsFixedRootBackground;
278 }; 277 };
279 278
280 } // namespace WebCore 279 } // namespace WebCore
281 280
282 #endif // RenderLayerBacking_h 281 #endif // RenderLayerBacking_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerBacking.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698