OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
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 #if USE(3D_GRAPHICS) | |
35 #include "core/platform/graphics/filters/custom/FECustomFilter.h" | 34 #include "core/platform/graphics/filters/custom/FECustomFilter.h" |
36 | 35 |
37 #include "core/platform/graphics/Extensions3D.h" | 36 #include "core/platform/graphics/Extensions3D.h" |
38 #include "core/platform/graphics/GraphicsContext3D.h" | 37 #include "core/platform/graphics/GraphicsContext3D.h" |
39 #include "core/platform/graphics/filters/custom/CustomFilterRenderer.h" | 38 #include "core/platform/graphics/filters/custom/CustomFilterRenderer.h" |
40 #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h" | 39 #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h" |
41 #include "core/platform/text/TextStream.h" | 40 #include "core/platform/text/TextStream.h" |
42 #include "core/rendering/RenderTreeAsText.h" | 41 #include "core/rendering/RenderTreeAsText.h" |
43 | 42 |
44 #include <wtf/Uint8ClampedArray.h> | 43 #include <wtf/Uint8ClampedArray.h> |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 { | 362 { |
364 writeIndent(ts, indent); | 363 writeIndent(ts, indent); |
365 ts << "[feCustomFilter"; | 364 ts << "[feCustomFilter"; |
366 FilterEffect::externalRepresentation(ts); | 365 FilterEffect::externalRepresentation(ts); |
367 ts << "]\n"; | 366 ts << "]\n"; |
368 inputEffect(0)->externalRepresentation(ts, indent + 1); | 367 inputEffect(0)->externalRepresentation(ts, indent + 1); |
369 return ts; | 368 return ts; |
370 } | 369 } |
371 | 370 |
372 } // namespace WebCore | 371 } // namespace WebCore |
373 | |
374 #endif // USE(3D_GRAPHICS) | |
OLD | NEW |