diff options
author | Adam Jackson <ajax@redhat.com> | 2016-11-02 12:49:25 -0400 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2017-09-22 18:45:58 +0200 |
commit | 2f36c6faa0dac168cee6049d7dfac59a5e32edcd (patch) | |
tree | 0b296387ca1a49f48f50118d6a2497c0c147cb2d /Xext/panoramiX.c | |
parent | 8c609764004560081bad23ac14e7d3975e83ce6b (diff) |
xinerama: Implement graphics exposures for window->pixmap copies (v4)
This code is using GetImage to accumulate a logical view of the window
image (since the windows will be clipped to their containing screen),
and then PutImage to load that back into the pixmap. What it wasn't
doing was constructing a region for the obscured areas of the window and
emitting graphics exposures for same.
v2: Fix coordinate translation when the source is the root window
v3: Create sourceBox with the right coordinates initially instead of
translating (Keith Packard)
v4: Clamp the region to 15 bits to avoid overflow (Keith Packard)
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit e337de2d488a124e5fee0fdcb882567b68f1767d)
Diffstat (limited to 'Xext/panoramiX.c')
0 files changed, 0 insertions, 0 deletions