.. in Java of course. Jogl to be more precise. I guess my question is pretty similar to Lwjgl so I'm posting this here, not into the Jogl forum.
A
gl.isExtensionAvailable("GL_ARB_texture_compression")
gives true for my card so I thought it's safe to call this (in order to bind my RGB texture):
gl.glCompressedTexImage2D(GL.GL_TEXTURE_2D, 0, GL.GL_COMPRESSED_RGB,
xdim, ydim, 0, GL.GL_UNSIGNED_BYTE size, bytearray);
but I'm prompted with an error.
(Using glTexImage2D(..) with GL_RGB as internalformat and format works, but not compressed of course.)
http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_compression.txt doesn't help me either. Googling brings references to the above URL.
{Edit: Use compressed ! size}