| Summary: | REGRESSION(r289106): [GTK] NVIDIA X11 broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jim Mason <jmason> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED INVALID | ||||||
| Severity: | Normal | CC: | bugs-noreply, dino, kbr, kkinnunen | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Jim Mason
2022-02-10 04:32:00 PST
r289106 introduces a new EGL function `glEGLImageTargetTexture2DOES` in OpenGLShims. It is the first and only EGL function in this class. OpenGLShims calls glXGetProcAddress{,ARB} to resolve the addresses of the functions. My nVIDIA-supplied libEGL includes `glEGLImageTargetTexture2DOES`, but it must be loaded via `eglGetProcAddress` instead of `glXGetProcAddress`. This seems consistent with the documentation. When I locally patch OpenGLShims to load this function with eglGetProcAddress, everything then works as expected. However, I resist submitting a patch, because I have doubts: * There is chatter in other bugs about OpenGLShims and some things seem in flux. Maybe it's better for someone else more knowledgable handle this; * Is it desired to include an EGL function in OpenGLShims? The function introduced by r289106 is the only EGL function in there; * I cannot imagine I have the only nVIDIA libraries that are doing this, but if others were affected, I would have thought someone else would have opened a bug by now, as this breaks GL. This problem is no longer present as of 2.42.0, as OpenGLShims was deprecated. Closing as invalid/no longer relevant. |