[PATCH] Correct QueryPictFormats reply fields.

Robert Ancell robert.ancell at canonical.com
Tue May 20 15:19:46 PDT 2014


The QueryPictFormats reply referred to a fallback which does not exist and didn't document the ndepths and nvisuals fields.
---
 renderproto.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/renderproto.txt b/renderproto.txt
index 9f1f231..74fb411 100644
--- a/renderproto.txt
+++ b/renderproto.txt
@@ -519,9 +519,10 @@ QueryPictFormats
 
 	->
 
-	fallback:	PICTFORMAT
 	formats:	LISTofPICTFORMINFO
 	screens:	LISTofPICTSCREEN
+	ndepths:	CARD32
+	nvisuals:	CARD32
 	subpixels:	LISTofSUBPIXEL
 
 	Errors:
@@ -532,8 +533,8 @@ QueryPictFormats
 	Every PictFormat must match a supported depth, but not every
 	PictFormat need have a matching visual.
 
-	The fallback format is used as an intermediate representation
-	in cases where there is no ideal choice.
+	The total number of PICTDEPTH and PICTVISUAL objects is this reply
+	is given in 'ndepths' and 'nvisuals'.
 
 	The relationship between the red, green and blue elements making
 	up each pixel indexed by screen is returned in subpixels.
-- 
2.0.0.rc0



More information about the xorg-devel mailing list