Ubuntu 2204 commit 5f7ece27c247ee41c0d6f2fe94763ceb49770f09 (HEAD -> main, origin/main, origin/HEAD) Author: Commit Queue <commit-queue@webkit.org> Date: Wed Aug 24 19:09:49 2022 -0700 if you build webkit with the `-DENABLE_GLES2=ON` cmakeargs ,it will build faild . /app/webkit/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerDmabuf.cpp:107:5: error: use of undeclared identifier 'glEGLImageTargetTexture2DOES' glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, image); ^ 1 error generated. /app/webkit/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp:323:9: error: use of undeclared identifier 'glEGLImageTargetTexture2DOES' glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, data.image[i]); ^ 1 error generated.
<rdar://problem/99429114>
WebKitGTK has USE_OPENGL_OR_ES CMake option. But, it doesn't work now. See bug#232934.
Oops, I misread your comment#0. You want to build with OpenGL ES.