[Mesa-dev] [PATCH] mesa/main: Advertise ARB_polygon_offset_clamp.

Ilia Mirkin imirkin at alum.mit.edu
Wed Jun 28 14:00:48 UTC 2017


OK, well, I don't know what our policy is on adding unpublished
extensions. However I've yet to see an ARB extension that says it's
available in GL ES contexts, so at the very least you'd have to
replace ES1, ES2 with x's.

Someone with access to the spec will have to do a proper review of this though.

Cheers,

  -ilia

On Wed, Jun 28, 2017 at 9:55 AM, Manolova, Plamena
<plamena.manolova at intel.com> wrote:
> Yes, it doesn't seem to be part of the registry yet, but it's one of the
> requirements for GL 4.6 apparently.
>
> On Wed, Jun 28, 2017 at 4:53 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>
>> Google seems to have no mention of such an extension.
>> https://khronos.org/registry/OpenGL/index_gl.php doesn't either.
>>
>> On Wed, Jun 28, 2017 at 9:50 AM, Plamena Manolova
>> <plamena.manolova at intel.com> wrote:
>> > ARB_polygon_offset_clamp is just the ARB variation
>> > of EXT_polygon_offset_clamp and they operate in an
>> > identical manner, so there's no reason for us not
>> > to advertise it.
>> >
>> > Signed-off-by: Plamena Manolova <plamena.manolova at intel.com>
>> > ---
>> >  src/mesa/main/extensions_table.h | 1 +
>> >  1 file changed, 1 insertion(+)
>> >
>> > diff --git a/src/mesa/main/extensions_table.h
>> > b/src/mesa/main/extensions_table.h
>> > index 757b7bf..8286c76 100644
>> > --- a/src/mesa/main/extensions_table.h
>> > +++ b/src/mesa/main/extensions_table.h
>> > @@ -94,6 +94,7 @@ EXT(ARB_pipeline_statistics_query           ,
>> > ARB_pipeline_statistics_query
>> >  EXT(ARB_pixel_buffer_object                 , EXT_pixel_buffer_object
>> > , GLL, GLC,  x ,  x , 2004)
>> >  EXT(ARB_point_parameters                    , EXT_point_parameters
>> > , GLL,  x ,  x ,  x , 1997)
>> >  EXT(ARB_point_sprite                        , ARB_point_sprite
>> > , GLL, GLC,  x ,  x , 2003)
>> > +EXT(ARB_polygon_offset_clamp                , EXT_polygon_offset_clamp
>> > , GLL, GLC, ES1, ES2, 2017)
>> >  EXT(ARB_post_depth_coverage                 , ARB_post_depth_coverage
>> > ,  x , GLC,  x ,  x,  2015)
>> >  EXT(ARB_program_interface_query             , dummy_true
>> > , GLL, GLC,  x ,  x , 2012)
>> >  EXT(ARB_provoking_vertex                    , EXT_provoking_vertex
>> > , GLL, GLC,  x ,  x , 2009)
>> > --
>> > 2.9.3
>> >
>> > _______________________________________________
>> > mesa-dev mailing list
>> > mesa-dev at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>


More information about the mesa-dev mailing list