https://bugs.freedesktop.org/show_bug.cgi?id=93094
Bug ID: 93094
Summary: Color buffer
Product: Wayland
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: wayland
Assignee: [email protected]
Reporter: [email protected]
Create a simple X application, fill color to empty window, then change the
window size - the color is redrawn. Chaotic drive the cursor and see the CPU
load. The same situation with empty windows when using toolkits - frequent
redrawing.
I propose to create a wayland protocol extension, which you can get the colored
wl_buffer desired size and then work with him as with the original wl_buffer.
The compositor is anyway responsible for the rendering of client buffers and
nothing prevents to fill a buffer the color chosen by the client.
So, we have 5 full-screen clients who want to fill their surfaces is black
color. Assume that the screen resolution 1920x1080, format argb8888. Each
client will create a shared memory file is size 1920*1080*4 = 8294400 B ~= 8
MB. Because clients 5, the total cost 35 MB of memory.
However, using this protocol extension would expend a total memory of 8 MB. In
addition, the compositor can fill the buffer using a variety of optimizations -
the scope for compositor developers.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs