| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef ANGLEWebKitBridge_h | 26 #ifndef ANGLEWebKitBridge_h |
| 27 #define ANGLEWebKitBridge_h | 27 #define ANGLEWebKitBridge_h |
| 28 | 28 |
| 29 #include <wtf/text/CString.h> | 29 #include <wtf/text/CString.h> |
| 30 #include <wtf/text/WTFString.h> | 30 #include <wtf/text/WTFString.h> |
| 31 | 31 |
| 32 #if !PLATFORM(GTK) && !PLATFORM(BLACKBERRY) && !PLATFORM(CHROMIUM) && !PLATFORM(
QT) | |
| 33 #include "ANGLE/ShaderLang.h" | |
| 34 #else | |
| 35 #include "ShaderLang.h" | 32 #include "ShaderLang.h" |
| 36 #endif | |
| 37 | 33 |
| 38 namespace WebCore { | 34 namespace WebCore { |
| 39 | 35 |
| 40 enum ANGLEShaderType { | 36 enum ANGLEShaderType { |
| 41 SHADER_TYPE_VERTEX = SH_VERTEX_SHADER, | 37 SHADER_TYPE_VERTEX = SH_VERTEX_SHADER, |
| 42 SHADER_TYPE_FRAGMENT = SH_FRAGMENT_SHADER, | 38 SHADER_TYPE_FRAGMENT = SH_FRAGMENT_SHADER, |
| 43 }; | 39 }; |
| 44 | 40 |
| 45 enum ANGLEShaderSymbolType { | 41 enum ANGLEShaderSymbolType { |
| 46 SHADER_SYMBOL_TYPE_ATTRIBUTE, | 42 SHADER_SYMBOL_TYPE_ATTRIBUTE, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 83 |
| 88 ShShaderOutput m_shaderOutput; | 84 ShShaderOutput m_shaderOutput; |
| 89 ShShaderSpec m_shaderSpec; | 85 ShShaderSpec m_shaderSpec; |
| 90 | 86 |
| 91 ShBuiltInResources m_resources; | 87 ShBuiltInResources m_resources; |
| 92 }; | 88 }; |
| 93 | 89 |
| 94 } // namespace WebCore | 90 } // namespace WebCore |
| 95 | 91 |
| 96 #endif | 92 #endif |
| OLD | NEW |