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

Side by Side Diff: Source/core/platform/graphics/filters/FELighting.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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) 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
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/filters/Filter.h"
32 #include "core/platform/graphics/filters/FilterEffect.h"
33 #include "core/platform/graphics/filters/PointLightSource.h" 31 #include "core/platform/graphics/filters/PointLightSource.h"
34 #include "core/platform/graphics/filters/SpotLightSource.h" 32 #include "core/platform/graphics/filters/SpotLightSource.h"
35 #include "platform/graphics/Color.h" 33 #include "platform/graphics/Color.h"
34 #include "platform/graphics/filters/Filter.h"
35 #include "platform/graphics/filters/FilterEffect.h"
36 #include "platform/graphics/filters/LightSource.h" 36 #include "platform/graphics/filters/LightSource.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 {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/filters/FEGaussianBlur.cpp ('k') | Source/core/platform/graphics/filters/FELighting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698