From da705f93296e838604d5ce931dc85ce25cc3fadc Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Wed, 21 May 2014 10:35:03 +1200 Subject: [PATCH] Document QueryFilters QueryFilters had no documentation. Document it, in particular how to interpret the 'aliases' field. --- renderproto.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/renderproto.txt b/renderproto.txt index 92ac805..c349e03 100644 --- a/renderproto.txt +++ b/renderproto.txt @@ -567,7 +567,13 @@ QueryFilters filters: LISTofSTRING8 aliases: LISTofCARD16 - + This request gets the names of available filters that can be used on the + given drawable. Filters are applied using a SetPictureFilter request. + + 'aliases' contains a value for each filter name which is the index into + 'filters' if this name is an alias. Non-aliased filter have this value + set to 0xFFFF. + 14. Extension Requests CreatePicture