Hi,<br><br>Nice !<br><br>I think you also resolved this:<br><a href="https://bugzilla.gnome.org/show_bug.cgi?id=593786" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=593786</a><br><br>Could you attach your patch to this bug ?<br>
<br>Sincerely<br>Julien<br><br><div class="gmail_quote">2009/9/30 TK, Pratheesh Gangadhar <span dir="ltr"><<a href="mailto:pratheesh@ti.com">pratheesh@ti.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am using gst-plugins-gl (commit id: 18f5c4875006606b28aa9aa366abbc5dd1e16b60) in beagleboard (OMAP3). While running this I saw this error GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS and abort during init. After some digging I think the failure is due to this<br>
<br>
As per <a href="http://www.khronos.org/opengles/sdk/docs/man/glRenderbufferStorage.xml" target="_blank">http://www.khronos.org/opengles/sdk/docs/man/glRenderbufferStorage.xml</a><br>
<br>
glRenderbufferStorage takes only one of these as internalformat (GL_RGBA4,GL_RGB565,GL_RGB5_A1,GL_DEPTH_COMPONENT16, GL_STENCIL_INDEX8) so IMG driver implementation for SGX530 is complying to this whereas gst-plugins-gl uses GL_DEPTH_COMPONENT for GLES now.<br>
</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
With below patch I can run filtercube plugin in beagleboard. </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--- /tmp/gstgldisplay.c 2009-09-28 00:49:48.000000000 +0530<br>
+++ git/gst-libs/gst/gl/gstgldisplay.c 2009-09-30 12:32:53.000000000 +0530<br>
@@ -1172,9 +1172,13 @@ gst_gl_display_thread_init_download (Gst<br>
glGenRenderbuffersEXT (1, &display->download_depth_buffer);<br>
glBindRenderbufferEXT (GL_RENDERBUFFER_EXT,<br>
display->download_depth_buffer);<br>
+#ifndef OPENGL_ES2<br>
glRenderbufferStorageEXT (GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT,<br>
display->download_width, display->download_height);<br>
-<br>
+#else<br>
+ glRenderbufferStorageEXT (GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT16,<br>
+ display->download_width, display->download_height);<br>
+#endif<br>
//setup a first texture to render to<br>
glGenTextures (1, &display->download_texture);<br>
glBindTexture (GL_TEXTURE_RECTANGLE_ARB, display->download_texture);<br>
@@ -1536,8 +1540,13 @@ gst_gl_display_thread_gen_fbo (GstGLDisp<br>
//setup the render buffer for depth<br>
glGenRenderbuffersEXT (1, &display->generated_depth_buffer);<br>
glBindRenderbufferEXT (GL_RENDERBUFFER_EXT, display->generated_depth_buffer);<br>
+#ifndef OPENGL_ES2<br>
glRenderbufferStorageEXT (GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT,<br>
- display->gen_fbo_width, display->gen_fbo_height);<br>
+ display->download_width, display->download_height);<br>
+#else<br>
+ glRenderbufferStorageEXT (GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT16,<br>
+ display->download_width, display->download_height);<br>
+#endif<br>
<br>
//setup a texture to render to<br>
glGenTextures (1, &fake_texture);<br>
@@ -2422,8 +2431,13 @@ gst_gl_display_thread_init_upload_fbo (G<br>
//setup the render buffer for depth<br>
glGenRenderbuffersEXT (1, &display->upload_depth_buffer);<br>
glBindRenderbufferEXT (GL_RENDERBUFFER_EXT, display->upload_depth_buffer);<br>
+#ifndef OPENGL_ES2<br>
glRenderbufferStorageEXT (GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT,<br>
- display->upload_width, display->upload_height);<br>
+ display->download_width, display->download_height);<br>
+#else<br>
+ glRenderbufferStorageEXT (GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT16,<br>
+ display->download_width, display->download_height);<br>
+#endif<br>
<br>
//a fake texture is attached to the upload FBO (cannot init without it)<br>
glGenTextures (1, &fake_texture);<br>
<br>
Regards,<br>
<font color="#888888">Pratheesh<br>
<br>
</font></blockquote></div><br>