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

Side by Side Diff: Source/core/rendering/compositing/CompositedLayerMapping.h

Issue 266453008: Get rid of extra clipping of composited layers in CompositedLayerMapping::updateCompositedBounds(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 7 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, 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 void updateImageContents(); 265 void updateImageContents();
266 266
267 Color rendererBackgroundColor() const; 267 Color rendererBackgroundColor() const;
268 void updateBackgroundColor(); 268 void updateBackgroundColor();
269 void updateContentsRect(); 269 void updateContentsRect();
270 void updateAfterWidgetResize(); 270 void updateAfterWidgetResize();
271 void updateCompositingReasons(); 271 void updateCompositingReasons();
272 272
273 bool hasVisibleNonCompositingDescendantLayers() const; 273 bool hasVisibleNonCompositingDescendantLayers() const;
274 274
275 bool shouldClipCompositedBounds() const;
276
277 void paintsIntoCompositedAncestorChanged(); 275 void paintsIntoCompositedAncestorChanged();
278 276
279 void doPaintTask(GraphicsLayerPaintInfo&, GraphicsContext*, const IntRect& c lip); 277 void doPaintTask(GraphicsLayerPaintInfo&, GraphicsContext*, const IntRect& c lip);
280 278
281 RenderLayer& m_owningLayer; 279 RenderLayer& m_owningLayer;
282 280
283 // The hierarchy of layers that is maintained by the CompositedLayerMapping looks like this: 281 // The hierarchy of layers that is maintained by the CompositedLayerMapping looks like this:
284 // 282 //
285 // + m_ancestorClippingLayer [OPTIONAL] 283 // + m_ancestorClippingLayer [OPTIONAL]
286 // + m_graphicsLayer 284 // + m_graphicsLayer
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool m_requiresOwnBackingStoreForAncestorReasons : 1; 373 bool m_requiresOwnBackingStoreForAncestorReasons : 1;
376 bool m_canCompositeFilters : 1; 374 bool m_canCompositeFilters : 1;
377 bool m_backgroundLayerPaintsFixedRootBackground : 1; 375 bool m_backgroundLayerPaintsFixedRootBackground : 1;
378 bool m_needToUpdateGraphicsLayer : 1; 376 bool m_needToUpdateGraphicsLayer : 1;
379 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; 377 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1;
380 }; 378 };
381 379
382 } // namespace WebCore 380 } // namespace WebCore
383 381
384 #endif // CompositedLayerMapping_h 382 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698