Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r181629 - [CMake] Use a forwarding header for ANGLE's ShaderLan…
…g.h to avoid picking up ANGLE's EGL headers https://bugs.webkit.org/show_bug.cgi?id=142530 Reviewed by Darin Adler. Source/ThirdParty/ANGLE: * ANGLE/ShaderLang.h: Added. Includes include/GLSLANG/ShaderLang.h. Used in WebCore so we can avoid using ANGLE's EGL headers and use the system-default headers instead. Source/WebCore: Include the ANGLE's ShaderLang.h through the new forwarding header. This allows us to not list Source/ThirdParty/ANGLE/include in the list of inclusion directories and thus avoid ANGLE's EGL and GLES2/GLES3 headers, defaulting to the system-provided headers instead. Source/ThirdParty/ANGLE/include/KHR is still used because ANGLE's khrplatform.h is required by the ShaderLang.h header. Source/ThirdParty/ANGLE/src is not used for the whole WebCore library anymore, only the ANGLESupport library. * CMakeLists.txt: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/cairo/GraphicsContext3DCairo.cpp: Source/WebKit2: * CMakeLists.txt: Replace the Source/ThirdParty/ANGLE/include/GLSLANG entry in the list of inclusion directories for WebKit2 with Source/ThirdParty/ANGLE, possible due to the new forwarding header for ANGLE's ShaderLang.h.
- Loading branch information
1 parent
f6e2a5c
commit 56b9ffb
Showing
8 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "include/GLSLANG/ShaderLang.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters