From 82e22f50f1e1640d60dbe243ea093960aa682be1 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 27 Jan 2005 19:39:16 +0000 Subject: Add numerous 'get'-type functions to most of the enums supported by the server-side GLX implementation. Correct the protocol for EXT_convolution. Several functions were incorrectly listed as 'sop' that should have been 'vendorpriv'. Remove TexParameter[if]v from the list of functions associated with TEXTURE_RESIDENT. The state associated with this enum is read-only. Sort the enums by value for each particular size. This ensures that the signature is the same no matter what the ordering is of the enums in the XML file. The side effect is that there are some extra changes in indirect_size.c. --- src/mesa/glapi/glX_XML.py | 1 + src/mesa/glapi/gl_API.xml | 552 ++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 511 insertions(+), 42 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/glapi/glX_XML.py b/src/mesa/glapi/glX_XML.py index dcfb015623..df3e6bb1cb 100644 --- a/src/mesa/glapi/glX_XML.py +++ b/src/mesa/glapi/glX_XML.py @@ -120,6 +120,7 @@ class glXEnumFunction: if self.sig == None: self.sig = "" for i in self.count: + self.count[i].sort() for e in self.count[i]: self.sig += "%04x,%u," % (e, i) diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml index 1be72a1e1e..fe1aa42332 100644 --- a/src/mesa/glapi/gl_API.xml +++ b/src/mesa/glapi/gl_API.xml @@ -55,7 +55,7 @@ The various attributes for param and glx have the meanings listed below. When adding new functions, please annote them correct. In most cases this will just mean adding a '' tag. - + param: name - name of the parameter type - fully qualified type (e.g., with "const", etc.) @@ -375,6 +375,8 @@ glx: + + @@ -488,13 +490,27 @@ glx: - - - - + + + + + + + + + + + + + + + + + + @@ -504,46 +520,72 @@ glx: + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -596,18 +638,26 @@ glx: + + + + + + + + @@ -652,10 +702,14 @@ glx: + + + + @@ -665,16 +719,25 @@ glx: + + + + + + - + + + + @@ -685,18 +748,26 @@ glx: + + + + + + + + @@ -2659,21 +2730,41 @@ glx: - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -2948,10 +3039,15 @@ glx: - + + + + + + @@ -2969,18 +3065,26 @@ glx: + + + + + + + + @@ -2996,7 +3100,105 @@ glx: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3430,8 +3632,14 @@ glx: - - + + + + + + + + @@ -3440,62 +3648,92 @@ glx: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3815,6 +4053,8 @@ glx: + + @@ -3843,21 +4083,34 @@ glx: + + + + - + + + + + + + + + + @@ -4256,6 +4509,11 @@ glx: + + + + + @@ -4608,8 +4866,14 @@ glx: - - + + + + + + + + @@ -4908,10 +5172,15 @@ glx: - + + + + + + @@ -4919,10 +5188,14 @@ glx: + + + + @@ -4931,6 +5204,8 @@ glx: + + @@ -6067,6 +6342,8 @@ glx: + + @@ -6166,12 +6443,30 @@ glx: - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -6308,6 +6603,51 @@ glx: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6377,23 +6717,60 @@ glx: - + + + - + + + - + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6460,21 +6837,21 @@ glx: - + - + - + @@ -6484,7 +6861,7 @@ glx: - + @@ -6784,6 +7161,8 @@ glx: + + @@ -6793,15 +7172,26 @@ glx: + + + + + + + + - + + + + @@ -6816,10 +7206,14 @@ glx: + + + + @@ -6932,10 +7326,14 @@ glx: + + + + @@ -7072,6 +7470,43 @@ glx: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7152,17 +7587,23 @@ glx: - + + + - + + + - + + + @@ -8226,6 +8667,8 @@ glx: + + @@ -8233,6 +8676,8 @@ glx: + + @@ -8389,18 +8834,26 @@ glx: + + + + + + + + @@ -9342,14 +9795,20 @@ glx: + + + + + + @@ -9521,7 +9980,14 @@ glx: - + + + + + + + + @@ -9619,6 +10085,8 @@ glx: + + -- cgit v1.2.3