| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #if USE(ACCELERATED_COMPOSITING) | 7 #if USE(ACCELERATED_COMPOSITING) |
| 8 #include "LayerChromium.h" | 8 #include "LayerChromium.h" |
| 9 | 9 |
| 10 #include "CCActiveAnimation.h" | 10 #include "CCActiveAnimation.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 , m_useParentBackfaceVisibility(false) | 57 , m_useParentBackfaceVisibility(false) |
| 58 , m_drawCheckerboardForMissingTiles(false) | 58 , m_drawCheckerboardForMissingTiles(false) |
| 59 , m_forceRenderSurface(false) | 59 , m_forceRenderSurface(false) |
| 60 , m_replicaLayer(0) | 60 , m_replicaLayer(0) |
| 61 , m_drawOpacity(0) | 61 , m_drawOpacity(0) |
| 62 , m_drawOpacityIsAnimating(false) | 62 , m_drawOpacityIsAnimating(false) |
| 63 , m_renderTarget(0) | 63 , m_renderTarget(0) |
| 64 , m_drawTransformIsAnimating(false) | 64 , m_drawTransformIsAnimating(false) |
| 65 , m_screenSpaceTransformIsAnimating(false) | 65 , m_screenSpaceTransformIsAnimating(false) |
| 66 , m_contentsScale(1.0) | 66 , m_contentsScale(1.0) |
| 67 , m_initialCssScale(0) |
| 67 , m_boundsContainPageScale(false) | 68 , m_boundsContainPageScale(false) |
| 68 , m_layerAnimationDelegate(0) | 69 , m_layerAnimationDelegate(0) |
| 69 , m_layerScrollClient(0) | 70 , m_layerScrollClient(0) |
| 70 { | 71 { |
| 71 turnOffVerifier(); // In the component build we don't have WTF threading ini
tialized in this DLL so the thread verifier explodes. | 72 turnOffVerifier(); // In the component build we don't have WTF threading ini
tialized in this DLL so the thread verifier explodes. |
| 72 if (m_layerId < 0) { | 73 if (m_layerId < 0) { |
| 73 s_nextLayerId = 1; | 74 s_nextLayerId = 1; |
| 74 m_layerId = s_nextLayerId++; | 75 m_layerId = s_nextLayerId++; |
| 75 } | 76 } |
| 76 } | 77 } |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 return 0; | 779 return 0; |
| 779 } | 780 } |
| 780 | 781 |
| 781 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr
omium> >::iterator, void*) | 782 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr
omium> >::iterator, void*) |
| 782 { | 783 { |
| 783 // Currently we don't use z-order to decide what to paint, so there's no nee
d to actually sort LayerChromiums. | 784 // Currently we don't use z-order to decide what to paint, so there's no nee
d to actually sort LayerChromiums. |
| 784 } | 785 } |
| 785 | 786 |
| 786 } | 787 } |
| 787 #endif // USE(ACCELERATED_COMPOSITING) | 788 #endif // USE(ACCELERATED_COMPOSITING) |
| OLD | NEW |