[E-devel] compiling EFL
Hi, I have already checkout from svn source to try the EFLs. I checked the easy_e17.sh script that is suggested to install e17. My aim is installing just the libraries to check what i can do with them so i try manually running "./autogen.sh; make; sudo make install" for each directory mentioned at the script, in order. The order defined at the script is below: packages="imlib2 eina eet evas ecore efreet embryo edje epsilon esmart emotion etk etk_extra ewl exml enhance e_dbus exalt e entrance edje_editor edje_player elicit elitaire enna enthrall emphasis empower emprint ephoto estickies exhibit expedite exquisite extrackt eyesight e_phys rage alarm bling calendar cpu deskshow diskio efm_nav efm_path emu execwatch flame forecasts iiirk language mail mem moon mpdule net news notification penguins photo rain screenshot slideshow snow taskbar tclock tiling uptime weather winselector wlan" When i come to ecore directory and run ./autogen.sh, i got the below output: Optional Modules: Core: Ecore_Job: yes Ecore_Txt: yes Ecore_File...: yes Inotify: yes Poll...: yes CURL...: yes Ecore_Con: yes OpenSSL: yes GnuTLS.: no CURL...: yes Abstract Sockets...: yes Ecore_Ipc: yes OpenSSL: yes GnuTLS.: no Ecore_Config.: yes Ecore_IMF: yes Ecore_IMF_Evas...: yes Graphic systems: Ecore_X (Xlib backend)...: yes Xcursor: yes Xprint.: yes Xinerama...: yes Xrandr.: yes Xscreensaver...: yes Xrender: yes Xcomposite.: yes Xfixes.: yes Xdamage: yes Xdpms..: yes Xtest..: no Ecore_Win32..: no Ecore_SDL: no Ecore_Quartz.: no Ecore_FB.: no Ecore_DFB: no Ecore_WinCE..: no Ecore Evas: Ecore_Evas...: yes Software Memory Buffer.: yes Software X11...: yes XRender X11: yes OpenGL X11.: no Software XCB...: no XRender XCB: no Software DirectDraw: no Direct3D...: no OpenGL Glew: no Software SDL...: no Quartz.: no DirectFB...: no Software Framebuffer...: no Software 16bit X11.: no Software 16bit DirectDraw..: no Software 16bit WinCE...: no I want to enable framebuffer and direct framebuffer. What should i do for it? I am using Ubuntu Hardy by the way and tried installing libdirectfb-dev, libdirectfb. Instaling those packages didn't effect the result. I also tried running autogen.sh with --enable-fb, this didn't helped either. So should i run with a parameter or do autogen.sh detects the fb related libraries and enables it? Before ecore, i installed evas by runnig ./autogen.sh --enable-fb --enable-directfb. Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] ecore compiling problem with directfb
Hi, I had downloaded the EFL from the svn source two weeks ago. Now i tried to compiled it again with the stable release of directfb 1.2.6. I compiled directfb source as: ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --enable-debug -enable-zlib --enable-static make and then make install And i compiled the ecore ./autogen.sh --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --enable-ecore-evas-software-16-x11 --enable-ecore-directfb --enable-ecore-fb --enable-ecore-sdl --enable-simple-x11 running make caused errors: Making all in ecore_directfb make[4]: Entering directory `/home/oguz/E/trunk/ecore/src/lib/ecore_directfb' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/ecore -I../../../src/lib/ecore -D_REENTRANT -I/usr/include/directfb -I/usr/include/eina-0 -I/usr/include/eina-0/eina -g -O2 -MT ecore_directfb.lo -MD -MP -MF .deps/ecore_directfb.Tpo -c -o ecore_directfb.lo ecore_directfb.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/ecore -I../../../src/lib/ecore -D_REENTRANT -I/usr/include/directfb -I/usr/include/eina-0 -I/usr/include/eina-0/eina -g -O2 -MT ecore_directfb.lo -MD -MP -MF .deps/ecore_directfb.Tpo -c ecore_directfb.c -fPIC -DPIC -o .libs/ecore_directfb.o ecore_directfb.c: In function '_ecore_directfb_hash_create': ecore_directfb.c:102: error: dereferencing pointer to incomplete type ecore_directfb.c: In function 'ecore_directfb_shutdown': ecore_directfb.c:732: error: too few arguments to function 'eina_hash_del' make[4]: *** [ecore_directfb.lo] Error 1 make[4]: Leaving directory `/home/oguz/E/trunk/ecore/src/lib/ecore_directfb' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/oguz/E/trunk/ecore/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/oguz/E/trunk/ecore/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/oguz/E/trunk/ecore' make: *** [all] Error 2 I want to use the directfb property with EFL so i can not remove directfb option. Can it be fixed? -- Oğuz Yarımtepe www.loopbacking.info -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore compiling problem with directfb
I solved it by googling a bit. Let me share it. I changed the name of the function eina_hash_del in src/lib/ecore_directfb/ecore_directfb.c to eina_hash_del_by_key and also commented the unsigned int _ecore_directfb_hash_create(void *key) definition (line 102 to 103). Then it is compiled and installed without problems. I haven't svn up for a while maybe it is already added. Hope i didn't do something wrong. 2009/1/10 Oguz Yarimtepe : > Hi, > > I had downloaded the EFL from the svn source two weeks ago. Now i > tried to compiled it again with the stable release of directfb 1.2.6. > > I compiled directfb source as: > > > ./configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --sysconfdir=/etc --enable-debug > -enable-zlib --enable-static > make and then make install > > And i compiled the ecore > > ./autogen.sh --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --sysconfdir=/etc > --enable-ecore-evas-software-16-x11 --enable-ecore-directfb > --enable-ecore-fb --enable-ecore-sdl --enable-simple-x11 > > running make caused errors: > > Making all in ecore_directfb > make[4]: Entering directory `/home/oguz/E/trunk/ecore/src/lib/ecore_directfb' > /bin/bash ../../../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/ecore > -I../../../src/lib/ecore -D_REENTRANT -I/usr/include/directfb > -I/usr/include/eina-0 -I/usr/include/eina-0/eina -g -O2 -MT > ecore_directfb.lo -MD -MP -MF .deps/ecore_directfb.Tpo -c -o > ecore_directfb.lo ecore_directfb.c > gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/ecore > -I../../../src/lib/ecore -D_REENTRANT -I/usr/include/directfb > -I/usr/include/eina-0 -I/usr/include/eina-0/eina -g -O2 -MT > ecore_directfb.lo -MD -MP -MF .deps/ecore_directfb.Tpo -c > ecore_directfb.c -fPIC -DPIC -o .libs/ecore_directfb.o > ecore_directfb.c: In function '_ecore_directfb_hash_create': > ecore_directfb.c:102: error: dereferencing pointer to incomplete type > ecore_directfb.c: In function 'ecore_directfb_shutdown': > ecore_directfb.c:732: error: too few arguments to function 'eina_hash_del' > make[4]: *** [ecore_directfb.lo] Error 1 > make[4]: Leaving directory `/home/oguz/E/trunk/ecore/src/lib/ecore_directfb' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/oguz/E/trunk/ecore/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/oguz/E/trunk/ecore/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/oguz/E/trunk/ecore' > make: *** [all] Error 2 > > I want to use the directfb property with EFL so i can not remove > directfb option. Can it be fixed? > > -- > Oğuz Yarımtepe > www.loopbacking.info > -- Oğuz Yarımtepe www.loopbacking.info -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] sample program problem
Hi, I have attached the sample program that is mentioned at edjebook.pdf. Here is what i get: $ gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` example.c -o example example.c: In function 'main': example.c:34: warning: passing argument 2 of 'edje_object_size_min_get' from incompatible pointer type example.c:34: warning: passing argument 3 of 'edje_object_size_min_get' from incompatible pointer type $ ./example 1 ok 0.00 0.00 After that point i just see a tiny elips windows without anything. If i enlarge it i can see that the title set but i don't see the edj file view there. What is wrong? I can see the edj file if i open it edje_viewer. Thanx -- Oğuz Yarımtepe www.loopbacking.info /* gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` example.c -o example */ /* A sample EDC can be had here: http://www.cuddletech.com/edje/edc/crossfade.edc */ #include #include #include #include int app_signal_exit(void *data, int type, void *event); /* GLOBALS */ Ecore_Evas * ee; Evas * evas; Evas_Object * edje; double edje_w, edje_h; int main(int argv, char *argc[]){ ecore_init(); ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, app_signal_exit, 0); ecore_evas_init(); ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 0, 0); ecore_evas_title_set(ee, "TITLE"); ecore_evas_borderless_set(ee, 0); ecore_evas_shaped_set(ee, 0); ecore_evas_show(ee); evas = ecore_evas_get(ee); evas_font_path_append(evas, "/home/oguz/ELK-Tests"); edje_init(); edje = edje_object_add(evas); printf("%d\n",edje_object_file_set(edje, "/home/oguz/ELK-Tests/crossfade.eet", "test")); evas_object_move(edje, 0, 0); edje_object_size_min_get(edje, &edje_w, &edje_h); printf("ok\n"); printf("%f %f\n", edje_w, edje_h); evas_object_resize(edje, edje_w, edje_h); evas_object_show(edje); ecore_evas_resize(ee, (int)edje_w, (int)edje_h); ecore_evas_show(ee); ecore_main_loop_begin(); return 0; } int app_signal_exit(void *data, int type, void *event){ printf("DEBUG: Exit called, shutting down\n"); ecore_main_loop_quit(); return 1; } -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sample program problem
Changing to Evas_Coord was enough. I have already realised the example is written in the right way at the eflcookbook.pdf. Thanx. Maybe i should use and IDE instead of UDE (using vim of gedit and compiling from terminal). Is there any IDE that you can suggest me that i can see the function parameters and return values when i write them? Checking the API reference each time is making me looke concentration. I tried Anjuta but it didn't show information about functions. On Mon, Jan 12, 2009 at 3:40 PM, Gustavo Sverzut Barbieri wrote: > 2009/1/12 Oguz Yarimtepe : >> Hi, >> >> I have attached the sample program that is mentioned at edjebook.pdf. >> Here is what i get: >> >> $ gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` >> example.c -o example >> example.c: In function 'main': >> example.c:34: warning: passing argument 2 of >> 'edje_object_size_min_get' from incompatible pointer type >> example.c:34: warning: passing argument 3 of >> 'edje_object_size_min_get' from incompatible pointer type > > First these warnings are for real, use Evas_Coord or int, as today > Evas_Coord maps to that. > > Second, edje object might not define a min size, so you have to > request it to calculate one with edje_object_size_min_calc(). > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > -- Oğuz Yarımtepe www.loopbacking.info -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore compiling problem with directfb
Hi, > Hi, > > I don't have the libs here at my laptop so I cannot test this, but I > commited a patch to fix issues you found and few more bits. > > Update to SVN revision 38536 or later and mail me with your findings. I updated last night and the revision was 38555. Ecore is compiled and installed succefully. Thanx. > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] edje api usage explaination request
Hi, I have attached a simple edc file and a c file that is using it to show at the X. What the edc file is simple, just going from one state to another and changing its colors. I changed also the size of the text at one of the states by expecting i will see a size change, but it didn't. When i move the mouse out of the text area the font is set to 50 and then 40 back. I didn't understand the reason of it. I was expecting a zoom effect when i move the mouse on the text. Second, what should i do make the same effect with a key stroke instead of a mouse signal? It may be related with the usage of swallow. I tried to find the usage of SWALLOW and also the API, but didn't sort things out. I understood it is used for dynamically set the part but couln't managed to test it. Can someone give me simple usage example of using SWALLOW at an EDC file and using the Edje api to set the value and see the effetcs at run time? It is really bad that there is not an Edje api reference, i had to check the C and header files. Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje api usage explaination request
Sorry forgot to attach the files. Here they are. 2009/1/15 Oguz Yarimtepe : > Hi, > > I have attached a simple edc file and a c file that is using it to > show at the X. What the edc file is simple, just going from one state > to another and changing its colors. I changed also the size of the > text at one of the states by expecting i will see a size change, but > it didn't. When i move the mouse out of the text area the font is set > to 50 and then 40 back. I didn't understand the reason of it. I was > expecting a zoom effect when i move the mouse on the text. > > Second, what should i do make the same effect with a key stroke > instead of a mouse signal? It may be related with the usage of > swallow. I tried to find the usage of SWALLOW and also the API, but > didn't sort things out. I understood it is used for dynamically set > the part but couln't managed to test it. Can someone give me simple > usage example of using SWALLOW at an EDC file and using the Edje api > to set the value and see the effetcs at run time? > > It is really bad that there is not an Edje api reference, i had to > check the C and header files. > > Thanx. > > -- > Oğuz Yarımtepe > www.loopbacking.info > -- Oğuz Yarımtepe www.loopbacking.info /* gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` main-manual.c -o main */ #include #include #include #include int app_signal_exit(void *data, int type, void *event); /* GLOBALS */ Ecore_Evas * ee; Evas * evas; Evas_Object * edje, *txt; Evas_Coord edje_w, edje_h; int r, g, b, a; void key_down(void *data, Evas *e, Evas_Object *obj, void *event_info); int main(int argv, char *argc[]){ ecore_init(); ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, app_signal_exit, 0); ecore_evas_init(); ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 0, 0); //ee = ecore_evas_fb_new(NULL,0,0,0); ecore_evas_title_set(ee, "TITLE"); ecore_evas_borderless_set(ee, 0); ecore_evas_shaped_set(ee, 0); ecore_evas_show(ee); evas = ecore_evas_get(ee); evas_font_path_append(evas, "/home/oguz/ELK-Tests"); edje_init(); edje = edje_object_add(evas); evas_object_event_callback_add(edje, EVAS_CALLBACK_KEY_DOWN, key_down, NULL); evas_object_focus_set(edje, 1); printf("%d\n",edje_object_file_set(edje, "manualfade.edj", "Main")); //printf("exist? %d\n", edje_edit_part_exist(edje, "foo")); //edje_edit_state_color_get(edje, "foo", "default 0.00", &r, &g, &b, &a); //printf("r=%d g=%d b=%d a=%d\n", r, g, b, a); evas_object_move(edje, 0, 0); edje_object_size_max_get(edje, &edje_w, &edje_h); evas_object_resize(edje, edje_w, edje_h); evas_object_show(edje); ecore_evas_resize(ee, (int)edje_w, (int)edje_h); ecore_evas_show(ee); ecore_main_loop_begin(); return 0; } int app_signal_exit(void *data, int type, void *event){ printf("DEBUG: Exit called, shutting down\n"); ecore_main_loop_quit(); return 1; } void key_down(void *data, Evas *e, Evas_Object *obj, void *event_info) { Evas_Event_Key_Down *ev; ev = (Evas_Event_Key_Down *)event_info; printf("You hit key: %s\n", ev->keyname); } -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL C types
> This is something I liked to ask since some time as I work on the EFLpp > wrapper. Why are simple C types typedefed like Evas_Coord. This is > really confusing. Why not simply using an int? It is the data type defined in the library. I don't know why there is such a type instead of a simple int. I am sure the developers have a reasonable answer. > > Second question: Why have several EFL libs an own BOOL type. I think > there's a bool in stdbool.h. And if there're some platform which don't > support then, EFL should define a bool type instead of BOOL. Autoconf > could easy do this. Is this only for historical reasons? > > regards > Andreas > > -- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje api usage explaination request
I am resending it then. Here they are. http://rafb.net/p/rwMDn151.html http://rafb.net/p/uEdFzo71.html On Thu, Jan 15, 2009 at 9:11 PM, Vincent Pomageot wrote: > Hi, > > The .edc is still missing.. > > 2009/1/15 Oguz Yarimtepe >> >> Sorry forgot to attach the files. >> Here they are. >> >> 2009/1/15 Oguz Yarimtepe : >> > Hi, >> > >> > I have attached a simple edc file and a c file that is using it to >> > show at the X. What the edc file is simple, just going from one state >> > to another and changing its colors. I changed also the size of the >> > text at one of the states by expecting i will see a size change, but >> > it didn't. When i move the mouse out of the text area the font is set >> > to 50 and then 40 back. I didn't understand the reason of it. I was >> > expecting a zoom effect when i move the mouse on the text. >> > >> > Second, what should i do make the same effect with a key stroke >> > instead of a mouse signal? It may be related with the usage of >> > swallow. I tried to find the usage of SWALLOW and also the API, but >> > didn't sort things out. I understood it is used for dynamically set >> > the part but couln't managed to test it. Can someone give me simple >> > usage example of using SWALLOW at an EDC file and using the Edje api >> > to set the value and see the effetcs at run time? >> > >> > It is really bad that there is not an Edje api reference, i had to >> > check the C and header files. >> > >> > Thanx. >> > >> > -- >> > Oğuz Yarımtepe >> > www.loopbacking.info >> > >> >> >> >> -- >> Oğuz Yarımtepe >> www.loopbacking.info >> >> >> -- >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> ___ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] a guide request about windows transition effects
Hi, I have been reading and trying EFL and its docs. I tried some animations, wrote some simple EDC files, played with them from C code, checked Embryo. My aim is to make windows effects like in this movie: http://dist.trolltech.com/video/qtembedded44video.mov () It is done via qt-embedded and i am not sure whether such animations are possible by using EFL. They are like 3D effects and i am not sure the 3D abilities of EFL. The current restriction for me is now i am trying to run them using DirectFB. I will be glad if you guide me about this issue. ( Where to check? The logic to create such animations? Which libraries can be used? .. etc.) Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] a guide request about windows transition effects
On Fri, 2009-01-16 at 18:00 +0200, Veli Ogla Sungutay wrote: > Hi Oguz, > > Evas doesn't have a Matrix Class so 3D is out of the question unless > you use image sequences. > If you look at Evas.h you can see the matrix routines though, Gustavo > had told me that they will be implemented in the future. > > Edje is super powerful but it will take some time to grasp. You can > experiment with Ecore_Timer I checked the timer. I liked the things that can be done via Edje. Still digging it. But i want 3D effects also. I am still not sure what i need for it to make 3D effects by using DirectFB. > and evas_object_* calls. Tried calls also. > As I recommended earlier, Elementary could be a good choice as a > widget library. Since everything is an Evas_Object, you can move > things, scale, fade, etc... I tried those effects. > accordingly with Ecore_Timer hacks. Thanx. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] a guide request about windows transition effects
On Fri, 2009-01-16 at 18:10 +0100, Vincent Torri wrote: > no possible 3d (for now ?). We can use open gl hardware acceleration > for > the 2d. So if i enabled the gl support while compiling EFL and install required libraries may i have 3D abilities while using EFL? Dont forget that i am using DirectFB. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] a guide request about windows transition effects
Hi, On Sat, Jan 17, 2009 at 8:59 PM, Veli Ogla Sungutay wrote: > No Vincent says you can use the OpenGL hardware acceleration for *2d*. > Ok. > Evas doesn't do 3D. Evas doesn't have the z coordinate. We can however fake > 3D with perspective and we need a Transformation Matrix for > rotation/scale/translation. > > In your Evas.h look for evas_transform_*. But they're not implemented at > the moment. I hope someone is working on these. I checked the file. There is a c file implementing the functions defined at the header file: evas_transform.c But at the devel list it is talked about an engine backend for this structure work: http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg18791.html So what is the status of these functions? Is there any roadmap? > > After we have the Transformation Matrix for Evas Objects, we'll need a 3D > Library, a simple one with a Perspective Matrix in its core would suffice. > > Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] * character for target and source
Hi, At an EDC file it is possible to use * for the signal part and define signals like something_*. I need * usage for the target and source part of my program. I tried it by guessing there is a support for it but it didn't worked. I have some menu1 menu2 .. menuN and each time theh have a mouse in, going to same state. What should i use to define such a things instead of writing program sections for each menu at the EDC file? -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] * character for target and source
Here it is. program { name: "menu1,foc"; signal: "mouse,in"; source: "menu1"; action: STATE_SET "active" 0.0; transition: ACCELERATE 0.1; target: "menu1"; target: "menu1txt"; after: "menu1,effect"; } If i make the menu1 parts to menu* it says no program is defined with the name menu1 On Thu, Jan 22, 2009 at 10:53 AM, Cedric BAIL wrote: > 2009/1/22 Oguz Yarimtepe : >> At an EDC file it is possible to use * for the signal part and define >> signals like something_*. I need * usage for the target and source >> part of my program. I tried it by guessing there is a support for it >> but it didn't worked. I have some menu1 menu2 .. menuN and each time >> theh have a mouse in, going to same state. > > Both should work it's a bug in edje or in your edc. Can you show it > to us ? Or at least a minimal example that reproduce this behaviour. > >> What should i use to define such a things instead of writing program >> sections for each menu at the EDC file? > > The matching engine should work like fnmatch, giving the possibility > to match multiple * or ? any where in both string. > > -- > Cedric BAIL > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] * character for target and source
I am rewriting the same program but instead of menu1's i am writing menu2 for a part related with menu2, ... So much repeating. What is the usage of #include statement at the EDC file. How will i refer to the part at another edc in my main edc program section? On Thu, Jan 22, 2009 at 11:14 AM, Cedric BAIL wrote: > 2009/1/22 Oguz Yarimtepe : >> Here it is. >> >> program { name: "menu1,foc"; >>signal: "mouse,in"; >>source: "menu1"; >>action: STATE_SET "active" 0.0; >>transition: ACCELERATE 0.1; >>target: "menu1"; >>target: "menu1txt"; >>after: "menu1,effect"; >> >>} >> >> If i make the menu1 parts to menu* it says no program is defined with >> the name menu1 > > My bad, I think I miss understood you. Only signal and source offer > matching capability right now. If I understand you correctly you want > that if we match menu1 in the source, we send the signal to menu1, > same goes with menu2, menu3, ... > > If that's right, then it's not currently possible, and I don't know if > we want to introduce this kind of feature (it shouldn't be hard to > add). > > -- > Cedric BAIL > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] epsilon usage problem
Hi, When i run this code (http://rafb.net/p/y5jDZO42.html) it is trying to save the thumb under / instead of ~/.thumbnails. Is this a bug or am i using in a wrong way? -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] swallowing a box with a picture inside it
Hi, I was trying to set a box that will include some thumbs at my application but i couldn't find how to use swallowing with a box that will include some pics. Here is the EDC part: part { name: "picthumblist"; clip_to: "left"; repeat_events: 1; type: "SWALLOW"; description { state: "default" 0.0; color: 255 255 255 128; visible: 1; rel1 { relative: 0 0; offset: 40 40; to: left; } rel2 { relative: 0 1; offset: 800 -70; to: left; } } } Ned here is the code: Evas_Object *box; Evas_Object *img; box=evas_object_box_add(evas); evas_object_box_layout_set(box, evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL); img=evas_object_image_filled_add(evas); evas_object_image_file_set(img, "/animage.png", NULL); evas_object_box_prepend(box, img); ecore_evas_object_associate(ee,box,0); evas_object_name_set(box, "picthumblist"); const Evas_Object *swallow = NULL; swallow = edje_object_part_object_get(edje, "place_for_box"); int w, h; edje_object_size_min_get(swallow, &w, &h); printf("%d %d\n", w, h); edje_object_part_swallow(edje, "place_for_box", img); evas_object_show(box); The EDC part is as you can see is clipped_to another part and is being transited, become shown when i click on an menu item at the app. Will be happy if someone help. -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] swallowing a box with a picture inside it
I tried both BOX and SWALLOW in EDC file but i think i am missing something. Because I don't see the image at the swallow or box part. I tried first defining swallow at the edc file. I had used the same definition i mentioned at previous mail. In the code i used this one: Evas_Object *image; Evas_Object *box; image = evas_object_image_filled_add(evas); evas_object_image_file_set(image, "/someimage.png", NULL); //box related part box=evas_object_box_add(evas); evas_object_box_layout_set(box, evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL); evas_object_size_hint_align_set(image, -1.0, -1.0); evas_object_box_append(box, image); // box related part edje_object_part_swallow(edje, "picthumblist", box); If i remove the box related part and change the edje_object_part_swallow(edje, "picthumblist", box); to edje_object_part_swallow(edje, "picthumblist", image); i can see the image. But with this usage i don't see my image. Seems something is missing. Another thing i tried is defining BOX at EDC as part { name: "picthumblist"; clip_to: "left"; repeat_events: 1; type: "BOX"; description { state: "default" 0.0; color: 255 255 255 128; visible: 1; box { layout: "horizontal_homogeneous"; padding: 0 2; align: 0.5 0.5; } rel1 { relative: 0 0; offset: 40 40; to: left; } rel2 { relative: 0 1; offset: 800 -70; to: left; } } } and use evas_object_box api at code Evas_Object *img; img=evas_object_image_filled_add(evas); evas_object_image_file_set(img, "/someimage.png", NULL); //evas_object_resize(img, 256, 192); Evas_Coord x, y; int w, h; //edje_object_part_geometry_get(edje, "picthumblist", &x, &y, &w, &h); //printf("x:%d, y:%d, w:%d, h:%d\n", x, y, w, h); evas_object_size_hint_align_set(img, -1.0, -1.0); printf("%d\n",edje_object_part_box_append(edje, "picthumblist", img)); This didn't worked either. So what am i doing wrong? On Mon, Jan 26, 2009 at 8:06 PM, Gustavo Sverzut Barbieri wrote: > 2009/1/26 Oguz Yarimtepe : >> Hi, >> >> I was trying to set a box that will include some thumbs at my >> application but i couldn't find how to use swallowing with a box that >> will include some pics. Here is the EDC part: >> >> part { >>name: "picthumblist"; >>clip_to: "left"; >>repeat_events: 1; >>type: "SWALLOW"; > > You rather use "type: BOX" ;-) > > >> Ned here is the code: >> >> Evas_Object *box; >>Evas_Object *img; >>box=evas_object_box_add(evas); >>evas_object_box_layout_set(box, >> evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL); >> >>img=evas_object_image_filled_add(evas); >>evas_object_image_file_set(img, "/animage.png", NULL); >>evas_object_box_prepend(box, img); > > almost fine, but if you want your object to be resized you must use > size_hints, see documentation at evas_object_box.c or > http://docs.enlightenment.org/api/evas/html/group__Evas__Object__Box.html#g9c9046e3d12eefca2d53992521e9bdd9 > more specifically under "Child element's properties". In code: > > evas_object_size_hints_align_set(img, -1.0, -1.0); > evas_object_box_prepend(box, img); > > > should be that. > > Yes, we really lack some examples about box and table, which are quite > new. If you have some minutes, please add some examples at > http://trac.enlightenment.org/wiki/ we'd appreciate. > >
Re: [E-devel] swallowing a box with a picture inside it
And about the example contribution i think you meaned the wiki adress. The adress you gave is not a valid web page. So the address should be http://wiki.enlightenment.org/index.php/Main_Page, right? > > Yes, we really lack some examples about box and table, which are quite > new. If you have some minutes, please add some examples at > http://trac.enlightenment.org/wiki/ we'd appreciate. > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] swallowing a box with a picture inside it
> You miss showing the image here. Box will not change visibility of children. > > >>edje_object_part_swallow(edje, "picthumblist", box); >> >> If i remove the box related part and change the >> edje_object_part_swallow(edje, "picthumblist", box); to >> edje_object_part_swallow(edje, "picthumblist", image); i can see the >> image. But with this usage i don't see my image. Seems something is >> missing. > > probably not showing is the case, as swallow will show children. So i added a show for image /*working without box*/ Evas_Object *image; Evas_Object *box; image = evas_object_image_filled_add(evas); evas_object_image_file_set(image, "/someimage.png", NULL); box=evas_object_box_add(evas); evas_object_box_layout_set(box, evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL); evas_object_size_hint_align_set(image, -1.0, -1.0); evas_object_box_append(box, image); evas_object_show(image); edje_object_part_swallow(edje, "picthumblist", box); Still dont see the image. Is there any box setting to make the childs visible? -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] swallowing a box with a picture inside it
Adding the evas_object_show(img) for the BOX eample solved the problem. Thanx. On Tue, Jan 27, 2009 at 4:19 PM, Gustavo Sverzut Barbieri wrote: > 2009/1/27 Oguz Yarimtepe : >> I tried both BOX and SWALLOW in EDC file but i think i am missing >> something. Because I don't see the image at the swallow or box part. I >> tried first defining swallow at the edc file. I had used the same >> definition i mentioned at previous mail. In the code i used this one: >> >> >>Evas_Object *image; >>Evas_Object *box; >>image = evas_object_image_filled_add(evas); >>evas_object_image_file_set(image, "/someimage.png", NULL); >> >> //box related part >>box=evas_object_box_add(evas); >>evas_object_box_layout_set(box, >> evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL); >>evas_object_size_hint_align_set(image, -1.0, -1.0); >>evas_object_box_append(box, image); >>// box related part > > You miss showing the image here. Box will not change visibility of children. > > >>edje_object_part_swallow(edje, "picthumblist", box); >> >> If i remove the box related part and change the >> edje_object_part_swallow(edje, "picthumblist", box); to >> edje_object_part_swallow(edje, "picthumblist", image); i can see the >> image. But with this usage i don't see my image. Seems something is >> missing. > > probably not showing is the case, as swallow will show children. > > > >> Another thing i tried is defining BOX at EDC as >> >> part { >>name: "picthumblist"; >>clip_to: "left"; >>repeat_events: 1; >>type: "BOX"; >> >> >>description >>{ >>state: "default" 0.0; >>color: 255 255 255 128; >>visible: 1; >> >>box >>{ >>layout: "horizontal_homogeneous"; >>padding: 0 2; >>align: 0.5 0.5; >> >>} >> >> >>rel1 >>{ >>relative: 0 0; >>offset: 40 40; >>to: left; >>} >>rel2 >>{ >>relative: 0 1; >>offset: 800 -70; >>to: left; >>} >>} >>} >> >> and use evas_object_box api at code >> >> Evas_Object *img; >>img=evas_object_image_filled_add(evas); >>evas_object_image_file_set(img, "/someimage.png", NULL); >>//evas_object_resize(img, 256, 192); >> >>Evas_Coord x, y; >>int w, h; >>//edje_object_part_geometry_get(edje, "picthumblist", &x, &y, &w, &h); >>//printf("x:%d, y:%d, w:%d, h:%d\n", x, y, w, h); >> >>evas_object_size_hint_align_set(img, -1.0, -1.0); >>printf("%d\n",edje_object_part_box_append(edje, "picthumblist", img)); >> >> >> This didn't worked either. So what am i doing wrong? > > probably it's just missing show on children images. > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > -- Oğuz Yarımtepe www.loopbacking.info -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] system reqs for EFL
Hi, To just use an EDC file with Embryo scripts in it and that has transitions, and which will be shown with a general C program using the regular template file, what is the minimum system requirements? There will be epsilon usage, emiting signals from the C file. Is there any idea whether there will be problem if i try to compile the EDC file and run the related C file with the below system? Thanx. r...@7109linux:/# cat /proc/meminfo MemTotal:39092 kB MemFree: 1304 kB Buffers: 0 kB Cached: 15492 kB SwapCached: 0 kB Active: 18520 kB Inactive: 7836 kB HighTotal: 0 kB HighFree:0 kB LowTotal:39092 kB LowFree: 1304 kB SwapTotal: 0 kB SwapFree:0 kB Dirty: 0 kB Writeback: 0 kB Mapped: 20408 kB Slab: 4780 kB CommitLimit: 19544 kB Committed_AS: 267956 kB PageTables:316 kB VmallocTotal: 523252 kB VmallocUsed: 4860 kB VmallocChunk: 514152 kB r...@7109linux:/# cat /proc/cpuinfo processor : 0 cpu family : sh4 cpu type: STb710x cpu flags : fpu cache type : split (harvard) icache size : 16KiB (2-way) dcache size : 32KiB (2-way) bogomips: 296.96 pll0_clk: 600.00MHz pll1_clk: 400.00MHz sh4_clk : 300.00MHz sh4_ic_clk : 150.00MHz module_clk : 75.00MHz slim_clk: 300.00MHz comms_clk : 100.00MHz tmu0_clk: 18.75MHz -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] ecore cross compile error
Hi, I was trying to cross compile some EFLS for the test machine i am using. It has STlinux installed. I was succefullt cross compiled the imlib2, eina, eet, evas and installed them to my system. I was trying ecore but i got the below error. I am configuring the required libs for only FB and DirectFb enabled and disabling anyother auto enabled graphics system. $ ./autogen.sh --host="sh4-linux" --prefix="/st710x/usr/local/efls" LDFLAGS=-L"/st710x/usr/lib" --disable-doc --x-libraries="/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib" --disable-ecore-x --enable-ecore-fb --enable-ecore-evas-dfb --enable-ecore-directfb ecore 0.9.9.050 Optional Modules: Core: Ecore_Job: yes Ecore_Txt: yes Ecore_File...: yes Inotify: yes Poll...: yes CURL...: no Ecore_Con: yes OpenSSL: no GnuTLS.: no CURL...: no Abstract Sockets...: yes Ecore_Ipc: yes OpenSSL: no GnuTLS.: no Ecore_Config.: yes Ecore_IMF: yes Ecore_IMF_Evas...: yes Graphic systems: Ecore_X..: no Ecore_Win32..: no Ecore_SDL: no Ecore_Quartz.: no Ecore_FB.: yes Ecore_DFB: yes Ecore_WinCE..: no Ecore Evas: Ecore_Evas...: yes Software Memory Buffer.: yes Software X11...: no XRender X11: no OpenGL X11.: no Software XCB...: no XRender XCB: no Software DirectDraw: no Direct3D...: no OpenGL Glew: no Software SDL...: no Quartz.: no DirectFB...: yes Software Framebuffer...: yes Software 16bit X11.: no Software 16bit DirectDraw..: no Software 16bit WinCE...: no Documentation.: yes $ make ... ... mv -f .deps/ecore_config.Tpo .deps/ecore_config.Po /bin/bash ../../libtool --tag=CC --mode=link /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -L/st710x/usr/lib -o ecore_config ecore_config.o ../../src/lib/ecore_config/libecore_config.la../../src/lib/ecore_ipc/ libecore_ipc.la ../../src/lib/ecore_con/libecore_con.la ../../src/lib/ecore/ libecore.la mkdir .libs /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -o .libs/ecore_config ecore_config.o -L/st710x/usr/lib ../../src/lib/ecore_config/.libs/libecore_config.so ../../src/lib/ecore_ipc/.libs/libecore_ipc.so ../../src/lib/ecore_con/.libs/libecore_con.so ../../src/lib/ecore/.libs/libecore.so -Wl,--rpath -Wl,/st710x/usr/local/efls/lib /st710x/usr/local/efls/lib/libevas.so.0: undefined reference to `FT_Get_TrueType_Engine_Type' collect2: ld returned 1 exit status make[3]: *** [ecore_config] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Do i need to install the new version of Freetype? I connected to the machine and checked the version: # freetype-config --version 9.15.3 # freetype-config --ftversion 2.3.4 Or what is missing ? Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore cross compile error
Here it is: My Machine # freetype-config --version 9.16.3 # freetype-config --ftversion 2.3.5 STLinux # freetype-config --version 9.15.3 # freetype-config --ftversion 2.3.4 On Wed, Feb 4, 2009 at 5:48 PM, Vincent Torri wrote: > > > On Wed, 4 Feb 2009, Oguz Yarimtepe wrote: > >> ... >> ... >> mv -f .deps/ecore_config.Tpo .deps/ecore_config.Po >> /bin/bash ../../libtool --tag=CC --mode=link >> /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 >> -L/st710x/usr/lib >> -o ecore_config ecore_config.o >> ../../src/lib/ecore_config/libecore_config.la../../src/lib/ecore_ipc/ >> libecore_ipc.la ../../src/lib/ecore_con/libecore_con.la../../src/lib/ecore/ >> libecore.la >> mkdir .libs >> /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -o >> .libs/ecore_config ecore_config.o -L/st710x/usr/lib >> ../../src/lib/ecore_config/.libs/libecore_config.so >> ../../src/lib/ecore_ipc/.libs/libecore_ipc.so >> ../../src/lib/ecore_con/.libs/libecore_con.so >> ../../src/lib/ecore/.libs/libecore.so -Wl,--rpath >> -Wl,/st710x/usr/local/efls/lib >> /st710x/usr/local/efls/lib/libevas.so.0: undefined reference to >> `FT_Get_TrueType_Engine_Type' >> > > It's strange as the api ref ( > http://www.freetype.org/freetype2/docs/reference/ft2-truetype_engine.html#FT_Get_TrueType_Engine_Type) > mentions that the function exists since freetype 2.2 > > Nevertheless, try to update freetype > > Vincent > -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore cross compile error
What can be other things that i should suspicious about? As you said adter 2.2 it is defined. Do you know where the definition is at the freetype headers, i better check it. On Wed, Feb 4, 2009 at 4:48 PM, Vincent Torri wrote: > > > On Wed, 4 Feb 2009, Oguz Yarimtepe wrote: > >> ... >> ... >> mv -f .deps/ecore_config.Tpo .deps/ecore_config.Po >> /bin/bash ../../libtool --tag=CC --mode=link >> /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 >> -L/st710x/usr/lib >> -o ecore_config ecore_config.o >> ../../src/lib/ecore_config/libecore_config.la../../src/lib/ecore_ipc/ >> libecore_ipc.la ../../src/lib/ecore_con/libecore_con.la../../src/lib/ecore/ >> libecore.la >> mkdir .libs >> /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -o >> .libs/ecore_config ecore_config.o -L/st710x/usr/lib >> ../../src/lib/ecore_config/.libs/libecore_config.so >> ../../src/lib/ecore_ipc/.libs/libecore_ipc.so >> ../../src/lib/ecore_con/.libs/libecore_con.so >> ../../src/lib/ecore/.libs/libecore.so -Wl,--rpath >> -Wl,/st710x/usr/local/efls/lib >> /st710x/usr/local/efls/lib/libevas.so.0: undefined reference to >> `FT_Get_TrueType_Engine_Type' >> > > It's strange as the api ref ( > http://www.freetype.org/freetype2/docs/reference/ft2-truetype_engine.html#FT_Get_TrueType_Engine_Type) > mentions that the function exists since freetype 2.2 > > Nevertheless, try to update freetype > > Vincent > -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore cross compile error
Hi, On Wed, Feb 4, 2009 at 10:12 PM, Vincent Torri wrote: > > > What can be other things that i should suspicious about? As you said adter >> 2.2 it is defined. Do you know where the definition is at the freetype >> headers, i better check it. >> > > check the symbol in the shared lib: > > sh4-linux-nm -C /path/to/freetype.so | grep FT_Get_TrueType_Engine_Type > > give the output > > Vincent > No output. Seems i better compile the freetype's latest stable version. Thanx -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore cross compile error
Hi, After installing the new version of freetype and cross compiling again i decided to compile a small test application which just shows an EDC file on the screen. Here is what i got: $ sh4-linux-gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` main.c -o efl-test2 /st710x/usr/local/efls/lib/libevas.so: undefined reference to `FT_Get_TrueType_Engine_Type' $ $ sh4-linux-nm -C /st710x/usr/local/efls/lib/libevas.so | grep FT_Get U FT_Get_Char_Index U FT_Get_Glyph U FT_Get_Kerning U FT_Get_TrueType_Engine_Type Why is that FT_Get_TrueType_Engine_Type marked as undefined? I am not sure where to look for a solution. I may be doing something wrong while cross compiling. I have LD_LIBRARY_PATH=/st710x/usr/local/efls/lib:/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib/ LD_RUN_PATH=/st710x/usr/local/efls/lib:/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib/:/st710x/usr/lib variables at my env with sh4-linux-cc related stuff. evas and ecore are compiled and installed without any errors. I had to play with the fontconfig.la and expat.la files which are under /opt/ I changed the directory definitions related with the freetype, to the newly installed directory. After showing it the right dir it started to compiled without errors. Will be happy if someone helps me. On Wed, Feb 4, 2009 at 10:12 PM, Vincent Torri wrote: > > > What can be other things that i should suspicious about? As you said adter >> 2.2 it is defined. Do you know where the definition is at the freetype >> headers, i better check it. >> > > check the symbol in the shared lib: > > sh4-linux-nm -C /path/to/freetype.so | grep FT_Get_TrueType_Engine_Type > > give the output > > Vincent > > ... ... mv -f .deps/ecore_config.Tpo .deps/ecore_config.Po /bin/bash ../../libtool --tag=CC --mode=link /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -L/st710x/usr/lib -o ecore_config ecore_config.o ../../src/lib/ecore_config/libecore_config.la../../src/lib/ecore_ipc/ libecore_ipc.la../../src/lib/ecore_con/libecore_con.la../../src/lib/ecore/ libecore.la mkdir .libs /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -o .libs/ecore_config ecore_config.o -L/st710x/usr/lib ../../src/lib/ecore_config/.libs/libecore_config.so ../../src/lib/ecore_ipc/.libs/libecore_ipc.so ../../src/lib/ecore_con/.libs/libecore_con.so ../../src/lib/ecore/.libs/libecore.so -Wl,--rpath -Wl,/st710x/usr/local/efls/lib /st710x/usr/local/efls/lib/libevas.so.0: undefined reference to `FT_Get_TrueType_Engine_Type' >>> It's strange as the api ref ( >>> >>> http://www.freetype.org/freetype2/docs/reference/ft2-truetype_engine.html#FT_Get_TrueType_Engine_Type >>> ) >>> mentions that the function exists since freetype 2.2 >>> >>> Nevertheless, try to update freetype >>> >>> Vincent >>> >>> >> >> >> -- >> O?uz Yar?mtepe >> www.loopbacking.info >> >> -- >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications today- >> http://p.sf.net/sfu/adobe-com >> ___ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> -- >> Ce message a été vérifié par MailScanner >> pour des virus ou des polluriels et rien de >> suspect n'a été trouvé. >> Message délivré par le serveur de messagerie de l'Université d'Evry. >> >> >> -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore cross compile error
I found the soluiton. It was needing freetype2 realted flags and libraries: sh4-linux-gcc `pkg-config --cflags --libs ecore-evas evas ecore edje freetype2` main.c -o efl-test2 On Wed, Feb 4, 2009 at 10:12 PM, Vincent Torri wrote: > > > What can be other things that i should suspicious about? As you said adter >> 2.2 it is defined. Do you know where the definition is at the freetype >> headers, i better check it. >> > > check the symbol in the shared lib: > > sh4-linux-nm -C /path/to/freetype.so | grep FT_Get_TrueType_Engine_Type > > give the output > > Vincent > > ... ... mv -f .deps/ecore_config.Tpo .deps/ecore_config.Po /bin/bash ../../libtool --tag=CC --mode=link /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -L/st710x/usr/lib -o ecore_config ecore_config.o ../../src/lib/ecore_config/libecore_config.la../../src/lib/ecore_ipc/ libecore_ipc.la../../src/lib/ecore_con/libecore_con.la../../src/lib/ecore/ libecore.la mkdir .libs /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -o .libs/ecore_config ecore_config.o -L/st710x/usr/lib ../../src/lib/ecore_config/.libs/libecore_config.so ../../src/lib/ecore_ipc/.libs/libecore_ipc.so ../../src/lib/ecore_con/.libs/libecore_con.so ../../src/lib/ecore/.libs/libecore.so -Wl,--rpath -Wl,/st710x/usr/local/efls/lib /st710x/usr/local/efls/lib/libevas.so.0: undefined reference to `FT_Get_TrueType_Engine_Type' >>> It's strange as the api ref ( >>> >>> http://www.freetype.org/freetype2/docs/reference/ft2-truetype_engine.html#FT_Get_TrueType_Engine_Type >>> ) >>> mentions that the function exists since freetype 2.2 >>> >>> Nevertheless, try to update freetype >>> >>> Vincent >>> >>> >> >> >> -- >> O?uz Yar?mtepe >> www.loopbacking.info >> >> -- >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications today- >> http://p.sf.net/sfu/adobe-com >> ___ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> -- >> Ce message a été vérifié par MailScanner >> pour des virus ou des polluriels et rien de >> suspect n'a été trouvé. >> Message délivré par le serveur de messagerie de l'Université d'Evry. >> >> >> -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] no display
Hi, After cross compiling the imlib2, eina, eet, evas, ecore, embryo and edje, i decided to test the compiled libs at my system. So i used this[1] small application and this[2] EDC file. As you can see i am using directfb at my system. [1] http://rafb.net/p/9oRhs455.html [2] http://rafb.net/p/thHL7u34.html I compiled the EDC file on the box as below: # /usr/local/efls/bin/edje_cc -v crossfade.edc /bin/sh: Can't open cpp (i hope this line is not a problem) /usr/local/efls/bin/edje_cc: Opening "crossfade.edc" for input /usr/local/efls/bin/edje_cc: Parsing input file /usr/local/efls/bin/edje_cc: Parsing done /usr/local/efls/bin/edje_cc: Wrote75 bytes ( 0Kb) for "edje_file" header /usr/local/efls/bin/edje_cc: Wrote 796 bytes ( 1Kb) for "collections/0" collection entry Summary: Wrote 1 collections Wrote 0 images Wrote 0 fonts Wrote 950 bytes (1Kb) of original source data Wrote 0 bytes (0Kb) of original source font map Conservative compression summary: Wrote total 1821 bytes (2Kb) from 5276 (5Kb) input data Output file is 34.5% the size of the input data Saved 3455 bytes (3Kb) Raw compression summary: Wrote total 1821 bytes (2Kb) from 5276 (5Kb) raw input data Output file is 34.5% the size of the raw input data Saved 3455 bytes (3Kb) I also cross compiled the main-cross.c as below: /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc `pkg-config --cflags --libs ecore-evas evas ecore edje freetype2` main-cross.c -o efl-test2 Here is the output after running ./efl-test2 ===| DirectFB 1.0.0 |=== (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH (*) DirectFB/Core: Single Application Core. (2008-03-28 13:51) (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2453)... (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 2454)... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 2455)... (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 2456)... 1 edje_w: 32 edje_h: 32 position size size So the program seems to be running. I can see the timer outputs that is printing "1" to the stdout each second. But i don't see any display at the screen attached to the box. The box is a DVB and a TV is attached to it. So there is no mouse. I am not sure whether the remote control is detected as a mouse or not, i was just trying to test it if i could see an output. I checked the Evas_Callback_Type at Evas.h and choosed EVAS_CALLBACK_MOUSE_MOVE to check the remote control button presses. I am not sure what to choose to test the remote control button presses. So i have two problems. What can be the problem about showing a display to the screen? Are there any functions or methods that i can try to debug the issue. Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] no display
Now i tested with plugging an LCD from hdmi out and vola, i got the video output, directfb examples worked also. I was using scart output. Seems the box is giving the video out from hdmi by default. Couldn't test my app yet but will test it asap. I just borrowed my friends LCD to see there is nothing wrong with directfb. Sorry for bothering. Thanx for your interest. On Mon, Feb 9, 2009 at 4:49 PM, Gustavo Sverzut Barbieri wrote: > 2009/2/9 Oguz Yarimtepe : > > Hi, > > > > After cross compiling the imlib2, eina, eet, evas, ecore, embryo and > edje, i > > decided to test the compiled libs at my system. So i used this[1] small > > application and this[2] EDC file. As you can see i am using directfb at > my > > system. > > > > [1] http://rafb.net/p/9oRhs455.html > > [2] http://rafb.net/p/thHL7u34.html > > > > I compiled the EDC file on the box as below: > > > > # /usr/local/efls/bin/edje_cc -v crossfade.edc > > /bin/sh: Can't open cpp (i hope this line is not a problem) > > /usr/local/efls/bin/edje_cc: Opening "crossfade.edc" for input > > /usr/local/efls/bin/edje_cc: Parsing input file > > /usr/local/efls/bin/edje_cc: Parsing done > > /usr/local/efls/bin/edje_cc: Wrote75 bytes ( 0Kb) for > "edje_file" > > header > > /usr/local/efls/bin/edje_cc: Wrote 796 bytes ( 1Kb) for > > "collections/0" collection entry > > Summary: > > Wrote 1 collections > > Wrote 0 images > > Wrote 0 fonts > > Wrote 950 bytes (1Kb) of original source data > > Wrote 0 bytes (0Kb) of original source font map > > Conservative compression summary: > > Wrote total 1821 bytes (2Kb) from 5276 (5Kb) input data > > Output file is 34.5% the size of the input data > > Saved 3455 bytes (3Kb) > > Raw compression summary: > > Wrote total 1821 bytes (2Kb) from 5276 (5Kb) raw input data > > Output file is 34.5% the size of the raw input data > > Saved 3455 bytes (3Kb) > > > > I also cross compiled the main-cross.c as below: > > > > /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc `pkg-config --cflags > > --libs ecore-evas evas ecore edje freetype2` main-cross.c -o efl-test2 > > > > Here is the output after running ./efl-test2 > > > > ===| DirectFB 1.0.0 |=== > > (c) 2001-2007 The DirectFB Organization (directfb.org) > > (c) 2000-2004 Convergence (integrated media) GmbH > > > > > > (*) DirectFB/Core: Single Application Core. (2008-03-28 13:51) > > (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2453)... > > (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 2454)... > > (*) DirectFB/Input: Keyboard 0.9 (directfb.org) > > (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 2455)... > > (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) > > (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) > > (*) DirectFB/Core/WM: Default 0.3 (directfb.org) > > (*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 2456)... > > 1 > > edje_w: 32 edje_h: 32 > > position > > size > > size > > > > > > So the program seems to be running. I can see the timer outputs that is > > printing "1" to the stdout each second. But i don't see any display at > the > > screen attached to the box. > > > > The box is a DVB and a TV is attached to it. So there is no mouse. I am > not > > sure whether the remote control is detected as a mouse or not, i was just > > trying to test it if i could see an output. I checked the > Evas_Callback_Type > > at Evas.h and choosed > > EVAS_CALLBACK_MOUSE_MOVE to check the remote control button presses. I am > > not sure what to choose to test the remote control button presses. > > > > So i have two problems. What can be the problem about showing a display > to > > the screen? Are there any functions or methods that i can try to debug > the > > issue. > > It works fine for me, DirectFB on our set-top box (Intel ce2110). Do > you have everything setup? Can you run other apps like df_dok? > > Regards, > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] slow transition ad the edje app
Hi, I was testing a very simple transition effect on my box. The effect occured in a very slow way. Here is the EDC file: http://rafb.net/p/1MF9Al16.html And the C file using it to make animation. When a key is pressed i should have seen the transition.: http://rafb.net/p/BdSNUD18.html I cross compiled EFLs. I just compiled and installed imlib2, e,na, eet, evas, ecore, embryo and edje. I have directfb support on the box: # fbset -i mode "1280x720-60" # D: 74.178 MHz, H: 44.957 kHz, V: 59.942 Hz geometry 1280 720 1280 2160 16 timings 13481 220 110 20 5 40 5 hsync high vsync high rgba 5/11,6/5,5/0,0/0 endmode Frame buffer device information: Name: STAPIFB Address : 0xaaf2b000 Size: 7340032 Type: PACKED PIXELS Visual : TRUECOLOR XPanStep: 0 YPanStep: 1 YWrapStep : 0 LineLength : 2560 Accelerator : No The box has a small memory and cpu # cat /proc/meminfo MemTotal:39092 kB MemFree: 9252 kB Buffers: 0 kB Cached: 16396 kB SwapCached: 0 kB Active: 12444 kB Inactive: 6708 kB HighTotal: 0 kB HighFree:0 kB LowTotal:39092 kB LowFree: 9252 kB SwapTotal: 0 kB SwapFree:0 kB Dirty: 0 kB Writeback: 0 kB Mapped: 7464 kB Slab: 4008 kB CommitLimit: 19544 kB Committed_AS: 260344 kB PageTables:308 kB VmallocTotal: 523252 kB VmallocUsed: 4860 kB VmallocChunk: 514152 kB # cat /proc/cpuinfo machine : STb7100 Reference board processor : 0 cpu family : sh4 cpu type: STb710x cpu flags : fpu cache type : split (harvard) icache size : 16KiB (2-way) dcache size : 32KiB (2-way) bogomips: 296.96 pll0_clk: 600.00MHz pll1_clk: 400.00MHz sh4_clk : 300.00MHz sh4_ic_clk : 150.00MHz module_clk : 75.00MHz slim_clk: 300.00MHz comms_clk : 100.00MHz tmu0_clk: 18.75MHz Any idea why is the transition so slow? I checked the top output when i was running the app, when the transition started, the app consumed %90 of CPU power. I also installed directfb-1.0.0 examples on the box and df_neo is working quiete nice without any slow motion. Will be happy if you guide a little. -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] slow transition ad the edje app
> use: keyword ":" value for edc, "," will be deprecated. like "color: > 255 255 255 255" > Ok i changed ","s with ":" > > Have you cross compiled the libs with -O2 or -Os? Going without > compile flags is bad. > Yes i have export CFLAGS="-g -O2"; > > mine is 332 bogomips, but arm xscale. > > > > make sure it is using dfb acceleration and no DBF_USE_EVAS_* is set, > since they would use software and it's almost impossible to paint > 1024x768 at 60Hz using 296 bogomips processor :-) > It is not using softwareFB,. DBF_USE_EVAS_* values are commented > > > > > It would be nice to compile expedite and check results. It will test > most common operations and you can use that to compare with other > systems. Here is some outputs with expedite: 0.76 , Image Blend Unscaled 15.05 , Image Blend Solid Unscaled 10.40 , Image Blend Smooth Solid Scaled 9.69 , Image Quality Scale 8.51 , Image Data ARGB 2.99 , Image Data ARGB Alpha 7.01 , Image Data YCbCr 601 Pointer List 3.29 , Image Crossfade 4.25 , Text Change 6.32 , Textblock Basic 1847.34 , Textblock Intl 0.55 , Rect Blend 10.91 , Rect Solid 36.71 , Rect Blend Few 48.58 , Rect Solid Few 6.34 , Image Blend Occlude 3 Few 48.59 , Rect Solid Few 8.79 , Text Basic In general only a few of them are running fast. Values between 10-15 is bearable. But values with 0 starting values are realy unbearable slow. Also image_blend_nearast_scale, image_blend_smooth_scaled are so slow. But image_blend_smoot_solid_scale is faster. test_style_different_string is also working slow. Can the problem be the directfb version? The current system have directfb v1.0rc1 installed. Do you think i should upgrade it? > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > -- Oğuz Yarımtepe www.loopbacking.info -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] slow transition ad the edje app
I don't know but the below resuts may help maybe to identify the problem. I ran the df_dok Anti-aliased Text 3.045 secs ( 41.379 KChars/sec) Anti-aliased Text (blend) 3.201 secs (8.997 KChars/sec) Fill Rectangle 3.012 secs ( 60.923 MPixel/sec) Fill Rectangle (blend) 3.757 secs (1.744 MPixel/sec) Fill Rectangles [10] 3.187 secs ( 61.690 MPixel/sec) Fill Rectangles [10] (blend) 37.490 secs (1.748 MPixel/sec) Fill Triangles 3.110 secs ( 43.198 MPixel/sec) Fill Triangles (blend) 3.747 secs (1.749 MPixel/sec) Draw Rectangle 3.004 secs (5.159 KRects/sec) Draw Rectangle (blend) 3.074 secs (0.813 KRects/sec) Draw Lines [10]3.012 secs ( 16.600 KLines/sec) Draw Lines [10] (blend)3.013 secs (3.650 KLines/sec) Fill Spans 3.099 secs ( 50.753 MPixel/sec) Fill Spans (blend) 3.731 secs (1.756 MPixel/sec) Blit 3.046 secs ( 30.121 MPixel/sec) Blit colorkeyed3.112 secs ( 18.953 MPixel/sec) Blit destination colorkeyed3.483 secs (5.644 MPixel/sec) Blit with format conversion3.022 secs (4.337 MPixel/sec) Blit with colorizing 5.314 secs (2.466 MPixel/sec) Blit from 32bit (blend)4.600 secs (2.849 MPixel/sec) Blit from 32bit (blend) with colorizing6.054 secs (1.082 MPixel/sec) Stretch Blit 3.967 secs ( 28.390 MPixel/sec) Stretch Blit colorkeyed5.918 secs ( 19.031 MPixel/sec) The visual effects seem quiete fine to me. -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] slow transition ad the edje app
Hi, > this pretty much tells the problem. the ONLY test it seems to properly > accelerate is the textblock intl test. unless something drastic went wrong > here, but those numbers are very low for accelerated rendering on any > device - > that smells like software. very bad software too. > > try software_x11 or fb egnine of evas to compare with "pure software": > > expedite -e x11 > expedite -e fb > > I tried with expedite -e fb and got better results. I didn't enable x11 related options while compiling thats why i only tried with fb. Here are some results. 3.35 , Image Blend Unscaled 5.49 , Image Data ARGB Alpha 25.00 , Image Blend Solid Unscaled 2.00 , Rect Blend 7.61 , Image Crossfade So the same results are slower when ran with DirectFB engine. When you said "very bad software" you meaned the DirectFB libraries are bad or something else? I may recompile after i installed a new version of DirectFB. -- Oğuz Yarımtepe www.loopbacking.info -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] cross compiling problem
Hi all, After i had slow transition problems with the box, i changed it with another one that has no process running on it and fbdev is set. After cross compiling the libraries and DirectFb 1.2.7, when i ran the edje_cc command on the box, i got the below error message: [eina_list.c:439] eina_list_init() ERROR: Mempool for list cannot be allocated in list init. Aborted I don't know what the problem is now. Here is what i did. Hope it will give an idea. First i copied the target rootfs to a directory at my home by using cp -a. Then I copied sh4-linux-* stuff, pkg-config and freetype-config binaries to the rootfs's bin direcotory. I also exported some environmental variables. Then i compiled first DirectFB 1.2.7, installed it to the rootfs, then imlib2, eina, eet, evas, ecore, embryo and edje. Then i copied back the rootfs to the directory where i used for nfs root so when the box is opened it will be using this structure. When i logined the box from telnet, i first checked fb. There was a fb device is set. But when i tried the edje_cc command to compile the EDC file on the machine i got the above error. I couldn't find the way to use the cross compiled edje_cc on my host machine so i had to try it on the target machine. So what is this error message related with? # cat /proc/meminfo MemTotal:46460 kB MemFree: 24360 kB Buffers: 0 kB Cached: 13060 kB SwapCached: 0 kB Active: 3728 kB Inactive:10544 kB HighTotal: 0 kB HighFree:0 kB LowTotal:46460 kB LowFree: 24360 kB SwapTotal: 0 kB SwapFree:0 kB Dirty: 0 kB Writeback: 0 kB Mapped: 3668 kB Slab: 2572 kB CommitLimit: 23228 kB Committed_AS: 5100 kB PageTables:168 kB VmallocTotal: 523252 kB VmallocUsed: 4464 kB VmallocChunk: 516560 kB # cat /proc/cpuinfo machine : STb7100 Reference board processor : 0 cpu family : sh4 cpu type: STb710x cpu flags : fpu cache type : split (harvard) icache size : 16KiB (2-way) dcache size : 32KiB (2-way) bogomips: 263.16 pll0_clk: 531.00MHz pll1_clk: 333.00MHz sh4_clk : 265.50MHz sh4_ic_clk : 132.75MHz module_clk : 66.37MHz slim_clk: 265.50MHz comms_clk : 83.25MHz tmu0_clk: 16.59MHz Alse here are how i cross compiled: [1] http://rafb.net/p/RqSsvi90.html [2] http://rafb.net/p/qAecxg84.html Thanx. -- Oğuz Yarımtepe www.loopbacking.info -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cross compiling problem
After seeing that eina_chained_mempool.so was installed at the target direcotory, i maed a symbolink link the eina dir under lib to the /usr/lib at target device and the problem is gone. Thanx for your help. On Mon, Feb 16, 2009 at 6:12 PM, Cedric BAIL wrote: > 2009/2/16 Oguz Yarimtepe : > > After i had slow transition problems with the box, i changed it with > another > > one that has no process running on it and fbdev is set. After cross > > compiling the libraries and DirectFb 1.2.7, when i ran the edje_cc > command > > on the box, i got the below error message: > > > > [eina_list.c:439] eina_list_init() ERROR: Mempool for list cannot be > > allocated in list init. > > Aborted > > You need mempool module installed on your system. If you don't want to > put multiple module.so in your system, you can give > --enable-static-chained-pool to eina configure. It should fix this > problem. But my guess is that it will reproduce again for evas module. > So you better put all module.so on your target. > > -- > Cedric BAIL > -- Oğuz Yarımtepe www.loopbacking.info -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel