Package: xtrace
Version: 1.3.1-1
Severity: wishlist
Tags: patch

Please consider this patch for inclusion in xtrace.

-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 
'wily-proposed'), (500, 'wily'), (500, 'trusty-updates'), (500, 'trusty'), 
(100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-3-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xtrace depends on:
ii  libc6  2.21-0ubuntu4

xtrace recommends no packages.

Versions of packages xtrace suggests:
ii  xauth  1:1.0.9-1ubuntu2

-- no debconf information
>From df34c2c840aee1be012b6b40760d094b60c998a3 Mon Sep 17 00:00:00 2001
From: Robert Ancell <robert.anc...@canonical.com>
Date: Thu, 27 Aug 2015 12:45:48 +0100
Subject: [PATCH 1/4] render: Support extension version 0.10

---
 render.proto | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 50 insertions(+), 6 deletions(-)

diff --git a/render.proto b/render.proto
index a232bf9..4fcfe81 100644
--- a/render.proto
+++ b/render.proto
@@ -77,7 +77,12 @@ SetPictureFilter
 # 0.8
 CreateAnimCursor
 # 0.9
-AddTraps	/*32*/
+AddTraps
+# 0.10
+CreateSolidFill
+CreateLinearGradient
+CreateRadialGradient
+CreateConicalGradient /* 36 */
 END
 
 EVENTS
@@ -226,7 +231,14 @@ LIST IndexValue length 12
  10	alpha	CARD16
 END
 
-LIST POINTFIXED length 8
+STRUCT COLOR length 8
+ 0	red	CARD16
+ 2	green	CARD16
+ 4	blue	CARD16
+ 6	alpha	CARD16
+END
+
+STRUCT POINTFIXED length 8
  0	x	FIXED
  4	y	FIXED
 END
@@ -490,10 +502,7 @@ END
 REQUEST FillRectangles
  4	op	PictOp
  8	dst	PICTURE
-12	red	CARD16
-14	green	CARD16
-16	blue	CARD16
-18	alpha	CARD16
+12	color	COLOR
 20	rects	LISTofRECTANGLE
 END
 
@@ -566,4 +575,39 @@ REQUEST AddTraps
 12	traps	LISTofTRAP
 END
 
+REQUEST CreateSolidFill
+ 4	picture	PICTURE
+ 8	color	COLOR
+END
+
+REQUEST CreateLinearGradient
+ 4	picture	PICTURE
+ 8	p1	POINTFIXED
+16	p2	POINTFIXED
+24	numStops	COUNT32
+28	stops	LISTofFIXED
+RESET_COUNTER
+LATER	colors	LISTofCOLOR
+END
+
+REQUEST CreateRadialGradient
+ 4	picture	PICTURE
+ 8	inner	POINTFIXED
+16	outer	POINTFIXED
+24	innerRadius	FIXED
+28	outerRadius	FIXED
+32	numStops	COUNT32
+36	stops	LISTofFIXED
+RESET_COUNTER
+LATER	colors	LISTofCOLOR
+END
+
+REQUEST CreateConicalGradient
+ 4	picture	PICTURE
+ 8	center	POINTFIXED
+16	angle	FIXED
+20	numStops	COUNT32
+24	stops	LISTofFIXED
+END
+
 EOF
-- 
2.5.0

Reply via email to