[Mesa-dev] Easy learning project for someone looking to get into Mesa development

Ian Romanick idr at freedesktop.org
Mon Oct 14 19:25:18 CEST 2013


Here's a project for anyone looking to get into Mesa development that
should be easy for anyone with decent C programming skills to tackle:
GL_ARB_texture_mirror_clamp_to_edge.

http://www.opengl.org/registry/specs/ARB/texture_mirror_clamp_to_edge.txt

This extension is effectively a subset of another extension
(GL_ATI_texture_mirror_once) that Mesa already supports.  Some hardware
with drivers in Mesa support the ATI extension, and some hardware can
only support the ARB extension.

I think this should be as easy as:

1. Add a flag to gl_extensions (src/mesa/main/mtypes.h) for the new
extension.  Please keep the list alphabetized.

2. Add the extension string to extension_table (src/mesa/main/extensions.c).

3. Update any place that checks the old extension flag to possibly also
check the new extension flag.  Some places will, some won't.

4. Update the piglit tests that exercise the ATI extension to also
exercise the ARB extension.

5. Update docs/GL3.txt. :)

I think all of the Gallium drivers that can support the ARB extension
already support the ATI extension, so there shouldn't be any extra work
there.  I'm not 100% positive on that, though.


More information about the mesa-dev mailing list