Enable WebGL on Windows CMake build.
[WebKit-https.git] / Source / WebCore / PlatformWin.cmake
index 8c9144ea758ba66847935db49f7c3c2aa6631b6e..62abb23177828c70ec90d927cfbce70f3bab6d3c 100644 (file)
@@ -3,11 +3,15 @@ list(APPEND WebCore_INCLUDE_DIRECTORIES
     "${WEBCORE_DIR}/page/win"
     "${WEBCORE_DIR}/platform/cf"
     "${WEBCORE_DIR}/platform/cf/win"
     "${WEBCORE_DIR}/page/win"
     "${WEBCORE_DIR}/platform/cf"
     "${WEBCORE_DIR}/platform/cf/win"
+    "${WEBCORE_DIR}/platform/graphics/egl"
+    "${WEBCORE_DIR}/platform/graphics/opengl"
     "${WEBCORE_DIR}/platform/graphics/opentype"
     "${WEBCORE_DIR}/platform/graphics/win"
     "${WEBCORE_DIR}/platform/network/win"
     "${WEBCORE_DIR}/platform/win"
     "${WEBCORE_DIR}/plugins/win"
     "${WEBCORE_DIR}/platform/graphics/opentype"
     "${WEBCORE_DIR}/platform/graphics/win"
     "${WEBCORE_DIR}/platform/network/win"
     "${WEBCORE_DIR}/platform/win"
     "${WEBCORE_DIR}/plugins/win"
+    "${THIRDPARTY_DIR}/ANGLE/include"
+    "${THIRDPARTY_DIR}/ANGLE/include/egl"
 )
 
 enable_language(ASM_MASM)
 )
 
 enable_language(ASM_MASM)
@@ -39,8 +43,17 @@ list(APPEND WebCore_SOURCES
     platform/cf/win/CertificateCFWin.cpp
 
     platform/graphics/FontPlatformData.cpp
     platform/cf/win/CertificateCFWin.cpp
 
     platform/graphics/FontPlatformData.cpp
+    platform/graphics/GraphicsContext3DPrivate.cpp
     platform/graphics/WOFFFileFormat.cpp
 
     platform/graphics/WOFFFileFormat.cpp
 
+    platform/graphics/egl/GLContextEGL.cpp
+
+    platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
+    platform/graphics/opengl/Extensions3DOpenGLES.cpp
+    platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
+    platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
+    platform/graphics/opengl/TemporaryOpenGLSetting.cpp
+
     platform/graphics/opentype/OpenTypeUtilities.cpp
 
     platform/graphics/win/DIBPixelData.cpp
     platform/graphics/opentype/OpenTypeUtilities.cpp
 
     platform/graphics/win/DIBPixelData.cpp
@@ -175,7 +188,9 @@ set(WebCore_FORWARDING_HEADERS_DIRECTORIES
 
     platform/cf/win
 
 
     platform/cf/win
 
+    platform/graphics/opengl
     platform/graphics/opentype
     platform/graphics/opentype
+    platform/graphics/texmap
     platform/graphics/transforms
     platform/graphics/win
 
     platform/graphics/transforms
     platform/graphics/win