WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
219916
[GTK] Missing header when ENABLE_GRAPHICS_CONTEXT_GL is set to OFF
https://bugs.webkit.org/show_bug.cgi?id=219916
Summary
[GTK] Missing header when ENABLE_GRAPHICS_CONTEXT_GL is set to OFF
Charlene Wendling
Reported
2020-12-15 13:20:54 PST
Created
attachment 416284
[details]
patch to include the missing header Platform: OpenBSD macppc (32-bit, big endian) Compiler: clang-10 Version: 2.30.3 Hi, Colors are off when Context GL is enabled on my platform, as a workaround i've disabled it. In Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp, the XVisualInfo struct and XGetVisualInfo(3) are used. They're defined in <X11/Xutil.h>, but that header is not included, leading to a broken build. The attached patch allows me to build WebKitGTK on my platform.
Attachments
patch to include the missing header
(652 bytes, patch)
2020-12-15 13:20 PST
,
Charlene Wendling
no flags
Details
Formatted Diff
Diff
Screenshot of WebkitGTK badly rendering colors
(103.65 KB, image/png)
2020-12-16 01:26 PST
,
Charlene Wendling
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2020-12-15 13:30:39 PST
Could you follow the contributing guideline?
https://webkit.org/contributing-code/
ENABLE_GRAPHICS_CONTEXT_GL was removed by
Bug 219551
. Did you check with the latest trunk?
Charlene Wendling
Comment 2
2020-12-15 14:05:43 PST
I have not tested with the latest trunk, sorry, but i've searched only for open bugs. Thanks for the contribution guideline (i've never reported a bug before here). I will try against the latest trunk, but it requires dealing with more than 30 OS-specific patches. I'll report back if any issue arise.
Fujii Hironori
Comment 3
2020-12-15 23:34:42 PST
You can disable accelerated compositing by setting a env var. WEBKIT_DISABLE_COMPOSITING_MODE=1
https://trac.webkit.org/wiki/EnvironmentVariables
(In reply to Charlene Wendling from
comment #0
)
> Colors are off when Context GL is enabled on my platform, as a workaround
Does you mean your browser shows a blank screen? Do all OpenGL apps show the blank screen on your platform? Or, only WebKitGTK has the issue?
Charlene Wendling
Comment 4
2020-12-16 01:26:54 PST
Created
attachment 416319
[details]
Screenshot of WebkitGTK badly rendering colors
Charlene Wendling
Comment 5
2020-12-16 01:29:00 PST
Only WebKitGTK has this issue(In reply to Fujii Hironori from
comment #3
)
> You can disable accelerated compositing by setting a env var. > WEBKIT_DISABLE_COMPOSITING_MODE=1 >
https://trac.webkit.org/wiki/EnvironmentVariables
> > (In reply to Charlene Wendling from
comment #0
) > > Colors are off when Context GL is enabled on my platform, as a workaround > > Does you mean your browser shows a blank screen? > Do all OpenGL apps show the blank screen on your platform? > Or, only WebKitGTK has the issue?
Only WebKitGTK has the issue. I attached a screenshot to give you an overview of what is going on.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug