Implement RenderCompositorLayerNative::GetWindowProperties()
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
GetWindowProperties() is not yet implemented in RenderCompositorLayerNative. Without implementing GetWindowProperties(), WebRender layer manager always use only one content layer by WindowProperties::default().
On Wayland, RenderCompositorLayerNative needs to force only one content layer during taking screenshot. There is gdk_paintable_snapshot() for getting screenshot. But it needs to be called in main thread. Then it could not be used for taking screenshot of WebRender layer compositor.
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
Comment 3•8 months ago
|
||
| bugherder | ||
Comment 4•8 months ago
|
||
I don't quite understand what do you mean here but note that gdk_paintable_snapshot() is Gtk4 function and Firefox runs Gtk3.
| Assignee | ||
Comment 5•8 months ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #4)
I don't quite understand what do you mean here but note that gdk_paintable_snapshot() is Gtk4 function and Firefox runs Gtk3.
I just found the api from chromium's implementation. Anyway gtk api is not tried to be used for taking screenshot.
Updated•7 months ago
|
Description
•