xserver-multidpi/fb
Adam Jackson a49379b604 fb: Check whether the window is enabled directly
... instead of its root window. Xwayland's rootless mode empties the
root window border clip since its root window has no storage, but
redirected windows (the only kind it can show) will have a non-empty
border clip anyway, cf. the #ifdef COMPOSITE in miComputeClips. With
this change, non-glamor Xwayland's GetImage actually works.

Other acceleration layers may need to change to account for this, but
this appears to be safe for the existing open source drivers. Only the
xfree86 DDX has any problem with losing its framebuffer on VT switch,
and even then only for UMS drivers (which excludes glamor, uxa, and sna
from consideration). This leaves exa, which already contains code to
evict pixmaps to host memory on VT switch. Since the xfree86 core will
still empty the root clip on VT switch, while the root window itself may
not contain a valid image we won't try to touch it, but GetImage from a
redirected window will now work even when switched away.

Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-09-13 11:10:56 -04:00
..
fb.h fb: Check whether the window is enabled directly 2017-09-13 11:10:56 -04:00
fballpriv.c Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00
fbarc.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbbits.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbbits.h fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbblt.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbbltone.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbcmap_mi.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbcopy.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbfill.c fb: Remove even/odd tile slow-pathing 2014-10-27 15:45:46 -04:00
fbfillrect.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
fbfillsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbgc.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbgetsp.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbglyph.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbimage.c fb: Handle ZPixmap planemask in GetImage the other way around 2017-03-20 13:47:49 -04:00
fbline.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fboverlay.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fboverlay.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
fbpict.c Fix alphamap interactions with wfb 2015-09-29 12:21:34 -04:00
fbpict.h fb: remove some superfluous empty lines 2017-05-29 13:52:55 +10:00
fbpixmap.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbpoint.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbpush.c fb: Hide fbPush{Pattern,Fill} 2014-10-27 15:45:57 -04:00
fbrop.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
fbscreen.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbseg.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbsetsp.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbsolid.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
fbtrap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbutil.c fb: Remove unused fbReduceRasterOp 2014-10-27 15:45:44 -04:00
fbwindow.c fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
Makefile.am fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00
meson.build meson: Build libwfb.so 2017-04-27 15:19:36 -04:00
wfbrename.h fb: Remove 24bpp support (v3) 2017-03-17 15:14:42 -04:00