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 * | 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 public: | 54 public: |
55 static PaintLayerFilterInfo* filterInfoForLayer(const PaintLayer*); | 55 static PaintLayerFilterInfo* filterInfoForLayer(const PaintLayer*); |
56 static PaintLayerFilterInfo* createFilterInfoForLayerIfNeeded(PaintLayer*); | 56 static PaintLayerFilterInfo* createFilterInfoForLayerIfNeeded(PaintLayer*); |
57 static void removeFilterInfoForLayer(PaintLayer*); | 57 static void removeFilterInfoForLayer(PaintLayer*); |
58 | 58 |
59 FilterEffectBuilder* builder() const { return m_builder.get(); } | 59 FilterEffectBuilder* builder() const { return m_builder.get(); } |
60 void setBuilder(PassRefPtrWillBeRawPtr<FilterEffectBuilder>); | 60 void setBuilder(PassRefPtrWillBeRawPtr<FilterEffectBuilder>); |
61 | 61 |
62 void updateReferenceFilterClients(const FilterOperations&); | 62 void updateReferenceFilterClients(const FilterOperations&); |
63 void notifyFinished(Resource*) override; | 63 void notifyFinished(Resource*) override; |
| 64 String debugName() const override { return "PaintLayerFilterInfo"; } |
64 void removeReferenceFilterClients(); | 65 void removeReferenceFilterClients(); |
65 | 66 |
66 private: | 67 private: |
67 PaintLayerFilterInfo(PaintLayer*); | 68 PaintLayerFilterInfo(PaintLayer*); |
68 ~PaintLayerFilterInfo() override; | 69 ~PaintLayerFilterInfo() override; |
69 | 70 |
70 PaintLayer* m_layer; | 71 PaintLayer* m_layer; |
71 | 72 |
72 RefPtrWillBePersistent<FilterEffectBuilder> m_builder; | 73 RefPtrWillBePersistent<FilterEffectBuilder> m_builder; |
73 | 74 |
74 static PaintLayerFilterInfoMap* s_filterMap; | 75 static PaintLayerFilterInfoMap* s_filterMap; |
75 WillBePersistentHeapVector<RefPtrWillBeMember<Element>> m_internalSVGReferen
ces; | 76 WillBePersistentHeapVector<RefPtrWillBeMember<Element>> m_internalSVGReferen
ces; |
76 Vector<ResourcePtr<DocumentResource>> m_externalSVGReferences; | 77 Vector<ResourcePtr<DocumentResource>> m_externalSVGReferences; |
77 }; | 78 }; |
78 | 79 |
79 } // namespace blink | 80 } // namespace blink |
80 | 81 |
81 | 82 |
82 #endif // PaintLayerFilterInfo_h | 83 #endif // PaintLayerFilterInfo_h |
OLD | NEW |