[arch-commits] Commit in xorg-server/trunk (3 files)

Laurent Carlier lcarlier at archlinux.org
Sat Dec 20 13:56:29 UTC 2014


    Date: Saturday, December 20, 2014 @ 14:56:29
  Author: lcarlier
Revision: 227820

upgpkg: xorg-server 1.16.3-1

upstream update 1.16.3

Modified:
  xorg-server/trunk/PKGBUILD
Deleted:
  xorg-server/trunk/autoconfig-nvidia.patch
  xorg-server/trunk/glamor-upstream-fix.patch

---------------------------+
 PKGBUILD                  |    5 -
 autoconfig-nvidia.patch   |   28 ------
 glamor-upstream-fix.patch |  178 --------------------------------------------
 3 files changed, 3 insertions(+), 208 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-20 12:23:54 UTC (rev 227819)
+++ PKGBUILD	2014-12-20 13:56:29 UTC (rev 227820)
@@ -4,7 +4,7 @@
 
 pkgbase=xorg-server
 pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-xwayland' 'xorg-server-common' 'xorg-server-devel')
-pkgver=1.16.2.901
+pkgver=1.16.3
 pkgrel=1 # build first with 0.1 and then rebuild it after xf86-input-evdev rebuild
 arch=('i686' 'x86_64')
 license=('custom')
@@ -20,7 +20,8 @@
         nvidia-drm-outputclass.conf
         xvfb-run
         xvfb-run.1)
-sha256sums=('ef885a5ce441e6ae5c73461b624f9e66e801e52eaf495e551663306ec4464ba6'
+validpgpkeys=('7B27A3F1A6E18CD9588B4AE8310180050905E40C')
+sha256sums=('5e0f443238af1078b48f6eea98a382861b59187da221c2cf714d31c1d560b0fb'
             'SKIP'
             'd027776fac1f7675b0a9ee817502290b1c45f9c09b0f0a6bb058c35f92361e84'
             'af1c3d2ea5de7f6a6b5f7c60951a189a4749d1495e5462f3157ae7ac8fe1dc56'

Deleted: autoconfig-nvidia.patch
===================================================================
--- autoconfig-nvidia.patch	2014-12-20 12:23:54 UTC (rev 227819)
+++ autoconfig-nvidia.patch	2014-12-20 13:56:29 UTC (rev 227820)
@@ -1,28 +0,0 @@
-diff -Nur xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c
---- xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c	2012-02-10 10:10:37.583014924 +0000
-+++ xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c	2012-02-10 11:16:07.148971317 +0000
-@@ -1144,7 +1144,23 @@
-         int idx = 0;
- 
- #ifdef __linux__
--        driverList[idx++] = "nouveau";
-+	    switch (dev->device_id)
-+		{
-+		/* NV1 */
-+		case 0x0008:
-+		case 0x0009:
-+		    driverList[idx++] = "vesa";
-+		    break;
-+		/* NV3 */
-+		case 0x0018:
-+		case 0x0019:
-+		    driverList[idx++] = "nouveau";
-+		    break;
-+		default:
-+		    driverList[idx++] = "nouveau";
-+		    driverList[idx++] = "nvidia";
-+		    break;
-+		}
- #endif
-         driverList[idx++] = "nv";
-         break;

Deleted: glamor-upstream-fix.patch
===================================================================
--- glamor-upstream-fix.patch	2014-12-20 12:23:54 UTC (rev 227819)
+++ glamor-upstream-fix.patch	2014-12-20 13:56:29 UTC (rev 227820)
@@ -1,178 +0,0 @@
-From 3c0431b8911241552a15a43e4279c50658b50a18 Mon Sep 17 00:00:00 2001
-From: Keith Packard <keithp at keithp.com>
-Date: Wed, 16 Jul 2014 23:03:23 +0000
-Subject: glamor: Fix temp picture coordinates in glamor_composite_clipped_region
-
-To understand this patch, let's start at the protocol interface where
-the relationship between the coordinate spaces is documented:
-
-        static Bool
-        _glamor_composite(CARD8 op,
-                          PicturePtr source,
-                          PicturePtr mask,
-                          PicturePtr dest,
-                          INT16 x_source,
-                          INT16 y_source,
-                          INT16 x_mask,
-                          INT16 y_mask,
-                          INT16 x_dest, INT16 y_dest,
-                          CARD16 width, CARD16 height, Bool fallback)
-
-The coordinates are passed to this function directly off the wire and
-are all relative to their respective drawables. For Windows, this means
-that they are relative to the upper left corner of the window, in
-whatever pixmap that window is getting drawn to.
-
-_glamor_composite calls miComputeCompositeRegion to construct a clipped
-region to actually render to. In reality, miComputeCompositeRegion clips
-only to the destination these days; source clip region based clipping
-would have to respect the transform, which isn't really possible. The
-returned region is relative to the screen in which dest lives; offset by
-dest->drawable.x and dest->drawable.y.
-
-What is important to realize here is that, because of clipping, the
-composite region may not have the same position within the destination
-drawable as x_dest, y_dest. The protocol coordinates now exist solely to
-'pin' the three objects together.
-
-        extents->x1,y1		Screen origin of clipped operation
-        width,height            Extents of the clipped operation
-        x_dest,y_dest		Unclipped destination-relative operation coordinate
-        x_source,y_source	Unclipped source-relative operation coordinate
-        x_mask,y_mask		Unclipped mask-relative operation coordinate
-
-One thing we want to know is what the offset is from the original
-operation origin to the clipped origin
-
-        Destination drawable relative coordinates of the clipped operation:
-
-               x_dest_clipped = extents->x1 - dest->drawable.x
-               y_dest_clipped = extents->y1 - dest->drawable.y
-
-        Offset from the original operation origin:
-
-                x_off_clipped = x_dest_clipped - x_dest
-                y_off_clipped = y_dest_clipped - y_dest
-
-        Source drawable relative coordinates of the clipped operation:
-
-                x_source_clipped = x_source + x_off_clipped;
-                y_source_clipped = y_source + y_off_clipped;
-
-        Mask drawable relative coordinates of the clipped operation:
-
-                x_mask_clipped = x_source + x_off_clipped;
-                y_mask_clipped = y_source + y_off_clipped;
-
-This is where the original code fails -- it doesn't subtract the
-destination drawable location when computing the distance that the
-operation has been moved by clipping. Here's what it does when
-constructing a temporary source picture:
-
-        temp_src =
-            glamor_convert_gradient_picture(screen, source,
-                                            extent->x1 + x_source - x_dest,
-                                            extent->y1 + y_source - y_dest,
-                                            width, height);
-        ...
-        x_temp_src = -extent->x1 + x_dest;
-        y_temp_src = -extent->y1 + y_dest;
-
-glamor_convert_gradient_picture needs source drawable relative
-coordinates, but that is not what it's getting; it's getting
-screen-relative coordinates for the destination, adjusted by the
-distance between the provided source and destination operation
-coordinates. We want x_source_clipped and y_source_clipped:
-
-        x_source_clipped = x_source + x_off_clipped
-                         = x_source + x_dest_clipped - x_dest
-                         = x_source + extents->x1 - dest->drawable.x - x_dest
-
-x_temp_src/y_temp_src are supposed to be the coordinates of the original
-operation translated to the temporary picture:
-
-        x_temp_src = x_source - x_source_clipped;
-        y_temp_src = y_source - y_source_clipped;
-
-Note that x_source_clipped/y_source_clipped will never be less than
-x_source/y_source because all we're doing is clipping. This means that
-x_temp_src/y_temp_src will always be non-positive; the original source
-coordinate can never be strictly *inside* the temporary image or we
-could have made the temporary image smaller.
-
-        x_temp_src = x_source - x_source_clipped
-                   = x_source - (x_source + x_off_clipped)
-                   = -x_off_clipped
-                   = x_dest - x_dest_clipped
-                   = x_dest - (extents->x1 - dest->drawable.x)
-
-Again, this is off by the destination origin within the screen
-coordinate space.
-
-The code should look like:
-
-        temp_src =
-            glamor_convert_gradient_picture(screen, source,
-                                            extent->x1 + x_source - x_dest - dest->pDrawable->x,
-                                            extent->y1 + y_source - y_dest - dest->pDrawable->y,
-                                            width, height);
-
-        x_temp_src = -extent->x1 + x_dest + dest->pDrawable->x;
-        y_temp_src = -extent->y1 + y_dest + dest->pDrawable->y;
-
-Signed-off-by: Keith Packard <keithp at keithp.com>
-Reviewed-by: Markus Wick <markus at selfnet.de>
-(cherry picked from commit 55f5bfb578e934319d1308cbb56c900c5ac7cfa7)
-Signed-off-by: Julien Cristau <jcristau at debian.org>
----
-diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c
-index 14ab738..e5d5d2c 100644
---- a/glamor/glamor_render.c
-+++ b/glamor/glamor_render.c
-@@ -1450,8 +1450,8 @@ glamor_composite_clipped_region(CARD8 op,
-                     || source_pixmap->drawable.height != height)))) {
-         temp_src =
-             glamor_convert_gradient_picture(screen, source,
--                                            extent->x1 + x_source - x_dest,
--                                            extent->y1 + y_source - y_dest,
-+                                            extent->x1 + x_source - x_dest - dest->pDrawable->x,
-+                                            extent->y1 + y_source - y_dest - dest->pDrawable->y,
-                                             width, height);
-         if (!temp_src) {
-             temp_src = source;
-@@ -1459,8 +1459,8 @@ glamor_composite_clipped_region(CARD8 op,
-         }
-         temp_src_priv =
-             glamor_get_pixmap_private((PixmapPtr) (temp_src->pDrawable));
--        x_temp_src = -extent->x1 + x_dest;
--        y_temp_src = -extent->y1 + y_dest;
-+        x_temp_src = -extent->x1 + x_dest + dest->pDrawable->x;
-+        y_temp_src = -extent->y1 + y_dest + dest->pDrawable->y;
-     }
- 
-     if (mask
-@@ -1474,8 +1474,8 @@ glamor_composite_clipped_region(CARD8 op,
-          * to do reduce one convertion. */
-         temp_mask =
-             glamor_convert_gradient_picture(screen, mask,
--                                            extent->x1 + x_mask - x_dest,
--                                            extent->y1 + y_mask - y_dest,
-+                                            extent->x1 + x_mask - x_dest - dest->pDrawable->x,
-+                                            extent->y1 + y_mask - y_dest - dest->pDrawable->y,
-                                             width, height);
-         if (!temp_mask) {
-             temp_mask = mask;
-@@ -1483,8 +1483,8 @@ glamor_composite_clipped_region(CARD8 op,
-         }
-         temp_mask_priv =
-             glamor_get_pixmap_private((PixmapPtr) (temp_mask->pDrawable));
--        x_temp_mask = -extent->x1 + x_dest;
--        y_temp_mask = -extent->y1 + y_dest;
-+        x_temp_mask = -extent->x1 + x_dest + dest->pDrawable->x;
-+        y_temp_mask = -extent->y1 + y_dest + dest->pDrawable->y;
-     }
-     /* Do two-pass PictOpOver componentAlpha, until we enable
-      * dual source color blending.
---
-cgit v0.9.0.2-2-gbebe
-



More information about the arch-commits mailing list