Bug 244331 - TextureMapper: build error # use of undeclared identifier 'glEGLImageTargetTexture2DOES'
Summary: TextureMapper: build error # use of undeclared identifier 'glEGLImageTargetTe...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-25 02:21 PDT by zhiyi
Modified: 2022-09-09 01:28 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhiyi 2022-08-25 02:21:56 PDT
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.
Comment 1 Radar WebKit Bug Importer 2022-09-01 02:22:15 PDT
<rdar://problem/99429114>
Comment 2 Fujii Hironori 2022-09-01 14:09:54 PDT
WebKitGTK has USE_OPENGL_OR_ES CMake option. But, it doesn't work now. See bug#232934.
Comment 3 Fujii Hironori 2022-09-01 14:12:37 PDT
Oops, I misread your comment#0. You want to build with OpenGL ES.