svn b0rker! There is no evas_x_egl.h. Daniel Juyung Seo (SeoZ)
On Tue, Sep 25, 2012 at 2:44 PM, Enlightenment SVN <[email protected]> wrote: > Log: > this is the start of something inteteresting. it is the start of using > egl with software rendering only (no gl just egl). ie get access to > buffer and do swaps etc. etc. etc. it's meant to be totally dynamic - > ie dlopen libEGL if u have it and then start checking if it can do > this thing so it doesnt add any dependencies at all. > > > > Author: raster > Date: 2012-09-24 22:44:43 -0700 (Mon, 24 Sep 2012) > New Revision: 77043 > Trac: http://trac.enlightenment.org/e/changeset/77043 > > Added: > trunk/evas/src/modules/engines/software_x11/evas_x_egl.c > Modified: > trunk/evas/src/modules/engines/software_x11/Makefile.am > trunk/evas/src/modules/engines/software_x11/evas_engine.c > > Modified: trunk/evas/src/modules/engines/software_x11/Makefile.am > =================================================================== > --- trunk/evas/src/modules/engines/software_x11/Makefile.am 2012-09-25 > 03:11:21 UTC (rev 77042) > +++ trunk/evas/src/modules/engines/software_x11/Makefile.am 2012-09-25 > 05:44:43 UTC (rev 77043) > @@ -3,7 +3,9 @@ > > if BUILD_ENGINE_SOFTWARE_X11 > > -SOFTWARE_X11_SOURCES = evas_engine.c > +SOFTWARE_X11_SOURCES = \ > +evas_engine.c \ > +evas_x_egl.c > > if BUILD_ENGINE_SOFTWARE_XLIB > > @@ -25,7 +27,7 @@ > evas_xlib_color.c \ > evas_xlib_main.c > > -SOFTWARE_X11_LIBADD = @FREETYPE_LIBS@ @EVAS_GENERAL_LIBS@ > @evas_engine_software_xlib_libs@ > +SOFTWARE_X11_LIBADD = @FREETYPE_LIBS@ @EVAS_GENERAL_LIBS@ > @evas_engine_software_xlib_libs@ @dlopen_libs@ > > endif > > @@ -49,7 +51,7 @@ > evas_xcb_color.c \ > evas_xcb_main.c > > -SOFTWARE_X11_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EVAS_GENERAL_LIBS@ > @evas_engine_software_xcb_libs@ > +SOFTWARE_X11_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EVAS_GENERAL_LIBS@ > @evas_engine_software_xcb_libs@ @dlopen_libs@ > > endif > > > Modified: trunk/evas/src/modules/engines/software_x11/evas_engine.c > =================================================================== > --- trunk/evas/src/modules/engines/software_x11/evas_engine.c 2012-09-25 > 03:11:21 UTC (rev 77042) > +++ trunk/evas/src/modules/engines/software_x11/evas_engine.c 2012-09-25 > 05:44:43 UTC (rev 77043) > @@ -15,6 +15,8 @@ > # include "evas_xcb_xdefaults.h" > #endif > > +#include "evas_x_egl.h" > + > int _evas_engine_soft_x11_log_dom = -1; > > /* function tables - filled in later (func and parent func) */ > @@ -63,7 +65,39 @@ > /* internal engine routines */ > > #ifdef BUILD_ENGINE_SOFTWARE_XLIB > + > static void * > +_output_egl_setup(int w, int h, int rot, Display *disp, Drawable draw, > + Visual *vis, Colormap cmap, int depth, int debug, > + int grayscale, int max_colors, Pixmap mask, > + int shape_dither, int destination_alpha) > +{ > + Render_Engine *re; > + > + if (!(re = calloc(1, sizeof(Render_Engine)))) return NULL; > + // _egl_x_disp_get() > + // then > + // _egl_x_disp_init() > + // then > + // _egl_x_disp_choose_config() > + // then > + // _egl_x_win_surf_new() > + // > + // and on cleaup > + // > + // _egl_x_win_surf_free() > + // > + // to access pixels > + // > + // _egl_x_map_surf() > + // > + // to give back pixels > + // > + // _egl_x_unmap_surf() > + return re; > +} > + > +static void * > _output_xlib_setup(int w, int h, int rot, Display *disp, Drawable draw, > Visual *vis, Colormap cmap, int depth, int debug, > int grayscale, int max_colors, Pixmap mask, > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
