commit | 40c02f8d9ce19bb7478a9d46341920df1889c1b0 | [log] [tgz] |
---|---|---|
author | David Reveman <reveman@chromium.org> | Mon Mar 19 01:55:16 2018 |
committer | David Reveman <reveman@chromium.org> | Mon Mar 19 16:51:48 2018 |
tree | ee7cf8f35d7cd0926cf405441a9f5236b31e1391 | |
parent | da19239ac3eec1985b6dc287fc03b5385e0244b5 [diff] |
Implement shm drivers. Planned drivers are noop, dmabuf and virtwl. - virtwl will be used by default if /dev/wl0 exists. - dmabuf will be used by default if drm device was specified. Specific driver can be forced using --shm-driver flag and XWL_SHM_DRIVER variable. Noop driver will just forward shm segments to host compositor. Virtwl and dmabuf driver will allocate shadow buffers and copy damaged areas into these buffers.