View Single Post
Posts: 3 | Thanked: 2 times | Joined on Sep 2012
#15
Is it possible to use OpenGL by compiling MesaLib with --enable-gles1 and --enable-gles 2 flags? I've compiled MesaLib on device with these flags using Tanners gcc4.4

Output from ./configure --enable-gles1 --enable-gles2
Code:
        OpenGL:          yes (ES1: yes ES2: yes)
Output from ./glxgears
Code:
Nokia-N900-40-4_PR_001:~/build/glx$ ./glxgears 
86 frames in 5.0 seconds = 17.117 FPS
158 frames in 5.0 seconds = 31.400 FPS
155 frames in 5.0 seconds = 30.947 FPS
159 frames in 5.0 seconds = 31.672 FPS
Nokia-N900-40-4_PR_001:~/build/glx$
*to actually see the gears, the window needs to be fullscreen
rootsh wmctrl -i -r $(wmctrl -l | grep 'glxgears' | awk '{print $1}') -b add,fullscreen

Output from glxinfo | grep rende
Code:
direct rendering: Yes
OpenGL renderer string: Mesa X11
Full output from glxinfo -v
http://pastebin.com/0hrpPSxD


edit: output from glew-utils

visualinfo
Code:
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 2.1 Mesa 7.11.2
OpenGL extensions (GL_):
http://pastebin.com/wA3NHP3J

glewinfo
Code:
---------------------------
    GLEW Extension Info
---------------------------

GLEW version 1.5.8
Reporting capabilities of display :0.0, visual 0x21
Running on a Mesa X11 from Brian Paul
OpenGL version 2.1 Mesa 7.11.2 is supported
http://pastebin.com/TRScasUs

Last edited by Kourse; 2012-09-13 at 13:40. Reason: Original post never appeared on thread
 

The Following 2 Users Say Thank You to Kourse For This Useful Post: