Implement OS compositor interface on Windows
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 4 obsolete files)
3.41 KB,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
With Bug 1589512 , we could implement OS compositor interface on Windows.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
The patch did not work well yet. Sometimes, some parts of page were rendered.
Comment 2•5 years ago
|
||
The problem is that when we call eglMakeCurrent(), it doesn't bind the default framebuffer in all conditions. For now, I just hacked it to always bind to the default framebuffer surface (0) when binding a native surface. This seems to work fine, but is not 100% correct in all cases. I'll add a proper fix next week for this. But it should be enough to continue prototyping with :)
The other parts of the patch are to enable clips and enable the DC surface rendering. I also had to disable the static pref stuff locally, I think that was missing from your WIP patch?
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Glenn Watson [:gw] from comment #2)
The other parts of the patch are to enable clips and enable the DC surface rendering. I also had to disable the static pref stuff locally, I think that was missing from your WIP patch?
static pref "gfx.webrender.compositor" was added to change os compositor usage on/off. Doesn't it work for you? I am going to update wip patch with your patch and bug 1591346.
Comment hidden (obsolete) |
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
This implementation is off by default (behind gfx.webrender.compositor) until various bugs and inefficiencies are fixed.
Differential https://phabricator.services.mozilla.com/D51034
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Comment 10•5 years ago
|
||
bugherder |
Description
•