Re: [Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
Quoting Ilia Mirkin (2016-09-22 13:21:04)
> On Thu, Sep 22, 2016 at 4:17 PM, Dylan Baker  wrote:
> > Quoting Ilia Mirkin (2016-09-22 12:59:49)
> >> On Thu, Sep 22, 2016 at 3:56 PM, Dylan Baker  wrote:
> >> > @@ -1305,6 +1318,7 @@ functions = [
> >> >  "SamplerParameterfv",
> >> >  "SamplerParameteri",
> >> >  "SamplerParameteriv",
> >> > +"SamplerParameterIiv",
> >> >  "Scaled",
> >> >  "Scalef",
> >> >  "Scalex",
> >>
> >> This is the case for a couple of these... how is this happening? In
> >> the current file, I see:
> >>
> >>"SamplerParameterf",
> >>"SamplerParameterfv",
> >>"SamplerParameteri",
> >>"SamplerParameterIiv",
> >>"SamplerParameterIuiv",
> >>"SamplerParameteriv",
> >>
> >> Did you accidentally drop it? Where is the Iuiv version? [Same for a
> >> couple other ones.]
> >
> > It was in there before I wrote this patch
> 
> But then again, so was SamplerParameterIiv and yet you appear to be
> adding it... what happened?

You're right. What the heck?


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Ilia Mirkin
On Thu, Sep 22, 2016 at 4:17 PM, Dylan Baker  wrote:
> Quoting Ilia Mirkin (2016-09-22 12:59:49)
>> On Thu, Sep 22, 2016 at 3:56 PM, Dylan Baker  wrote:
>> > @@ -1305,6 +1318,7 @@ functions = [
>> >  "SamplerParameterfv",
>> >  "SamplerParameteri",
>> >  "SamplerParameteriv",
>> > +"SamplerParameterIiv",
>> >  "Scaled",
>> >  "Scalef",
>> >  "Scalex",
>>
>> This is the case for a couple of these... how is this happening? In
>> the current file, I see:
>>
>>"SamplerParameterf",
>>"SamplerParameterfv",
>>"SamplerParameteri",
>>"SamplerParameterIiv",
>>"SamplerParameterIuiv",
>>"SamplerParameteriv",
>>
>> Did you accidentally drop it? Where is the Iuiv version? [Same for a
>> couple other ones.]
>
> It was in there before I wrote this patch

But then again, so was SamplerParameterIiv and yet you appear to be
adding it... what happened?
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
Quoting Ilia Mirkin (2016-09-22 12:59:49)
> On Thu, Sep 22, 2016 at 3:56 PM, Dylan Baker  wrote:
> > @@ -1305,6 +1318,7 @@ functions = [
> >  "SamplerParameterfv",
> >  "SamplerParameteri",
> >  "SamplerParameteriv",
> > +"SamplerParameterIiv",
> >  "Scaled",
> >  "Scalef",
> >  "Scalex",
> 
> This is the case for a couple of these... how is this happening? In
> the current file, I see:
> 
>"SamplerParameterf",
>"SamplerParameterfv",
>"SamplerParameteri",
>"SamplerParameterIiv",
>"SamplerParameterIuiv",
>"SamplerParameteriv",
> 
> Did you accidentally drop it? Where is the Iuiv version? [Same for a
> couple other ones.]

It was in there before I wrote this patch

I generated the list of extensions by greping for 'es2="3.2"' in
src/mapi/glapi/gen, and then checking that against the extension specs listed on
mesamatrix.

When I generated that I came up with 44 new functions, but the majority of them
were already in that list. It looks like that one in particular was added in
d9be1db4b69a04f58a951351051ef9798d55da98, I suspect we'll find most of them were
added in that commit.

Dylan


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Ilia Mirkin
On Thu, Sep 22, 2016 at 3:56 PM, Dylan Baker  wrote:
> @@ -1305,6 +1318,7 @@ functions = [
>  "SamplerParameterfv",
>  "SamplerParameteri",
>  "SamplerParameteriv",
> +"SamplerParameterIiv",
>  "Scaled",
>  "Scalef",
>  "Scalex",

This is the case for a couple of these... how is this happening? In
the current file, I see:

   "SamplerParameterf",
   "SamplerParameterfv",
   "SamplerParameteri",
   "SamplerParameterIiv",
   "SamplerParameterIuiv",
   "SamplerParameteriv",

Did you accidentally drop it? Where is the Iuiv version? [Same for a
couple other ones.]
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
See commit 5921f372c89a68fac6ddefc009442721d9df4db2 for the rational of
this commit.

Signed-off-by: Dylan Baker 
---

v2: - fix TexBufferRange typo (Ilia)
- Remove duplicate TexParameterIuiv

 src/mapi/glapi/gen/static_data.py | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/src/mapi/glapi/gen/static_data.py 
b/src/mapi/glapi/gen/static_data.py
index bb11c1d..e355a95 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -484,17 +484,22 @@ functions = [
 "BindVertexBuffer",
 "BindVertexBuffers",
 "Bitmap",
+"BlendBarrier",
 "BlendColor",
 "BlendColorEXT",
 "BlendEquation",
 "BlendEquationEXT",
 "BlendEquationSeparate",
+"BlendEquationSeparatei",
 "BlendEquationSeparateiARB",
+"BlendEquationi",
 "BlendEquationiARB",
 "BlendFunc",
 "BlendFuncSeparate",
 "BlendFuncSeparateEXT",
+"BlendFuncSeparatei",
 "BlendFuncSeparateiARB",
+"BlendFunci",
 "BlendFunciARB",
 "BlitFramebuffer",
 "BufferData",
@@ -825,6 +830,7 @@ functions = [
 "GetFramebufferAttachmentParameteriv",
 "GetFramebufferAttachmentParameterivEXT",
 "GetFramebufferParameteriv",
+"GetGraphicsResetStatus",
 "GetGraphicsResetStatusARB",
 "GetHandleARB",
 "GetHistogram",
@@ -887,6 +893,7 @@ functions = [
 "GetSamplerParameterIiv",
 "GetSamplerParameterIuiv",
 "GetSamplerParameterfv",
+"GetSamplerParameteri",
 "GetSamplerParameteriv",
 "GetSeparableFilter",
 "GetShaderInfoLog",
@@ -951,8 +958,11 @@ functions = [
 "GetnSeparableFilterARB",
 "GetnTexImageARB",
 "GetnUniformdvARB",
+"GetnUniformfv",
 "GetnUniformfvARB",
+"GetnUniformiv",
 "GetnUniformivARB",
+"GetnUniformuiv",
 "GetnUniformuivARB",
 "Hint",
 "Histogram",
@@ -1160,6 +1170,7 @@ functions = [
 "Orthof",
 "Orthox",
 "PassThrough",
+"PatchParameteri"
 "PauseTransformFeedback",
 "PixelMapfv",
 "PixelMapuiv",
@@ -1191,6 +1202,7 @@ functions = [
 "PopDebugGroup",
 "PopMatrix",
 "PopName",
+"PrimitiveBoundingBox",
 "PrimitiveRestartIndex",
 "PrimitiveRestartIndexNV",
 "PrimitiveRestartNV",
@@ -1274,6 +1286,7 @@ functions = [
 "RasterPos4sv",
 "ReadBuffer",
 "ReadPixels",
+"ReadnPixels",
 "ReadnPixelsARB",
 "Rectd",
 "Rectdv",
@@ -1305,6 +1318,7 @@ functions = [
 "SamplerParameterfv",
 "SamplerParameteri",
 "SamplerParameteriv",
+"SamplerParameterIiv",
 "Scaled",
 "Scalef",
 "Scalex",
@@ -1442,6 +1456,7 @@ functions = [
 "TexSubImage2D",
 "TexSubImage3D",
 "TexSubImage3DEXT",
+"TexBufferRange",
 "TextureBarrierNV",
 "TextureStorage1DEXT",
 "TextureStorage2DEXT",
-- 
2.10.0

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev