Hi all,

Based on the discussions and the comments that I've been getting, I'm
attaching
patches for the community to review and test out the code. The patches
implement
the code for the gl_x11 backend.  Other backends can be taken care of later
once this has been reviewed.

I apologize if this patch seems a bit big.  I felt that we've had enough
discussions
on this topic already in increments and now we're at a point where we can
see this
prototype.

Here are the description of the patches:
(by the way, apply the patches by giving -p0 from evas directory)

1. Evas_Engine_GL_Context.patch
  - Basically, this patch replaces all the instances of Evas_GL_Context used
    by the gl engines to Evas_Engine_GL_Context.  This was changed because
    Evas_GL_Context is exposed to the users by Evas_GL.h and this was ok'ed
    in the previous discussion.

2. evas_gl.patch
  - This patch includes the image_object_native_surface_set() patch
    since it's required to run evas_gl and this patch hasn't been reflected
    in the svn yet.
  - And, it has the rest of the code that allows evas_gl to run for gl_x11
engine.

3. Evas_GL.h
  - Instead of putting it as part of the patch, I've included them
separately so it
    can be viewed easily.
  - This files goes in
    src/lib/

4. evas_gl.c
  - Instead of putting it as part of the patch, I've included them
separately so it
    can be viewed easily.
  - This files goes in
    src/lib/canvas/

5. examples/
  - I've included 3 sample programs + Makefile
    a. evasglsample1.c (a simple triangle using GL)
    b. evasglgears.c (famous gears using Evas_GL)
    c. evasglessample1.c (a simple triangle using GLES)
  - You can simply do a make in the directory and it'll compile the
evaglsampl1
    and evasglgears by default.


I just tested with a fresh co from SVN and have applied the patches.  I hope
it works.

thanks in advance for your comments!

cheers,
Sung

Attachment: evas_gl.tgz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to