Missing formats

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

Missing formats

elect
Hi,

I am porting the g-truc ogl-samples to jogl but I stuck here, I can't find those formats..

any idea?
Reply | Threaded
Open this post in threaded view
|

Re: Missing formats

gouessej
Administrator
I don't expect that numerous proprietary constants will be added.

Sven, what do you think about those constants?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Missing formats

gouessej
Administrator
In reply to this post by elect
Some of those constants are necessary for glCompressedTexImage2D:
https://www.khronos.org/opengles/sdk/1.1/docs/man/glCompressedTexImage2D.xml
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Missing formats

Sven Gothel
Administrator
In reply to this post by elect
On 08/27/2015 11:14 AM, elect [via jogamp] wrote:
> Hi,
>
> I am porting the g-truc ogl-samples <https://github.com/g-truc/ogl-samples> to
> jogl but I stuck here
> <https://github.com/elect86/jogl-samples/blob/master/jogl-samples/src/framework/Caps.java#L1456-L1497>,
> I can't find those formats..
>
> any idea?

GL_ETC1_RGB8_OES exists in GLES2 currently,
we may want to promote it to GL2ES2 ?

The other formats are heavily proprietary
or PALETTE (LUT) .. don't think they matter.

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Missing formats

elect
I saw glAlphaFunc is available under GL2ES1 and not GL3, similar for glTexRenderbufferNV, available under GL2 but not GL3, is this normal/right?



Reply | Threaded
Open this post in threaded view
|

Re: Missing formats

jmaasing
elect wrote
I saw glAlphaFunc is available under GL2ES1 and not GL3, similar for glTexRenderbufferNV, available under GL2 but not GL3, is this normal/right?
Yes, they are not available in GL3 and later.

Appendix E lists the deprecations:
https://www.opengl.org/registry/doc/glspec30.20080811.withchanges.pdf
Reply | Threaded
Open this post in threaded view
|

Re: Missing formats

elect
jmaasing wrote
Yes, they are not available in GL3 and later.

Appendix E lists the deprecations:
https://www.opengl.org/registry/doc/glspec30.20080811.withchanges.pdf
Ah ok, thanks jmaasing