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 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 #ifndef StyleCustomFilterProgram_h | 30 #ifndef StyleCustomFilterProgram_h |
31 #define StyleCustomFilterProgram_h | 31 #define StyleCustomFilterProgram_h |
32 | 32 |
33 #include "core/fetch/ResourceClient.h" | 33 #include "core/fetch/ResourceClient.h" |
34 #include "core/fetch/ResourcePtr.h" | 34 #include "core/fetch/ResourcePtr.h" |
35 #include "core/fetch/ShaderResource.h" | 35 #include "core/fetch/ShaderResource.h" |
36 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" | 36 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" |
37 #include "core/rendering/style/StyleShader.h" | 37 #include "core/rendering/style/StyleShader.h" |
38 #include "weborigin/KURL.h" | 38 #include "platform/weborigin/KURL.h" |
39 #include "wtf/FastAllocBase.h" | 39 #include "wtf/FastAllocBase.h" |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 // CSS Shaders | 43 // CSS Shaders |
44 | 44 |
45 class StyleCustomFilterProgramCache; | 45 class StyleCustomFilterProgramCache; |
46 | 46 |
47 class StyleCustomFilterProgram : public CustomFilterProgram, public ResourceClie
nt { | 47 class StyleCustomFilterProgram : public CustomFilterProgram, public ResourceClie
nt { |
48 WTF_MAKE_FAST_ALLOCATED; | 48 WTF_MAKE_FAST_ALLOCATED; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 StyleCustomFilterProgramCache* m_cache; | 184 StyleCustomFilterProgramCache* m_cache; |
185 | 185 |
186 bool m_isVertexShaderLoaded; | 186 bool m_isVertexShaderLoaded; |
187 bool m_isFragmentShaderLoaded; | 187 bool m_isFragmentShaderLoaded; |
188 }; | 188 }; |
189 | 189 |
190 } // namespace WebCore | 190 } // namespace WebCore |
191 | 191 |
192 | 192 |
193 #endif // StyleCustomFilterProgram_h | 193 #endif // StyleCustomFilterProgram_h |
OLD | NEW |