[Wayland][WebRender] Use headless context in RenderCompositorEGL
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
RenderCompositorEGL does not use headless context for now. It is better to use headless context.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
attachment 9049083 [details] seemed to work well on Wayland. But without stencil, rendering caused flickering.
:gw, do you have any ideas about why the rendering caused flickering without stencil with WebRender on Wayland?
Assignee | ||
Comment 4•5 years ago
•
|
||
Used "GDK_BACKEND=wayland ./mach run" for testing on Ubuntu 18.
Comment 5•5 years ago
|
||
No, that's unexpected. Like you said, WR doesn't rely on stencil buffer anywhere that I'm aware of. I think it's probably OK to enable stencil for now, though, if that fixes it. I believe normal Gecko on Linux also has stencil enabled (at least, I recall seeing a stencil buffer present in apitrace debugging).
Assignee | ||
Comment 6•5 years ago
|
||
Thanks! GLContextProviderEGL::CreateForCompositorWidget() and GLContextEGL::CreateEGLPBufferOffscreenContext() uses a different function for choosing EGLConfig. It seems safer to use CreateForCompositorWidget() one for now.
Updated•5 years ago
|
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a0767cb93359 Bug 1532024 - Explicityly create headless context for webrender in RenderCompositorEGL r=jgilbert
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
Description
•