| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef GeometryMapperTransformCache_h | 5 #ifndef GeometryMapperTransformCache_h |
| 6 #define GeometryMapperTransformCache_h | 6 #define GeometryMapperTransformCache_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 | 9 |
| 10 #include "platform/transforms/TransformationMatrix.h" | 10 #include "platform/transforms/TransformationMatrix.h" |
| 11 #include "wtf/Vector.h" | 11 #include "platform/wtf/Vector.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class TransformPaintPropertyNode; | 15 class TransformPaintPropertyNode; |
| 16 | 16 |
| 17 // A GeometryMapperTransformCache hangs off a TransformPaintPropertyNode. It | 17 // A GeometryMapperTransformCache hangs off a TransformPaintPropertyNode. It |
| 18 // stores cached "transformed rects" (See GeometryMapper.h) from that node in | 18 // stores cached "transformed rects" (See GeometryMapper.h) from that node in |
| 19 // ancestor spaces. | 19 // ancestor spaces. |
| 20 class PLATFORM_EXPORT GeometryMapperTransformCache { | 20 class PLATFORM_EXPORT GeometryMapperTransformCache { |
| 21 USING_FAST_MALLOC(GeometryMapperTransformCache); | 21 USING_FAST_MALLOC(GeometryMapperTransformCache); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 51 | 51 |
| 52 Vector<TransformCacheEntry> m_transformCache; | 52 Vector<TransformCacheEntry> m_transformCache; |
| 53 unsigned m_cacheGeneration; | 53 unsigned m_cacheGeneration; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(GeometryMapperTransformCache); | 55 DISALLOW_COPY_AND_ASSIGN(GeometryMapperTransformCache); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| 59 | 59 |
| 60 #endif // GeometryMapperTransformCache_h | 60 #endif // GeometryMapperTransformCache_h |
| OLD | NEW |