eglglessink on Raspberry PI

Sebastian Dröge sebastian.droege at collabora.co.uk
Thu Jan 31 00:16:13 PST 2013


On Di, 2013-01-22 at 13:31 +0100, Julian Scheel wrote:
> Hi,
> 
> I have done some work on adding a Raspberry PI support to the
> eglglessink. A very rough preliminary patch is attached. Especially the
> configure.ac is evil, but I haven't had the time to properly sort out
> the build issues I faced yet.
> Actually the gl context is created and all gl calls seem successfull,
> but the output is only a single color plane. The color seems to be what
> is in the top left corner of the input picture.
> I wonder about what possibly could cause this? One thing I could imagine
> would be the VertexAttribPointer settings. I don't really understand the
> code there:
> 
>   glVertexAttribPointer (eglglessink->eglglesctx.position_loc[0],
> 	3, GL_FLOAT, GL_FALSE, sizeof (coord5),
> 	(gpointer) (0 * sizeof (coord5)));
> 
> What does the (gpointer) (0 * sizeof (coord5)) as vertex array pointer
> mean? For texloc the code is quite similiar.

It's the offset in the vertex array.

Could you open a bugreport for this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130131/6b490cfd/attachment.pgp>


More information about the gstreamer-devel mailing list