| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 { | 44 { |
| 45 WTF_MAKE_FAST_ALLOCATED; | 45 WTF_MAKE_FAST_ALLOCATED; |
| 46 public: | 46 public: |
| 47 virtual ~FilterEffectRenderer(); | 47 virtual ~FilterEffectRenderer(); |
| 48 static PassRefPtr<FilterEffectRenderer> create() | 48 static PassRefPtr<FilterEffectRenderer> create() |
| 49 { | 49 { |
| 50 return adoptRef(new FilterEffectRenderer()); | 50 return adoptRef(new FilterEffectRenderer()); |
| 51 } | 51 } |
| 52 | 52 |
| 53 bool build(RenderObject* renderer, const FilterOperations&); | 53 bool build(RenderObject* renderer, const FilterOperations&); |
| 54 bool beginFilterEffect(GraphicsContext*, const FloatRect& filterBoxRect); | |
| 55 void endFilterEffect(GraphicsContext*); | |
| 56 void clearIntermediateResults(); | 54 void clearIntermediateResults(); |
| 57 | 55 |
| 58 PassRefPtr<FilterEffect> lastEffect() const | 56 PassRefPtr<FilterEffect> lastEffect() const |
| 59 { | 57 { |
| 60 return m_lastEffect; | 58 return m_lastEffect; |
| 61 } | 59 } |
| 62 private: | 60 private: |
| 63 | 61 |
| 64 FilterEffectRenderer(); | 62 FilterEffectRenderer(); |
| 65 | 63 |
| 66 RefPtr<FilterEffect> m_lastEffect; | 64 RefPtr<FilterEffect> m_lastEffect; |
| 67 Vector<RefPtr<ReferenceFilter> > m_referenceFilters; | 65 Vector<RefPtr<ReferenceFilter> > m_referenceFilters; |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 } // namespace blink | 68 } // namespace blink |
| 71 | 69 |
| 72 | 70 |
| 73 #endif // FilterEffectRenderer_h | 71 #endif // FilterEffectRenderer_h |
| OLD | NEW |