Right under your nose:

  http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c

Kristian

On Wed, Sep 5, 2012 at 4:29 PM, jegde jedge <bubba...@gmail.com> wrote:
> Is there a bare bones open gl example that implemnts the bare minimum
> needed to get a wayland surface and begin drawing using openGL?
>
>
> I'm having a hell of a time porting my GLES1 application to run as a
> wayland/weston client.
>
> This application has run on psp, iPone, glut, and android.
>
> Since It is gles I used the weston gears client application as a template.
> Basically, I just inserted the hooks to call my applications draw
> routines using the egl config already provided.
>
> I have tiled textured maps working, but I am having some hoaky results
> with the first texture that it loaded.
>
> I would like to eliminate cairo pixman, libtoytoolkit, libshare.a as 
> variables.
> I just dont see an example to do openGL with only wl_xxx() calls.
> _______________________________________________
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to