xserver/hw/xwayland
Eric Anholt 51984dddfc glamor: Delay making pixmaps shareable until we need to.
If a pixmap isn't getting exported as a dmabuf, then we don't need to
make an EGLImage/GBM bo for it.  This should reduce normal pixmap
allocation overhead, and also lets the driver choose non-scanout
formats which may be much higher performance.

On Raspberry Pi, where scanout isn't usable as a texture source, this
improves x11perf -copypixwin100 from about 4300/sec to 5780/sec under
xcompmgr -a, because we no longer need to upload our x11perf window to
a tiled temporary in order to render it to the screen.

v2: Just use pixmap->usage_hint instead of a new field.  Drop the
    changes that started storing gbm_bos in the pixmap priv due to
    lifetime issues.
v3: Fix a missing gbm_bo_destroy() on the pixmap-from-fd success path.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-11-18 10:04:44 -08:00
..
.gitignore Xwayland DDX 2014-04-03 15:19:22 -07:00
Makefile.am xwayland: Add dependency on glamor libs 2015-03-24 12:01:38 -07:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
xwayland-cursor.c xwayland: call through to miPointerWarpCursor on warp_cursor 2015-09-18 14:55:00 +02:00
xwayland-cvt.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-glamor.c glamor: Delay making pixmaps shareable until we need to. 2015-11-18 10:04:44 -08:00
xwayland-input.c xwayland-input: Always set the xkb group index on modifiers events 2015-09-29 12:21:34 -04:00
xwayland-output.c xwayland: Set physical screen size to something 2015-10-07 10:39:17 -04:00
xwayland-shm.c xwayland: keep temp files out of the client mask 2015-06-25 14:11:35 +02:00
xwayland.c xwayland: Destroy xwl_output when wl_output gets removed 2015-09-25 15:22:18 +02:00
xwayland.h xwayland: Destroy xwl_output when wl_output gets removed 2015-09-25 15:22:18 +02:00