OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "platform/graphics/filters/Filter.h" | 34 #include "platform/graphics/filters/Filter.h" |
35 #include "platform/graphics/filters/FilterEffect.h" | 35 #include "platform/graphics/filters/FilterEffect.h" |
36 #include "platform/graphics/filters/FilterOperations.h" | 36 #include "platform/graphics/filters/FilterOperations.h" |
37 #include "platform/graphics/filters/SourceGraphic.h" | 37 #include "platform/graphics/filters/SourceGraphic.h" |
38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefCounted.h" | 39 #include "wtf/RefCounted.h" |
40 #include "wtf/RefPtr.h" | 40 #include "wtf/RefPtr.h" |
41 | 41 |
42 namespace WebCore { | 42 namespace WebCore { |
43 | 43 |
44 class Document; | |
45 class GraphicsContext; | 44 class GraphicsContext; |
46 class RenderLayer; | 45 class RenderLayer; |
47 class RenderObject; | 46 class RenderObject; |
48 | 47 |
49 class FilterEffectRendererHelper { | 48 class FilterEffectRendererHelper { |
50 public: | 49 public: |
51 FilterEffectRendererHelper(bool haveFilterEffect) | 50 FilterEffectRendererHelper(bool haveFilterEffect) |
52 : m_savedGraphicsContext(0) | 51 : m_savedGraphicsContext(0) |
53 , m_renderLayer(0) | 52 , m_renderLayer(0) |
54 , m_haveFilterEffect(haveFilterEffect) | 53 , m_haveFilterEffect(haveFilterEffect) |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 IntRectExtent m_outsets; | 117 IntRectExtent m_outsets; |
119 | 118 |
120 bool m_graphicsBufferAttached; | 119 bool m_graphicsBufferAttached; |
121 bool m_hasFilterThatMovesPixels; | 120 bool m_hasFilterThatMovesPixels; |
122 }; | 121 }; |
123 | 122 |
124 } // namespace WebCore | 123 } // namespace WebCore |
125 | 124 |
126 | 125 |
127 #endif // FilterEffectRenderer_h | 126 #endif // FilterEffectRenderer_h |
OLD | NEW |