Login  Register

TextRenderer + VertexBufferObject + GLX on unix

Posted by Attila Barcsik on Mar 31, 2011; 11:21am
URL: https://forum.jogamp.org/TextRenderer-VertexBufferObject-GLX-on-unix-tp2758195.html

Hi!

I have some jogamp app., rendering some text - TextRenderer object with default settings.
App. runs fine on my machine.
( OpenSUSE 11.3 64bit, nVIDIA 9400GT, glxinfo says that direct rendering is enabled, and OpenGL 3.3.0 is available, plus both GLX client and server version is 1.4 )

I've tried exporting display to another machine ( export DISPLAY=192.168.xxx.xxx:0.0 )
glxinfo then says that GLX client and server are the same as on my machine ( 1.4 ), OpenGL is 2.1.2 - card is nVIDIA 8400GS - of course direct rendering is disabled, because I've exported my display to another machine and X Server's GLX cannot be bypassed... GL commands are turned into byte stream, pushed over network, than de-serialized and finally rendered with the remote graphics card to the remote display - if I understand X Server correctly.

GLX 1.4 means OpenGL 1.4, and TextRenderer is trying to create vertex buffer object, and he fails, because that's a 1.5+ feature.

My question is:
Why is this method returning TRUE in my situation? : TextRenderer#is15Available(GL gl).

Note: gl.isExtensionAvailable("GL_ARB_vertex_buffer_object") returns FALSE when is15Available returns TRUE.

Shouldn't TextRenderer check only for the needed feature instead of whole GL version?