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

Side by Side Diff: Source/core/platform/graphics/filters/custom/FECustomFilter.cpp

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) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
3 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 3 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
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 * 9 *
10 * 1. Redistributions of source code must retain the above 10 * 1. Redistributions of source code must retain the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
27 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 27 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
28 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE. 29 * SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "config.h" 32 #include "config.h"
33 33
34 #include "core/platform/graphics/filters/custom/FECustomFilter.h" 34 #include "core/platform/graphics/filters/custom/FECustomFilter.h"
35 35
36 #include "core/platform/graphics/Extensions3D.h"
37 #include "core/platform/graphics/GraphicsContext3D.h"
38 #include "core/platform/graphics/filters/custom/CustomFilterRenderer.h" 36 #include "core/platform/graphics/filters/custom/CustomFilterRenderer.h"
39 #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h" 37 #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h"
38 #include "platform/graphics/Extensions3D.h"
39 #include "platform/graphics/GraphicsContext3D.h"
40 #include "platform/text/TextStream.h" 40 #include "platform/text/TextStream.h"
41 #include "wtf/Uint8ClampedArray.h" 41 #include "wtf/Uint8ClampedArray.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 FECustomFilter::FECustomFilter(Filter* filter, PassRefPtr<GraphicsContext3D> con text, PassRefPtr<CustomFilterValidatedProgram> validatedProgram, const CustomFil terParameterList& parameters, 45 FECustomFilter::FECustomFilter(Filter* filter, PassRefPtr<GraphicsContext3D> con text, PassRefPtr<CustomFilterValidatedProgram> validatedProgram, const CustomFil terParameterList& parameters,
46 unsigned meshRows, unsigned meshColumns, CustomFilterMeshType meshType) 46 unsigned meshRows, unsigned meshColumns, CustomFilterMeshType meshType)
47 : FilterEffect(filter) 47 : FilterEffect(filter)
48 , m_context(context) 48 , m_context(context)
49 , m_validatedProgram(validatedProgram) 49 , m_validatedProgram(validatedProgram)
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 { 359 {
360 writeIndent(ts, indent); 360 writeIndent(ts, indent);
361 ts << "[feCustomFilter"; 361 ts << "[feCustomFilter";
362 FilterEffect::externalRepresentation(ts); 362 FilterEffect::externalRepresentation(ts);
363 ts << "]\n"; 363 ts << "]\n";
364 inputEffect(0)->externalRepresentation(ts, indent + 1); 364 inputEffect(0)->externalRepresentation(ts, indent + 1);
365 return ts; 365 return ts;
366 } 366 }
367 367
368 } // namespace WebCore 368 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698