new(?) argument types: OES_fixed_point

View: New views
5 Messages — Rating Filter:   Alert me  

new(?) argument types: OES_fixed_point

by tom fogal-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I can't seem to build based on downloaded extensions on a Debian lenny
system.  The issue seems to be that `fixed' and `clampx' values do not
get translated to their appropriate C types.

perl -v:
    This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
    ...

I couldn't find the script which is supposed to replace these values
.. could someone point me at where this step is occurring?

Thanks,

-tom

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
glew-coders mailing list
glew-coders@...
https://lists.sourceforge.net/lists/listinfo/glew-coders

Re: new(?) argument types: OES_fixed_point

by tom fogal-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tom fogal <tfogal@...> writes:
> Hi all,
>
> I can't seem to build based on downloaded extensions on a Debian lenny
> system.  The issue seems to be that `fixed' and `clampx' values do not
> get translated to their appropriate C types.

The issue was in wrapping OES functions.  The attached patch fixes
it.

I am not sure the blacklist part is necessary; it is certainly not
sufficient.  Comments?  Any chance of this being applied?

-tom


From 1032787307afa80d5e1f858b0e0d3d746dfe4f78 Mon Sep 17 00:00:00 2001
From: Tom Fogal <tfogal@...>
Date: Wed, 18 Feb 2009 15:09:07 -0700
Subject: [PATCH] Add blacklist entries for OES.  Remove OES files after download.

---
 auto/bin/update_ext.sh |    2 ++
 auto/blacklist         |    6 ++++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/auto/bin/update_ext.sh b/auto/bin/update_ext.sh
index 3e17c82..d9ba2d2 100755
--- a/auto/bin/update_ext.sh
+++ b/auto/bin/update_ext.sh
@@ -240,4 +240,6 @@ EOT
 # clean up
     rm -f $1/*.bak
 
+ # Remove OES files, which have tokens that don't get correctly replaced.
+ rm -f $1/*OES*
 fi
diff --git a/auto/blacklist b/auto/blacklist
index 9226245..e1bb8e1 100644
--- a/auto/blacklist
+++ b/auto/blacklist
@@ -12,3 +12,9 @@ SGIX/video_source.txt
 SGIX/hyperpipe_group.txt
 OES/fixed_point.txt
 OES/query_matrix.txt
+OES/byte_coordinates.txt
+OES/compressed_paletted_texture.txt
+OES/single_precision.txt
+OES/fixed_point.txt
+OES/query_matrix.txt
+OES/read_format.txt
--
1.5.6.5


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
glew-coders mailing list
glew-coders@...
https://lists.sourceforge.net/lists/listinfo/glew-coders

Re: new(?) argument types: OES_fixed_point

by Nigel Stewart-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom,

Yes I see the same problem.  I think it ought to be fixed pronto,
given that GLEW can't be built against the current OpenGL registry.

Here is a patch that works for me.  Would you mind verifying that
it works for you too?  It appears that the name of the OES extensions
were changed recently on opengl.org

- Nigel

$ svn diff auto/blacklist
Index: auto/blacklist
===================================================================
--- auto/blacklist      (revision 545)
+++ auto/blacklist      (working copy)
@@ -10,5 +10,5 @@
  SGIX/instruments.txt
  SGIX/video_source.txt
  SGIX/hyperpipe_group.txt
-OES/fixed_point.txt
-OES/query_matrix.txt
+OES/OES_fixed_point.txt
+OES/OES_query_matrix.txt


> tom fogal <tfogal@...> writes:
>> Hi all,
>>
>> I can't seem to build based on downloaded extensions on a Debian lenny
>> system.  The issue seems to be that `fixed' and `clampx' values do not
>> get translated to their appropriate C types.
>
> The issue was in wrapping OES functions.  The attached patch fixes
> it.
>
> I am not sure the blacklist part is necessary; it is certainly not
> sufficient.  Comments?  Any chance of this being applied?
>
> -tom
>

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
glew-coders mailing list
glew-coders@...
https://lists.sourceforge.net/lists/listinfo/glew-coders

Re: new(?) argument types: OES_fixed_point

by tom fogal-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nigel Stewart <nstewart@...> writes:
[snip]
> Here is a patch that works for me.  Would you mind verifying that
> it works for you too?  It appears that the name of the OES extensions
> were changed recently on opengl.org
[snip]

1) I can confirm that this patch works.
2) I like this patch much better than mine ;)   It's simpler, and
   makes a lot more sense.

-tom

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
glew-coders mailing list
glew-coders@...
https://lists.sourceforge.net/lists/listinfo/glew-coders

Re: new(?) argument types: OES_fixed_point

by Nigel Stewart-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I put the change in as revision 546.
If there are any objections, I'm happy to back it out again.

- Nigel

> 1) I can confirm that this patch works.
> 2) I like this patch much better than mine ;)   It's simpler, and
>    makes a lot more sense.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
glew-coders mailing list
glew-coders@...
https://lists.sourceforge.net/lists/listinfo/glew-coders