[Wayland-bugs] [Bug 93094] Color buffer
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 24 10:07:23 PST 2015
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: wayland-bugs at lists.freedesktop.org
Reporter: phizhed at gmail.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151124/903f10e3/attachment.html>
More information about the wayland-bugs
mailing list