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

Ian Romanick idr at freedesktop.org
Mon Oct 14 23:34:14 CEST 2013


On 10/14/2013 12:22 PM, Marek Olšák wrote:
> I'd just add an alias "GL_ARB_texture_mirror_clamp_to_edge" ->
> o(ATI_texture_mirror_once), so it would just be a one-liner change to
> extensions.c.

Like I said:

>> Some hardware
>> with drivers in Mesa support the ATI extension, and some hardware can
>> only support the ARB extension.

:)

> Marek
> 
> On Mon, Oct 14, 2013 at 7:25 PM, Ian Romanick <idr at freedesktop.org> wrote:
>> 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.
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



More information about the mesa-dev mailing list