| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. All rights reserved. | 5 * Copyright (C) 2009 Google, Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>. | 7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 static void paintSubtree(GraphicsContext&, const LayoutObject*); | 123 static void paintSubtree(GraphicsContext&, const LayoutObject*); |
| 124 | 124 |
| 125 // TODO(fs): This functions feels a bit misplaced (we don't want this to | 125 // TODO(fs): This functions feels a bit misplaced (we don't want this to |
| 126 // turn into the new kitchen sink). Move it if a better location surfaces. | 126 // turn into the new kitchen sink). Move it if a better location surfaces. |
| 127 static bool paintForLayoutObject( | 127 static bool paintForLayoutObject( |
| 128 const PaintInfo&, | 128 const PaintInfo&, |
| 129 const ComputedStyle&, | 129 const ComputedStyle&, |
| 130 const LayoutObject&, | 130 const LayoutObject&, |
| 131 LayoutSVGResourceMode, | 131 LayoutSVGResourceMode, |
| 132 SkPaint&, | 132 CdlPaint&, |
| 133 const AffineTransform* additionalPaintServerTransform = nullptr); | 133 const AffineTransform* additionalPaintServerTransform = nullptr); |
| 134 | 134 |
| 135 private: | 135 private: |
| 136 void applyCompositingIfNecessary(); | 136 void applyCompositingIfNecessary(); |
| 137 void applyClipIfNecessary(); | 137 void applyClipIfNecessary(); |
| 138 | 138 |
| 139 // Return true if no masking is necessary or if the mask is successfully | 139 // Return true if no masking is necessary or if the mask is successfully |
| 140 // applied. | 140 // applied. |
| 141 bool applyMaskIfNecessary(SVGResources*); | 141 bool applyMaskIfNecessary(SVGResources*); |
| 142 | 142 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 155 Optional<ClipPathClipper> m_clipPathClipper; | 155 Optional<ClipPathClipper> m_clipPathClipper; |
| 156 std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext; | 156 std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext; |
| 157 #if ENABLE(ASSERT) | 157 #if ENABLE(ASSERT) |
| 158 bool m_applyClipMaskAndFilterIfNecessaryCalled; | 158 bool m_applyClipMaskAndFilterIfNecessaryCalled; |
| 159 #endif | 159 #endif |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 } // namespace blink | 162 } // namespace blink |
| 163 | 163 |
| 164 #endif // SVGPaintContext_h | 164 #endif // SVGPaintContext_h |
| OLD | NEW |