From owner-ogl-sample@oss.sgi.com Sun Dec 2 05:29:37 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB2DTbR30533 for ogl-sample-outgoing; Sun, 2 Dec 2001 05:29:37 -0800 Received: from ifi.informatik.uni-stuttgart.de (ifi.informatik.uni-stuttgart.de [129.69.211.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB2DTVo30529 for ; Sun, 2 Dec 2001 05:29:32 -0800 Received: from wwwvis.informatik.uni-stuttgart.de (root@wwwvis [129.69.215.162]) by ifi.informatik.uni-stuttgart.de (8.9.3/2.2) with ESMTP id NAA18255 for ; Sun, 2 Dec 2001 13:29:10 +0100 (MET) Received: from ysabell.wh.vaih (gw-41.wh.uni-stuttgart.de [129.69.166.244]) by wwwvis.informatik.uni-stuttgart.de (8.9.3/2.2) with ESMTP id NAA14542 for ; Sun, 2 Dec 2001 13:29:28 +0100 Received: from marcelo by ysabell.wh.vaih with local (Exim 3.33 #1 (Debian)) id 16AVkO-0004pH-00 for ; Sun, 02 Dec 2001 13:29:28 +0100 Date: Sun, 2 Dec 2001 13:29:28 +0100 From: "Marcelo E. Magallon" To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] .spec file syntax for assignments Message-ID: <20011202122928.GA18523@ysabell.wh.vaih> References: <3BFE1DAD.8FB417B4@BetaResearch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BFE1DAD.8FB417B4@BetaResearch.de> User-Agent: Mutt/1.3.24i X-Operating-System: Linux ysabell 2.4.15-pre5-xfs Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com >> Sven Panne writes: > As already noticed by several people on this list, the .spec files > have a few buglets, like referencing extensions which are commented > out, using "@@" to mark a place to fix outside a comment, etc. Will > this be fixed soon? Same question here. After my initial reports, I found some more bugs, but since I never saw any effect coming out of said reports, I didn't send further ones. From the top of my head, glXCreateContext is declared as returning void. Ahem. Pointers are declared as "Int32" (which in turn is an alias for "int", i.e., the fact that the implementor didn't actually force 32 bits on Int32 is a lucky shot). And someone documenting the difference between: ./doc/registry/specs/glx.spec ./gfx/include/gl/spec/glx.spec (the "two types of spec files" Sven refers to) would be nice. After some poking arround I came to the arbitrary conclusion that the 'doc' version is the canonical one. > Nothing very serious, but it would be nice if the .spec files could > be processed automatically without prior patching or extensive > workarounds in the tools using them. Ditto. -- Marcelo From owner-ogl-sample@oss.sgi.com Sun Dec 2 07:32:34 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB2FWYo00677 for ogl-sample-outgoing; Sun, 2 Dec 2001 07:32:34 -0800 Received: from lester.tcs.informatik.uni-muenchen.de (lester.tcs.informatik.uni-muenchen.de [129.187.228.109]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB2FWUo00674 for ; Sun, 2 Dec 2001 07:32:30 -0800 Received: from informatik.uni-muenchen.de (root@olimarao.pms.informatik.uni-muenchen.de [129.187.214.86]) by lester.tcs.informatik.uni-muenchen.de (8.9.3/8.9.3) with ESMTP id QAA26864 for ; Sun, 2 Dec 2001 16:32:20 +0100 Message-ID: <3C0A3BA5.D65CA2AD@informatik.uni-muenchen.de> Date: Sun, 02 Dec 2001 15:33:09 +0100 From: Sven Panne X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.4.0-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] .spec file syntax for assignments References: <3BFE1DAD.8FB417B4@BetaResearch.de> <20011202122928.GA18523@ysabell.wh.vaih> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com "Marcelo E. Magallon" wrote: > [...] but since I never saw any effect coming out of said reports, > I didn't send further ones. Perhaps we could collect the errata for the .spec files/scripts in a single place and make them publicly available. This shouldn't rival the official place in any way, it should be more like e.g. "The Java Spec report" (http://www.ergnosis.com/java-spec-report/). It's a waste of resources if everybody discovers the bugs on his/her own again and again. BTW, I just had a look at Mesa's bin/APIspec: # This file describes all the OpenGL functions. # We use a number of Python scripts to parse this file and # generate some source files. We used to use the SGI gl.spec # file but that got to be a PITA. The Mesa people don't seem to be very happy with the state of gl.spec and friends, either... :-)) > [...] After some poking arround I came to the arbitrary conclusion > that the 'doc' version is the canonical one. [...] I guessed the same thing, but perhaps somebody on this list could give an "official" statement about the relationship of the two directories. Cheers, S. From owner-ogl-sample@oss.sgi.com Fri Dec 7 17:57:48 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB81vmu30347 for ogl-sample-outgoing; Fri, 7 Dec 2001 17:57:48 -0800 Received: from web14304.mail.yahoo.com (web14304.mail.yahoo.com [216.136.173.80]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB81vko30344 for ; Fri, 7 Dec 2001 17:57:46 -0800 Message-ID: <20011208005745.88828.qmail@web14304.mail.yahoo.com> Received: from [204.92.234.64] by web14304.mail.yahoo.com via HTTP; Fri, 07 Dec 2001 19:57:45 EST Date: Fri, 7 Dec 2001 19:57:45 -0500 (EST) From: Dante Allegria Subject: [ogl-sample] OGL Testsuites? To: ogl-sample@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Hi, Does anyone know if there's any opengl testsuites out there for drivers? Thanks! dante ===== ------------------------------------------------------------ ______________________________________________________ Send your holiday cheer with http://greetings.yahoo.ca From owner-ogl-sample@oss.sgi.com Fri Dec 7 19:09:36 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB839aQ31512 for ogl-sample-outgoing; Fri, 7 Dec 2001 19:09:36 -0800 Received: from ifi.informatik.uni-stuttgart.de (ifi.informatik.uni-stuttgart.de [129.69.211.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB839Xo31506 for ; Fri, 7 Dec 2001 19:09:34 -0800 Received: from wwwvis.informatik.uni-stuttgart.de (root@wwwvis [129.69.215.162]) by ifi.informatik.uni-stuttgart.de (8.9.3/2.2) with ESMTP id DAA05028 for ; Sat, 8 Dec 2001 03:09:11 +0100 (MET) Received: from ysabell.wh.vaih (gw-41.wh.uni-stuttgart.de [129.69.166.244]) by wwwvis.informatik.uni-stuttgart.de (8.9.3/2.2) with ESMTP id DAA31407 for ; Sat, 8 Dec 2001 03:09:29 +0100 Received: from marcelo by ysabell.wh.vaih with local (Exim 3.33 #1 (Debian)) id 16CWvo-0000bY-00 for ; Sat, 08 Dec 2001 03:09:36 +0100 Date: Sat, 8 Dec 2001 03:09:36 +0100 From: "Marcelo E. Magallon" To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] OGL Testsuites? Message-ID: <20011208020936.GA2300@ysabell.wh.vaih> References: <20011208005745.88828.qmail@web14304.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011208005745.88828.qmail@web14304.mail.yahoo.com> User-Agent: Mutt/1.3.24i X-Operating-System: Linux ysabell 2.4.16-xfs Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com >> Dante Allegria writes: > Does anyone know if there's any opengl testsuites out there for > drivers? You can look at glean, it's hosted at sourceforge.net; there's also the conformance tests, but those are not publicly available AFAIK. -- Marcelo From owner-ogl-sample@oss.sgi.com Fri Dec 7 20:28:02 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fB84S2f32707 for ogl-sample-outgoing; Fri, 7 Dec 2001 20:28:02 -0800 Received: from tuolumne.arden.org (IDENT:root@dsl-64-130-153-225.telocity.com [64.130.153.225]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fB84Rxo32704 for ; Fri, 7 Dec 2001 20:28:00 -0800 Received: (from akin@localhost) by tuolumne.arden.org (8.11.6/8.11.6) id fB83Rwp10515 for ogl-sample@oss.sgi.com; Fri, 7 Dec 2001 19:27:58 -0800 Date: Fri, 7 Dec 2001 19:27:58 -0800 From: Allen Akin To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] OGL Testsuites? Message-ID: <20011207192758.C30716@tuolumne.arden.org> Mail-Followup-To: ogl-sample@oss.sgi.com References: <20011208005745.88828.qmail@web14304.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011208005745.88828.qmail@web14304.mail.yahoo.com>; from danteallegria@yahoo.ca on Fri, Dec 07, 2001 at 07:57:45PM -0500 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com On Fri, Dec 07, 2001 at 07:57:45PM -0500, Dante Allegria wrote: | | Does anyone know if there's any opengl testsuites out there for | drivers? I'm still looking for contributions to glean (be sure to use CVS to get the current version from glean.sourceforge.net). The original concept was that I would collect tests from both vendors and from game/app developers (who might want to guarantee that a particular feature works the way they'd like). There have been *very* few contributions, though. Allen From owner-ogl-sample@oss.sgi.com Tue Dec 18 12:04:39 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fBIK4dD04287 for ogl-sample-outgoing; Tue, 18 Dec 2001 12:04:39 -0800 Received: from lester.tcs.informatik.uni-muenchen.de (lester.tcs.informatik.uni-muenchen.de [129.187.228.109]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fBIK4Oo04280 for ; Tue, 18 Dec 2001 12:04:25 -0800 Received: from informatik.uni-muenchen.de (root@olimarao.pms.informatik.uni-muenchen.de [129.187.214.86]) by lester.tcs.informatik.uni-muenchen.de (8.9.3/8.9.3) with ESMTP id UAA13919; Tue, 18 Dec 2001 20:04:13 +0100 Message-ID: <3C1F9371.32F2B3D9@informatik.uni-muenchen.de> Date: Tue, 18 Dec 2001 20:05:21 +0100 From: Sven Panne X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.4.0-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] .spec file syntax for assignments References: <3BFE1DAD.8FB417B4@BetaResearch.de> <20011202122928.GA18523@ysabell.wh.vaih> <3C0A3BA5.D65CA2AD@informatik.uni-muenchen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com After some thoughts, I don't think that a separate "patch"/"bug" page for the .spec files is the right way to go. Although Marcelo didn't offer me much hope, :-} I'll try it anyway: As a first shot, I've collected the bugs in the enumerant specifications in the SI and the registry, including the patches to fix them (see below. BTW, does this list handle attachments?). Another question: The registry's enumext.spec could not be used on its own, because it uses definitions from enum.spec. But the latter contains extenstions, which are in the former, too. Could somebody enlighten me about this slightly strange partitioning? The bugs: 1) main/gfx/include/gl/spec/enum.spec * GetTarget misses a definition for LOGIC_OP (used by BlendEquationMode) * There is some naming confusion about ABGR * convolution misses a definition for IGNORE_BORDER (used by ConvolutionBorderMode) 2) main/doc/registry/specs/enum.spec * SGIX_icc_texture is commented out (used in PixelFormat and PixelInternalFormat) 3) main/doc/registry/specs/enumext.spec * Wrong syntax on some RHSs of EXT_vertex_weighting equations 4) main/doc/registry/specs/glxenum.spec * Missing comment character Cheers, S. --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP-- --- main/gfx/include/gl/spec/enum.spec.orig Sun Dec 16 15:43:50 2001 +++ main/gfx/include/gl/spec/enum.spec Sun Dec 16 16:42:51 2001 @@ -613,6 +613,7 @@ LOGIC_OP_MODE = 0x0BF0 INDEX_LOGIC_OP = 0x0BF1 + LOGIC_OP = 0x0BF1 COLOR_LOGIC_OP = 0x0BF2 AUX_BUFFERS = 0x0C00 @@ -1054,7 +1055,7 @@ RGBA = 0x1908 LUMINANCE = 0x1909 LUMINANCE_ALPHA = 0x190A - use abgr ABGR + use EXT_abgr ABGR_EXT PixelInternalFormat enum: use texture ALPHA4 @@ -1537,6 +1538,7 @@ POST_CONVOLUTION_GREEN_BIAS = 0x8021 # 1 F POST_CONVOLUTION_BLUE_BIAS = 0x8022 # 1 F POST_CONVOLUTION_ALPHA_BIAS = 0x8023 # 1 F + IGNORE_BORDER = 0x8150 CONSTANT_BORDER = 0x8151 REPLICATE_BORDER = 0x8153 CONVOLUTION_BORDER_COLOR = 0x8154 --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP-- --- main/doc/registry/specs/enum.spec.orig Wed May 23 20:15:05 2001 +++ main/doc/registry/specs/enum.spec Sun Dec 16 16:47:01 2001 @@ -3315,19 +3315,19 @@ ############################################################################### # Incomplete extension, not in enumext.spec -# SGIX_icc_texture enum: -# RGB_ICC_SGIX = 0x8460 -# RGBA_ICC_SGIX = 0x8461 -# ALPHA_ICC_SGIX = 0x8462 -# LUMINANCE_ICC_SGIX = 0x8463 -# INTENSITY_ICC_SGIX = 0x8464 -# LUMINANCE_ALPHA_ICC_SGIX = 0x8465 -# R5_G6_B5_ICC_SGIX = 0x8466 -# R5_G6_B5_A8_ICC_SGIX = 0x8467 -# ALPHA16_ICC_SGIX = 0x8468 -# LUMINANCE16_ICC_SGIX = 0x8469 -# INTENSITY16_ICC_SGIX = 0x846A -# LUMINANCE16_ALPHA8_ICC_SGIX = 0x846B +SGIX_icc_texture enum: + RGB_ICC_SGIX = 0x8460 + RGBA_ICC_SGIX = 0x8461 + ALPHA_ICC_SGIX = 0x8462 + LUMINANCE_ICC_SGIX = 0x8463 + INTENSITY_ICC_SGIX = 0x8464 + LUMINANCE_ALPHA_ICC_SGIX = 0x8465 + R5_G6_B5_ICC_SGIX = 0x8466 + R5_G6_B5_A8_ICC_SGIX = 0x8467 + ALPHA16_ICC_SGIX = 0x8468 + LUMINANCE16_ICC_SGIX = 0x8469 + INTENSITY16_ICC_SGIX = 0x846A + LUMINANCE16_ALPHA8_ICC_SGIX = 0x846B ############################################################################### --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP-- --- main/doc/registry/specs/enumext.spec Wed May 23 20:15:05 2001 +++ main/doc/registry/specs/enumext.spec Sun Dec 16 17:47:39 2001 @@ -1818,12 +1818,12 @@ # Extension #188 EXT_vertex_weighting enum: - MODELVIEW0_STACK_DEPTH_EXT = GL_MODELVIEW_STACK_DEPTH + MODELVIEW0_STACK_DEPTH_EXT = $MODELVIEW_STACK_DEPTH MODELVIEW1_STACK_DEPTH_EXT = 0x8502 - MODELVIEW0_MATRIX_EXT = GL_MODELVIEW_MATRIX + MODELVIEW0_MATRIX_EXT = $MODELVIEW_MATRIX MODELVIEW1_MATRIX_EXT = 0x8506 VERTEX_WEIGHTING_EXT = 0x8509 - MODELVIEW0_EXT = GL_MODELVIEW + MODELVIEW0_EXT = $MODELVIEW MODELVIEW1_EXT = 0x850A CURRENT_VERTEX_WEIGHT_EXT = 0x850B VERTEX_WEIGHT_ARRAY_EXT = 0x850C --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP-- --- main/doc/registry/specs/glxenum.spec.orig Wed Apr 26 04:10:53 2000 +++ main/doc/registry/specs/glxenum.spec Sun Dec 16 18:16:09 2001 @@ -37,7 +37,7 @@ # enumerant registry (gl.spec). Basically, don't modify this # file unless you're SGI's ARB Representative. -@@ Add multisample extension +# @@ Add multisample extension Extensions define: VERSION_1_1 = 1 VERSION_1_2 = 1 --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP--