[gstreamer-bugs] [Bug 593786] support OpenGL es in autofoo

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 2 23:42:55 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=593786


Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #142238|0                           |1
        is obsolete|                            |


--- Comment #5 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2009-09-03 06:42:49 UTC ---
Created an attachment (id=142381)
WIP: assume openGLES2 if no opengl found

Small update. Now I get much further when supressing warnings=errors
> CFLAGS="-Wno-error" ./autoregen.sh
Problem with the warnings are that there is gstgles2.h. I think it would be
better to have a gles2.c and only have protos in gles2.h. gles2.c is added to
the sources when ES2 targets are build.

Feel free to pick chunks from the current patch, as this already helps.

Now the build stops at gstglbumper.c, should some of thse not be build against
opengles2?

gstglbumper.c: In function 'gst_gl_bumper_callback':
gstglbumper.c:380: warning: implicit declaration of function 'glMatrixMode'
gstglbumper.c:380: error: 'GL_PROJECTION' undeclared (first use in this
function)
gstglbumper.c:380: error: (Each undeclared identifier is reported only once
gstglbumper.c:380: error: for each function it appears in.)
gstglbumper.c:381: warning: implicit declaration of function 'gluLookAt'
gstglbumper.c:382: error: 'GL_MODELVIEW' undeclared (first use in this
function)
gstglbumper.c:387: error: 'GL_PERSPECTIVE_CORRECTION_HINT' undeclared (first
use in this function)
gstglbumper.c:388: warning: implicit declaration of function 'glShadeModel'
gstglbumper.c:388: error: 'GL_SMOOTH' undeclared (first use in this function)
gstglbumper.c:391: warning: implicit declaration of function 'glLightfv'
gstglbumper.c:391: error: 'GL_LIGHT0' undeclared (first use in this function)
gstglbumper.c:391: error: 'GL_POSITION' undeclared (first use in this function)
gstglbumper.c:392: error: 'GL_DIFFUSE' undeclared (first use in this function)
gstglbumper.c:393: error: 'GL_LIGHT1' undeclared (first use in this function)
gstglbumper.c:395: warning: implicit declaration of function 'glMaterialfv'
gstglbumper.c:396: warning: implicit declaration of function 'glColorMaterial'
gstglbumper.c:397: error: 'GL_COLOR_MATERIAL' undeclared (first use in this
function)
gstglbumper.c:398: error: 'GL_LIGHTING' undeclared (first use in this function)
gstglbumper.c:419: warning: implicit declaration of function 'glRotatef'
gstglbumper.c:424: warning: implicit declaration of function 'glBegin'
gstglbumper.c:424: error: 'GL_QUADS' undeclared (first use in this function)
gstglbumper.c:427: warning: implicit declaration of function 'glNormal3d'
gstglbumper.c:428: warning: implicit declaration of function
'glVertexAttrib3dARB'
gstglbumper.c:429: warning: implicit declaration of function
'glMultiTexCoord2dARB'
gstglbumper.c:431: warning: implicit declaration of function 'glVertex3d'
gstglbumper.c:527: warning: implicit declaration of function 'glEnd'

-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list