[m-rev.] for review: more additions to the OpenGL binding

Julien Fischer juliensf at cs.mu.OZ.AU
Mon May 17 18:27:20 AEST 2004


I've committed this.

On Thu, 29 Apr 2004, Julien Fischer wrote:
>
> For review by anyone.
>
> Estimated hours taken: 12(?)
> Branches: main.
>
> Merge my version of the OpenGL binding with that in the CVS
> repository.
>
> This adds a lot of the missing functionality from OpenGL
> 1.1 - the remainder is in the TODO list at the head of
> mogl.m.
>
> (Is there any interest in adding the GLUT binding that I
>  wrote to the extras distribution?  It's a lot easier than using
>  mtogl, which is all we currently have.)
>
> Julien.
>
> extras/graphics/mercury_opengl/mglu.m:
> 	Add myself to the list of authors.
>
> 	Add a TODO list.
>
> 	Swap to predmode syntax throughout.
>
> 	Define a callback for the quadric routines that causes
> 	an error message to be printed to stderr and execution
> 	to be aborted.
>
> extras/graphics/mercury_opengl/mogl.m:
> 	Add myself to the list of authors.
>
> 	Update the comment about which versions of OpenGL
> 	we support to include version 1.5.
>
> 	Add a TODO list.
>
> 	Swap to predmode syntax throughout.
>
> 	Provide field names for the `clip_plane' type.
>
> 	Add predicates for a lot of stuff relating to texture mapping.
> 	Fix some of the existing stuff related to texture mapping
> 	as it was either incorrect or incomplete.
> 	XXX This is still incomplete - although you can now
> 	manipulate textures in Mercury you cannot create them.
>
> 	Add some support for pixel rectangles.
> 	XXX This is still incomplete - the current support is mainly
> 	useful for some obscure colour effects.
>
> 	Add the ability to specify fog colours, both in RGBA mode
> 	and colour index mode.
>
> 	Add predicates for manipulating the client/server attribute
> 	stacks.
>
> 	Reorder the constructors for the `control_flag' type so that
> 	they are in alphabetical order - add some control flags from
> 	OpenGL 1.1 that were missing.
>
> 	Add predicates for querying OpenGL state.
> 	XXX We still don't have predicates for all of the state requests.
>
> 	Fix up places where we do not conform to the C/Mercury coding
> 	standards.
>
> 	Reorder some of the predicates so that related predicates are
> 	grouped together.
>
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list