[Mesa-dev] [PATCH] Trivially enable GL_ARB_texture_border_clamp for nouveau_vieux

randrianasulu at gmail.com randrianasulu at gmail.com
Sat Sep 18 08:41:43 PDT 2010


Patch was not exactly correct, pre-GeForce3 (pre nv20) cards can't do texture 
borders, even if said mode (CLAMP_TO_BORDER) listed in current headers 
(nouveau_class.h) and code has case switch for it.

But strangely, for me extension pop up in list just as i added it (i was 
played with cubemaps, got one face from  requred six in cubemap demo, highly 
corrupted, but it is another story), and Mesa  finally reported OpenGL 1.3/ 
of cource, it was lie (due to non-working cubemaps and useless 
clamp_to_border), but still .....  make sure you have correct dri driver 
loaded, LIBGL_DEBUG=verbose usually will tell you from where it tried to load 
dri driver.

As for list of extensions blob exposed .... 

GL_ARB_pixel_buffer_object - need some work, i'm not sure what  this one want 

GL_ARB_point_sprite - unfortunately not as trivial as they sounds .... will 
look at them

GL_ARB_shading_language_100 - sounds like software-emulated on nv17 :(

GL_ARB_texture_cube_map - hopefully soon.
GL_ARB_vertex_program - should be trivial, in software

GL_ARB_vertex_shader - this one harder, even if in sw.
GL_S3_s3tc - played with this one, no luck, due to my incapability to write 
non-trivial code

GL_EXT_clip_volume_hint - another one i don't know about .... 

GL_EXT_gpu_program_parameters - - sounds like sw emulation again (nv17 has no 
advanced pixel processors, not even at GF3-level, so only very-very simple Cg 
(C-for-Graphics, if i remember correctly) programs will have very slim chance 
to run accelerated)

GL_EXT_paletted_texture - should be simple

GL_EXT_pixel_buffer_object - see GL_ARB_pixel_buffer_object
GL_EXT_point_parameters - see ARB variant ....
GL_EXT_shared_texture_palette - not sure what this one mean at specification 
level ...
GL_EXT_texture_compression_s3tc - should be enabled automatically when s3tc 
support will be ready
GL_EXT_texture_cube_map - same here
GL_EXT_texture_env_dot3 - hopefully same here, but need to check ....
GL_EXT_texture_lod - not sure, isn't it enabled already?
GL_KTX_buffer_region - something very specific to Autodesk, not sure if it 
will ever be supported, i even read this ext not recommended for  generic 

GL_NV_fence - hopefully just need some path from kernel, but may be 
name 'fence' just mislead me. 

GL_NV_fog_distance - Francisco worked on fog sucessfully, hopefully he has 
something to add on this one.
GL_NV_pixel_data_range - i don't meet this one yet
GL_NV_point_sprite - nv version of point sprites ?

GL_NV_register_combiners - mesa lacks support for this one

GL_NV_vertex_array_range2 - hopefully someday ...

GL_NV_vertex_program1_1 - again, should be not too hard in sw.

GL_SGIS_multitexture - probably already enabled in hw, as  early version of  
ARB_multitexture, may be with some differencies.
GL_SUN_slice_accum - old extensions i  know very little about

More information about the mesa-dev mailing list