| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 University of Szeged | 2 * Copyright (C) 2010 University of Szeged |
| 3 * Copyright (C) 2010 Zoltan Herczeg | 3 * Copyright (C) 2010 Zoltan Herczeg |
| 4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef FELighting_h | 28 #ifndef FELighting_h |
| 29 #define FELighting_h | 29 #define FELighting_h |
| 30 | 30 |
| 31 #include "core/platform/graphics/Color.h" | |
| 32 #include "core/platform/graphics/filters/Filter.h" | 31 #include "core/platform/graphics/filters/Filter.h" |
| 33 #include "core/platform/graphics/filters/FilterEffect.h" | 32 #include "core/platform/graphics/filters/FilterEffect.h" |
| 34 #include "core/platform/graphics/filters/LightSource.h" | 33 #include "core/platform/graphics/filters/LightSource.h" |
| 35 #include "core/platform/graphics/filters/PointLightSource.h" | 34 #include "core/platform/graphics/filters/PointLightSource.h" |
| 36 #include "core/platform/graphics/filters/SpotLightSource.h" | 35 #include "core/platform/graphics/filters/SpotLightSource.h" |
| 36 #include "platform/graphics/Color.h" |
| 37 #include "wtf/Uint8ClampedArray.h" | 37 #include "wtf/Uint8ClampedArray.h" |
| 38 | 38 |
| 39 // Common base class for FEDiffuseLighting and FESpecularLighting | 39 // Common base class for FEDiffuseLighting and FESpecularLighting |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 | 42 |
| 43 struct FELightingPaintingDataForNeon; | 43 struct FELightingPaintingDataForNeon; |
| 44 | 44 |
| 45 class FELighting : public FilterEffect { | 45 class FELighting : public FilterEffect { |
| 46 public: | 46 public: |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 float m_kernelUnitLengthY; | 119 float m_kernelUnitLengthY; |
| 120 | 120 |
| 121 private: | 121 private: |
| 122 virtual void applySoftware() OVERRIDE; | 122 virtual void applySoftware() OVERRIDE; |
| 123 virtual bool applySkia() OVERRIDE; | 123 virtual bool applySkia() OVERRIDE; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace WebCore | 126 } // namespace WebCore |
| 127 | 127 |
| 128 #endif // FELighting_h | 128 #endif // FELighting_h |
| OLD | NEW |