haikuwebkit/Source/WebCore/platform/graphics/glx
Don Olmstead 8b6dbddb74 ANGLE is only being built when WebGL is enabled
https://bugs.webkit.org/show_bug.cgi?id=224555

Reviewed by Fujii Hironori.

.:

ANGLE should be built if either USE_ANGLE_EGL or ENABLE_WEBGL is ON.

* Source/CMakeLists.txt:

Source/WebCore:

Remove any ENABLE(WEBGL) guards that reference functionality that isn't WebGL specific.
Modify the CMakeLists file to build with USE_ANGLE_EGL when ENABLE_WEBGL is OFF.

* CMakeLists.txt:
* platform/graphics/GLContext.h:
* platform/graphics/angle/ANGLEHeaders.h:
* platform/graphics/egl/GLContextEGL.cpp:
(WebCore::GLContextEGL::platformContext):
* platform/graphics/egl/GLContextEGL.h:
* platform/graphics/glx/GLContextGLX.cpp:
(WebCore::GLContextGLX::platformContext):
* platform/graphics/glx/GLContextGLX.h:
* platform/graphics/opengl/TemporaryOpenGLSetting.cpp:
* platform/graphics/opengl/TemporaryOpenGLSetting.h:


Canonical link: https://commits.webkit.org/236587@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-15 20:31:36 +00:00
..
GLContextGLX.cpp
GLContextGLX.h