Displaying 3 results from an estimated 3 matches for "screen_x".
Did you mean:
screen_y
2015 Jul 14
3
[PATCH] avoid build fail without COMPOSITE
...ranslate = FALSE;
int off_x = 0, off_y = 0;
@@ -170,9 +171,13 @@ nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPtr pRegio
}
if (translate && pDraw->type == DRAWABLE_WINDOW) {
- PixmapPtr pPix = get_drawable_pixmap(pDraw);
- off_x = pDraw->x - pPix->screen_x;
- off_y = pDraw->y - pPix->screen_y;
+ off_x = pDraw->x;
+ off_y = pDraw->y;
+#ifdef COMPOSITE
+ pPix = get_drawable_pixmap(pDraw);
+ off_x -= pPix->screen_x;
+ off_y -= pPix->screen_y;
+#endif
}
pGC = GetScratchGC(pDraw->depth, pScreen);
@@ -194,8 +199,8 @@ nouvea...
2015 Jul 14
2
[PATCH] avoid build fail without COMPOSITE
...nslate && pDraw->type == DRAWABLE_WINDOW) {
- WindowPtr pWin = (WindowPtr)pDraw;
- off_x = pWin->origin.x;
- off_y = pWin->origin.y;
+ PixmapPtr pPix = get_drawable_pixmap(pDraw);
+ off_x = pDraw->x - pPix->screen_x;
+ off_y = pDraw->y - pPix->screen_y;
}
pGC = GetScratchGC(pDraw->depth, pScreen);
Now I sort of assume that pDraw->x == pWin->origin.x. But... who knows.
-ilia
On Tue, Jul 14, 2015 at 5:46 PM, Emil Velikov <emil.l.velikov at gmail.com> wro...
2018 Aug 07
0
[ANNOUNCE] xorg-server 1.20.1
...EC when opening a DRM device
glamor: Always return 0 from glamor_fds_from_pixmap on error
glamor: Propagate glamor_fds_from_pixmap error in glamor_fd_from_pixmap
exa: Use PictureMatchFormat for source-only picture format description
present/wnmd: Preserve window pixmap's screen_x/y on flip
Olivier Fourdan (20):
xwayland: use pixmap size on present flip
xwayland: allow "-eglstream" option
xwayland: "EGL_EXT_device_base" required for EGLStream
xwayland: process Wayland events after adding screen
xwayland: do not disable glamo...