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

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

Issue 329553003: Delete now-unnecessary hack for 0-size layers, now that we use transformOrigin (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 // m_squashingContainmentLayer 381 // m_squashingContainmentLayer
382 // + m_graphicsLayer 382 // + m_graphicsLayer
383 // + m_squashingLayer 383 // + m_squashingLayer
384 OwnPtr<GraphicsLayer> m_squashingContainmentLayer; // Only used if any squas hed layers exist and m_squashingContainmentLayer is not present, to contain the squashed layers as siblings to the rest of the GraphicsLayer tree chunk. 384 OwnPtr<GraphicsLayer> m_squashingContainmentLayer; // Only used if any squas hed layers exist and m_squashingContainmentLayer is not present, to contain the squashed layers as siblings to the rest of the GraphicsLayer tree chunk.
385 OwnPtr<GraphicsLayer> m_squashingLayer; // Only used if any squashed layers exist, this is the backing that squashed layers paint into. 385 OwnPtr<GraphicsLayer> m_squashingLayer; // Only used if any squashed layers exist, this is the backing that squashed layers paint into.
386 Vector<GraphicsLayerPaintInfo> m_squashedLayers; 386 Vector<GraphicsLayerPaintInfo> m_squashedLayers;
387 LayoutPoint m_squashingLayerOffsetFromTransformedAncestor; 387 LayoutPoint m_squashingLayerOffsetFromTransformedAncestor;
388 388
389 LayoutRect m_compositedBounds; 389 LayoutRect m_compositedBounds;
390 390
391 bool m_artificiallyInflatedBounds : 1; // bounds had to be made non-zero to make transform-origin work
392 bool m_isMainFrameRenderViewLayer : 1; 391 bool m_isMainFrameRenderViewLayer : 1;
393 bool m_requiresOwnBackingStoreForIntrinsicReasons : 1; 392 bool m_requiresOwnBackingStoreForIntrinsicReasons : 1;
394 bool m_requiresOwnBackingStoreForAncestorReasons : 1; 393 bool m_requiresOwnBackingStoreForAncestorReasons : 1;
395 bool m_canCompositeFilters : 1; 394 bool m_canCompositeFilters : 1;
396 bool m_backgroundLayerPaintsFixedRootBackground : 1; 395 bool m_backgroundLayerPaintsFixedRootBackground : 1;
397 bool m_needToUpdateGraphicsLayer : 1; 396 bool m_needToUpdateGraphicsLayer : 1;
398 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; 397 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1;
399 }; 398 };
400 399
401 } // namespace WebCore 400 } // namespace WebCore
402 401
403 #endif // CompositedLayerMapping_h 402 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698