Can't found the merhod glGetProgramBinary

classic Classic list List threaded Threaded
4 messages Options
adi
Reply | Threaded
Open this post in threaded view
|

Can't found the merhod glGetProgramBinary

adi
Hello

I want my shader save in a binary format into a file,
but cannot found the method glGetProgramBinary.
Is it not implemented?


Reply | Threaded
Open this post in threaded view
|

Re: Can't found the merhod glGetProgramBinary

Wade Walker
Administrator
Are you using OpenGL ES 2? If so, this method is not supported -- see the manual pages at http://www.khronos.org/opengles/sdk/docs/man/.
adi
Reply | Threaded
Open this post in threaded view
|

Re: Can't found the merhod glGetProgramBinary

adi
It is from OpenGL 4.1 to load and store compiled binaries.
Is there planned something in the future?
Reply | Threaded
Open this post in threaded view
|

Re: Can't found the merhod glGetProgramBinary

Sven Gothel
Administrator
On 10/01/2012 11:07 AM, adi [via jogamp] wrote:
> It is from OpenGL 4.1 to load and store compiled binaries.
> Is there planned something in the future?

and incl. in ES2_COMPATIBILITY ?

Will check later, probably a bug in the area where we alias the profiles(?).
We did some fake entries allowing ES2/GL2 to be more 'common'.

~Sven



signature.asc (907 bytes) Download Attachment