Thanks for the info Carsten - After much rebuilding & experimentation, I found this fix - The eWebKit2 example program at : http://ewebkit.github.io/ewebkit-doc/ewebkit2/html/ simply needs modification : It used to say: Ecore_Evas *win; ... win = ecore_evas_new(NULL, 0, 0, 800, 600, NULL); Changing the last line to: win = ecore_evas_new("opengl_x11", 0, 0, 800, 600, NULL); does fix the problem.
I found this out by building the /usr/os_src/efl/src/examples/evas/evas-gl.c example . But why doesn't it work with any of these environement variable settings : $ ELM_ENGINE=opengl_x11 ELM_ACCEL=gl ./test No combination of ELM_ENGINE / ELM_ACCEL settings seem to have any effect - only explictly giving the "opengl_x11" string to ecore_evas_new works. Shouldn't the environment variable settings work also ? Thanks & Regards, Jason On 27/05/2016, Carsten Haitzler <ras...@rasterman.com> wrote: > On Fri, 27 May 2016 13:35:34 +0000 Jason Vas Dias > <jason.vas.d...@gmail.com> > said: > > the app at RUNTIMe is not using gl. efl will build various engines, gl > being > one of them, another software. elementary config lets you choose the > default > (no accel, hardware/gl/whatever). if an app really wanted gl support it can > request an accel preference with an api call (rage for example request > acceleration - eg gl for video) > >> Good day - >> >> Please could anyone let me know how to get evas "GL engine" support in >> latest >> EFL library. >> >> Trying to run any ewebkit2 application under the efl-1.17.99 library >> built from latest GIT master fails with : >> >> ERR<5636>:evas_main /usr/os_src/efl/src/lib/evas/canvas/evas_gl.c:151 >> evas_gl_new() Evas GL engine not available. >> >> But the EFL configure output suggests otherwise: >> >> <quote><pre> >> ------------------------------------------------------------------------ >> efl 1.17.99.47429 >> ------------------------------------------------------------------------ >> >> Configuration...: profile=dev os=linux-gnu >> ... >> X11 ...........: xlib >> OpenGL........: full >> ... >> Evas............: yes (-lua-old +fontconfig +fribidi -harfbuzz +cserve >> -tile-rotate dither-mask=big -hyphen) >> Engines.......: buffer=static -fb -psl1ght -gl-cocoa -gl-sdl >> -software-gdi -software-ddraw -wayland-egl +wayland-shm -drm -gl-drm >> -eglfs +software-xlib +gl-xlib >> ^^^^^^^ >> Image Loaders.: bmp=static eet=static generic=static -gif ico=static >> jpeg=static -jp2k pmaps=static png=static psd=static tga=static +tiff >> wbmp=static +webp xpm=static tgv=static dds=static >> >> </pre></quote> >> >> Doesn't the '+gl-xlib" evas Engines flag signify that the evas >> opengl-x11 engine is supported? >> >> Then why does src/lib/evas/canvas/evas_gl.c get a NULL gl_context_create? >> : >> <quote><pre> >> if (!evas_gl->evas->engine.func->gl_context_create) >> { >> ERR("Evas GL engine not available."); >> ... >> </pre></quote> >> >> I can see there used to be a 'gl_x11' engine in evas legacy : >> >> >> https://git.enlightenment.org/legacy/evas.git/tree/src/modules/engines/gl_x11 >> >> Do I need to port this to modern evas to get GL support ? >> >> Any suggestions as to what I could set >> evas_gl->evas->engine.func->gl_context_create >> to in order to convince evas_gl.c that GL is supported ? >> >> Any responses gratefully received. >> >> Thanks & Regards, >> Jason >> > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users