From pravinkumar.chavan at enrouteinc.com Fri Feb 3 09:35:22 2012 From: pravinkumar.chavan at enrouteinc.com (Pravinkumar Chavan) Date: Fri, 3 Feb 2012 14:05:22 +0530 Subject: [directfb-users] =?windows-1252?q?still_objects_in_=91Layer_Regio?= =?windows-1252?q?n_Pool=92?= Message-ID: Hi Every one, Has trouble because of following error? Can any one guide me how do i resolved this.. My system details are.. System Details: Host: Ubuntu 11.04 Target: Db-1200 board with Au-1250on board Target OS: Debian Lenny 5.0 Toolchain: A. binutils-2.15.tar.bz2 B. crosstool-0.43.tar.gz C. gcc-3.4.4.tar.bz2 (provided by vendor) D. glibc-2.3.2.tar.bz2 E. glibc-linuxthreads-2.3.2.tar.bz2 F. Linux-2.6.28.tar.gz (sourse code provided by vendor) what this error means and have anyone work on this and have a solution.. ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~ ? 2001-2009 The world wide DirectFB Open Source Community ? 2000-2004 Convergence (integrated media) GmbH ???????????????????????????????? (*) DirectFB/Core: Single Application Core. (2010-04-27 18:24) (*) Direct/Thread: Started ?VT Switcher? (143) [CRITICAL OTHER/OTHER 0/0] <2093056>? (*) Direct/Thread: Started ?VT Flusher? (144) [DEFAULT OTHER/OTHER 0/0] <2093056>? (*) DirectFB/FBDev: Found ?AU1200? (ID 0) with frame buffer at 0?08000000, 1500k (MMIO 0?00000000, 0k) (*) Direct/Thread: Started ?tslib Input? (145) [INPUT OTHER/OTHER 0/0] <2093056>? (*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib) (*) Direct/Thread: Started ?Keyboard Input? (146) [INPUT OTHER/OTHER 0/0] <2093056>? (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (!!!) *** ONCE [no mode found for 800?480] *** [fbdev.c:1288 in dfb_fbdev_find_mode()] (!!!) *** WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call pass until cooperative level handling is finished] *** [idirectfbdisplaylayer.c:174 in IDirectFBDisplayLayer_GetSurface()] (!) [ 137: 0.000] ?> Caught signal 10 (sent by the kernel) From timothy.strelchun at intel.com Fri Feb 3 19:41:58 2012 From: timothy.strelchun at intel.com (Strelchun, Timothy) Date: Fri, 3 Feb 2012 18:41:58 +0000 Subject: [directfb-users] still objects in ?Layer Region Pool? Message-ID: <18BFDFA54CE32148877403BC3AC6F55708D445@ORSMSX105.amr.corp.intel.com> Hi Pravinkumar, >Has trouble because of following error? >Can any one guide me how do i resolved this.. >(!!!) *** WARNING [still objects in ?Layer Region Pool?] *** [object.c:241 in >fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in ?Layer >Context Pool?] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** >WARNING [still objects in ?Surface Pool?] *** [object.c:241 in >fusion_object_pool_destroy()] Normally, I have found that the above message means an interface reference was not released that was previously obtained (such as by the call pLayer->Release(pLayer); ) that should have been when shutting down prior to shutting down the super interface ( pDFB->Release(pDFB); ). Timothy -- Timothy Strelchun Software Engineering NTG Service Provider Division (formally DHG) Intel Corporation >-----Original Message----- >From: Pravinkumar Chavan >To: directfb-users at directfb.org >Subject: [directfb-users] still objects in ?Layer Region Pool? >Message-ID: > >Content-Type: text/plain; charset="windows-1252" > >Hi Every one, > >Has trouble because of following error? >Can any one guide me how do i resolved this.. >My system details are.. > >System Details: > >Host: Ubuntu 11.04 >Target: Db-1200 board with Au-1250on board Target OS: Debian Lenny 5.0 >Toolchain: >A. binutils-2.15.tar.bz2 B. crosstool-0.43.tar.gz C. gcc-3.4.4.tar.bz2 >(provided by vendor) D. glibc-2.3.2.tar.bz2 E. >glibc-linuxthreads-2.3.2.tar.bz2 F. Linux-2.6.28.tar.gz (sourse code provided >by vendor) > >what this error means and have anyone work on this and have a solution.. >~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~ ? >2001-2009 The world wide DirectFB Open Source Community ? 2000-2004 >Convergence (integrated media) GmbH ???????????????????????????????? > >(*) DirectFB/Core: Single Application Core. (2010-04-27 18:24) >(*) Direct/Thread: Started ?VT Switcher? (143) [CRITICAL OTHER/OTHER 0/0] ><2093056>? >(*) Direct/Thread: Started ?VT Flusher? (144) [DEFAULT OTHER/OTHER 0/0] ><2093056>? >(*) DirectFB/FBDev: Found ?AU1200? (ID 0) with frame buffer at 0?08000000, >1500k (MMIO 0?00000000, 0k) >(*) Direct/Thread: Started ?tslib Input? (145) [INPUT OTHER/OTHER 0/0] ><2093056>? >(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib) >(*) Direct/Thread: Started ?Keyboard Input? (146) [INPUT OTHER/OTHER 0/0] ><2093056>? >(*) DirectFB/Input: Keyboard 0.9 (directfb.org) >(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) >(*) DirectFB/Core/WM: Default 0.3 (directfb.org) (!!!) *** ONCE [no mode >found for 800?480] *** [fbdev.c:1288 in dfb_fbdev_find_mode()] (!!!) *** >WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call pass >until cooperative level handling is finished] *** >[idirectfbdisplaylayer.c:174 in IDirectFBDisplayLayer_GetSurface()] > >(!) [ 137: 0.000] ?> Caught signal 10 (sent by the kernel) (!!!) *** WARNING [still objects in ?Layer Region Pool?] *** [object.c:241 in >fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in ?Layer >Context Pool?] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** >WARNING [still objects in ?Surface Pool?] *** [object.c:241 in >fusion_object_pool_destroy()] From pravinkumar.chavan at enrouteinc.com Sat Feb 4 03:22:55 2012 From: pravinkumar.chavan at enrouteinc.com (Pravinkumar Chavan) Date: Sat, 4 Feb 2012 07:52:55 +0530 Subject: [directfb-users] still objects in ?Layer Region Pool? In-Reply-To: <18BFDFA54CE32148877403BC3AC6F55708D445@ORSMSX105.amr.corp.intel.com> References: <18BFDFA54CE32148877403BC3AC6F55708D445@ORSMSX105.amr.corp.intel.com> Message-ID: On 4 February 2012 00:11, Strelchun, Timothy wrote: > Hi Pravinkumar, > > >Has trouble because of following error? > >Can any one guide me how do i resolved this.. > > >(!!!) *** WARNING [still objects in ?Layer Region Pool?] *** > [object.c:241 in > >fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in ?Layer > >Context Pool?] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) > *** > >WARNING [still objects in ?Surface Pool?] *** [object.c:241 in > >fusion_object_pool_destroy()] > > Normally, I have found that the above message means an interface reference > was not released that was previously obtained (such as by the call > pLayer->Release(pLayer); ) that should have been when shutting down prior > to shutting down the super interface ( pDFB->Release(pDFB); ). > > Timothy > Thanks Strelchun, Actually I am newbies and really not have much knowledge of this thing. Can you please tell me which files I need to check to see above pointers. I will try to apply the solution you told above. Do I need to do something from kernel side or from the application that is running on my device. Because the while my application launches on device this error appears and application hangs at that point. > > -- > > Timothy Strelchun > Software Engineering > NTG Service Provider Division (formally DHG) > Intel Corporation > > >-----Original Message----- > >From: Pravinkumar Chavan > >To: directfb-users at directfb.org > >Subject: [directfb-users] still objects in ?Layer Region Pool? > >Message-ID: > > < > CAJT+SbkWmWtJSvCkPfjfN8VERMxSmJjKDWJACQjpR19egckraQ at mail.gmail.com> > >Content-Type: text/plain; charset="windows-1252" > > > >Hi Every one, > > > >Has trouble because of following error? > >Can any one guide me how do i resolved this.. > >My system details are.. > > > >System Details: > > > >Host: Ubuntu 11.04 > >Target: Db-1200 board with Au-1250on board Target OS: Debian Lenny 5.0 > >Toolchain: > >A. binutils-2.15.tar.bz2 B. crosstool-0.43.tar.gz C. gcc-3.4.4.tar.bz2 > >(provided by vendor) D. glibc-2.3.2.tar.bz2 E. > >glibc-linuxthreads-2.3.2.tar.bz2 F. Linux-2.6.28.tar.gz (sourse code > provided > >by vendor) > > > >what this error means and have anyone work on this and have a solution.. > >~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~ ? > >2001-2009 The world wide DirectFB Open Source Community ? 2000-2004 > >Convergence (integrated media) GmbH ???????????????????????????????? > > > >(*) DirectFB/Core: Single Application Core. (2010-04-27 18:24) > >(*) Direct/Thread: Started ?VT Switcher? (143) [CRITICAL OTHER/OTHER 0/0] > ><2093056>? > >(*) Direct/Thread: Started ?VT Flusher? (144) [DEFAULT OTHER/OTHER 0/0] > ><2093056>? > >(*) DirectFB/FBDev: Found ?AU1200? (ID 0) with frame buffer at 0?08000000, > >1500k (MMIO 0?00000000, 0k) > >(*) Direct/Thread: Started ?tslib Input? (145) [INPUT OTHER/OTHER 0/0] > ><2093056>? > >(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib) > >(*) Direct/Thread: Started ?Keyboard Input? (146) [INPUT OTHER/OTHER 0/0] > ><2093056>? > >(*) DirectFB/Input: Keyboard 0.9 (directfb.org) > >(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) > >(*) DirectFB/Core/WM: Default 0.3 (directfb.org) (!!!) *** ONCE [no mode > >found for 800?480] *** [fbdev.c:1288 in dfb_fbdev_find_mode()] (!!!) *** > >WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call > pass > >until cooperative level handling is finished] *** > >[idirectfbdisplaylayer.c:174 in IDirectFBDisplayLayer_GetSurface()] > > > >(!) [ 137: 0.000] ?> Caught signal 10 (sent by the kernel) >(!!!) *** WARNING [still objects in ?Layer Region Pool?] *** > [object.c:241 in > >fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in ?Layer > >Context Pool?] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) > *** > >WARNING [still objects in ?Surface Pool?] *** [object.c:241 in > >fusion_object_pool_destroy()] > > _______________________________________________ > directfb-users mailing list > directfb-users at directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > -- ** _________________________ Pravinkumar Chavan Software Engineer +919867107370 En Route Media Pvt. Ltd. ** *_________________________* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From pravinkumar.chavan at enrouteinc.com Wed Feb 8 07:54:20 2012 From: pravinkumar.chavan at enrouteinc.com (Pravinkumar Chavan) Date: Wed, 8 Feb 2012 12:24:20 +0530 Subject: [directfb-users] still objects in ?Layer Region Pool? In-Reply-To: <18BFDFA54CE32148877403BC3AC6F5570983EB@ORSMSX106.amr.corp.intel.com> References: <18BFDFA54CE32148877403BC3AC6F55708D445@ORSMSX105.amr.corp.intel.com> <18BFDFA54CE32148877403BC3AC6F5570983EB@ORSMSX106.amr.corp.intel.com> Message-ID: On 7 February 2012 22:22, Strelchun, Timothy wrote: > Hi Pravinkumar, > > > Actually I am newbies and really not have much > > knowledge of this thing. Can you please tell me > > which files I need to check to see above > > pointers. I will try to apply the solution you > > told above. Do I need to do something from kernel > > side or from the application that is running on > > my device. Because the while my application > > launches on device this error appears and > > application hangs at that point. > > In my example: > > >> Normally, I have found that the above message means > >> an interface reference was not released that was > >> previously obtained (such as by the call > >> pLayer->Release(pLayer); ) that should have been > >> when shutting down prior to shutting down the super > >> interface ( pDFB->Release(pDFB); ). > > The interface pointer variables named pLayer and pDFB > are examples only of variables you "may" be using in > "your" application. For example, when you call the > IDirectFB::GetDisplayLayer function it returns a > pointer to an IDirectFBDisplayLayer interface for > which YOU the caller of the function now owns a > reference to (maybe in a variable named "pLayer"), > and thus you must call its Release function before > releasing the IDirectFB interface reference (which > you also own a reference to (stored in a variable > maybe named "pDFB") by calling the DirectFBCreate > function. Clearly, this only involves you application > in user mode and no kernel mode work. > > Good luck! > > Cheers, > Timothy > > Thanks again.. "We are not using directfb library or any of its API in our Qt application. Rather we have set QWS_DISPLAY = directfb which is to use directfb as the driver for the framebuffer to which we are directing our Qt application output. I think we have some problem in the directfb code. I am using Directfb-1.4.14. May be we are not using the directfb properly." -- ** _________________________ Pravinkumar Chavan Software Engineer +919867107370 En Route Media Pvt. Ltd. ** *_________________________* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriram.neelakandan at gmail.com Wed Feb 8 08:19:34 2012 From: sriram.neelakandan at gmail.com (Sriram Neelakandan) Date: Wed, 8 Feb 2012 12:49:34 +0530 Subject: [directfb-users] still objects in ?Layer Region Pool? In-Reply-To: References: <18BFDFA54CE32148877403BC3AC6F55708D445@ORSMSX105.amr.corp.intel.com> <18BFDFA54CE32148877403BC3AC6F5570983EB@ORSMSX106.amr.corp.intel.com> Message-ID: What version of Qt ? must be a bug in Qt/DirectFB plugin then On Wed, Feb 8, 2012 at 12:24 PM, Pravinkumar Chavan < pravinkumar.chavan at enrouteinc.com> wrote: > > > On 7 February 2012 22:22, Strelchun, Timothy wrote: > >> Hi Pravinkumar, >> >> > Actually I am newbies and really not have much >> > knowledge of this thing. Can you please tell me >> > which files I need to check to see above >> > pointers. I will try to apply the solution you >> > told above. Do I need to do something from kernel >> > side or from the application that is running on >> > my device. Because the while my application >> > launches on device this error appears and >> > application hangs at that point. >> >> In my example: >> >> >> >> Normally, I have found that the above message means >> >> an interface reference was not released that was >> >> previously obtained (such as by the call >> >> pLayer->Release(pLayer); ) that should have been >> >> when shutting down prior to shutting down the super >> >> interface ( pDFB->Release(pDFB); ). >> >> The interface pointer variables named pLayer and pDFB >> are examples only of variables you "may" be using in >> "your" application. For example, when you call the >> IDirectFB::GetDisplayLayer function it returns a >> pointer to an IDirectFBDisplayLayer interface for >> which YOU the caller of the function now owns a >> reference to (maybe in a variable named "pLayer"), >> and thus you must call its Release function before >> releasing the IDirectFB interface reference (which >> you also own a reference to (stored in a variable >> maybe named "pDFB") by calling the DirectFBCreate >> function. Clearly, this only involves you application >> in user mode and no kernel mode work. >> >> Good luck! >> >> Cheers, >> Timothy >> >> Thanks again.. > > "We are not using directfb library or any of its API in our Qt > application. Rather we have set QWS_DISPLAY = directfb which is to use > directfb as the driver for the framebuffer to which we are directing our Qt > application output. I think we have some problem in the directfb code. I am > using Directfb-1.4.14. May be we are not using the directfb properly." > > -- > ** > _________________________ > > Pravinkumar Chavan > Software Engineer > +919867107370 > En Route Media Pvt. Ltd. > > > ** > *_________________________* > * > * > > > > _______________________________________________ > directfb-users mailing list > directfb-users at directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > -- Sriram Neelakandan Author - Embedded Linux System Design And Development ( http://tinyurl.com/2doosu) -------------- next part -------------- An HTML attachment was scrubbed... URL: From pravinkumar.chavan at enrouteinc.com Wed Feb 8 08:35:08 2012 From: pravinkumar.chavan at enrouteinc.com (Pravinkumar Chavan) Date: Wed, 8 Feb 2012 13:05:08 +0530 Subject: [directfb-users] still objects in ?Layer Region Pool? In-Reply-To: References: <18BFDFA54CE32148877403BC3AC6F55708D445@ORSMSX105.amr.corp.intel.com> <18BFDFA54CE32148877403BC3AC6F5570983EB@ORSMSX106.amr.corp.intel.com> Message-ID: > > On Wed, Feb 8, 2012 at 12:24 PM, Pravinkumar Chavan < > pravinkumar.chavan at enrouteinc.com> wrote: > >> >> >> On 7 February 2012 22:22, Strelchun, Timothy > > wrote: >> >>> Hi Pravinkumar, >>> >>> > Actually I am newbies and really not have much >>> > knowledge of this thing. Can you please tell me >>> > which files I need to check to see above >>> > pointers. I will try to apply the solution you >>> > told above. Do I need to do something from kernel >>> > side or from the application that is running on >>> > my device. Because the while my application >>> > launches on device this error appears and >>> > application hangs at that point. >>> >>> In my example: >>> >>> >>> >> Normally, I have found that the above message means >>> >> an interface reference was not released that was >>> >> previously obtained (such as by the call >>> >> pLayer->Release(pLayer); ) that should have been >>> >> when shutting down prior to shutting down the super >>> >> interface ( pDFB->Release(pDFB); ). >>> >>> The interface pointer variables named pLayer and pDFB >>> are examples only of variables you "may" be using in >>> "your" application. For example, when you call the >>> IDirectFB::GetDisplayLayer function it returns a >>> pointer to an IDirectFBDisplayLayer interface for >>> which YOU the caller of the function now owns a >>> reference to (maybe in a variable named "pLayer"), >>> and thus you must call its Release function before >>> releasing the IDirectFB interface reference (which >>> you also own a reference to (stored in a variable >>> maybe named "pDFB") by calling the DirectFBCreate >>> function. Clearly, this only involves you application >>> in user mode and no kernel mode work. >>> >>> Good luck! >>> >>> Cheers, >>> Timothy >>> >>> Thanks again.. >> >> "We are not using directfb library or any of its API in our Qt >> application. Rather we have set QWS_DISPLAY = directfb which is to use >> directfb as the driver for the framebuffer to which we are directing our Qt >> application output. I think we have some problem in the directfb code. I am >> using Directfb-1.4.14. May be we are not using the directfb properly." >> >> What version of Qt ? must be a bug in Qt/DirectFB plugin then The Qt version is 4.6.2 I am not sure, if there is a bug in Qt/DirectFB plugin... Can you please explain in brief so that i will do some check about it.. -- >> _________________________ >> >> Pravinkumar Chavan >> Software Engineer >> +919867107370 >> En Route Media Pvt. Ltd. >> >> >> *_________________________* >> * >> * >> >> >> >> _______________________________________________ >> directfb-users mailing list >> directfb-users at directfb.org >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users >> >> > > > -- > Sriram Neelakandan > Author - Embedded Linux System Design And Development ( > http://tinyurl.com/2doosu) > > -- ** _________________________ Pravinkumar Chavan Software Engineer +919867107370 En Route Media Pvt. Ltd. ** *_________________________* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagaert.johan at skynet.be Fri Feb 10 01:29:26 2012 From: sagaert.johan at skynet.be (Sagaert Johan) Date: Fri, 10 Feb 2012 01:29:26 +0100 Subject: [directfb-users] Measure text size Message-ID: Hi Is there a function i could use to measure the size of a string given the used font and fontsize ? I have only limited space on my screen and want to scroll the text if its size (width) would be larger then the screen width. (like a banner ) Thanks in advance. Sagaert Johan From sagaert.johan at skynet.be Fri Feb 10 01:56:14 2012 From: sagaert.johan at skynet.be (Sagaert Johan) Date: Fri, 10 Feb 2012 01:56:14 +0100 Subject: [directfb-users] =?windows-1252?q?still_objects_in_=91Layer_Regio?= =?windows-1252?q?n_Pool=92?= Message-ID: <3E6A088DD4D847A8A97854359E368515@JohanW7> Hi it means you did not free some objects used fonts should be free after use , loadedfont->Release (loadedfont); images loaded in a surface should be freed, etc .. void FreeImage(IDirectFBSurface * image) { image->Release (image); } M.v.g . Sagaert Johan From pravinkumar.chavan at enrouteinc.com Fri Feb 10 06:05:03 2012 From: pravinkumar.chavan at enrouteinc.com (Pravinkumar Chavan) Date: Fri, 10 Feb 2012 10:35:03 +0530 Subject: [directfb-users] Measure text size In-Reply-To: References: Message-ID: On 10 February 2012 05:59, Sagaert Johan wrote: > > Hi > > Is there a function i could use to measure the size of a string given the > used font and fontsize ? > > I have only limited space on my screen and want to scroll the text if its > size (width) would be larger then the screen width. > (like a banner ) > > Thanks in advance. > > Sagaert Johan > > http://directfb.org/docs/DirectFB_Tutorials/text.html may be this could > help you... > _______________________________________________ > directfb-users mailing list > directfb-users at directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > -- ** _________________________ Pravinkumar Chavan Software Engineer +919867107370 En Route Media Pvt. Ltd. ** *_________________________* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From pravinkumar.chavan at enrouteinc.com Fri Feb 10 06:10:55 2012 From: pravinkumar.chavan at enrouteinc.com (Pravinkumar Chavan) Date: Fri, 10 Feb 2012 10:40:55 +0530 Subject: [directfb-users] =?windows-1252?q?still_objects_in_=91Layer_Regio?= =?windows-1252?q?n_Pool=92?= In-Reply-To: <3E6A088DD4D847A8A97854359E368515@JohanW7> References: <3E6A088DD4D847A8A97854359E368515@JohanW7> Message-ID: On 10 February 2012 06:26, Sagaert Johan wrote: > Hi > > it means you did not free some objects > > used fonts should be free after use , > > loadedfont->Release (loadedfont); > > images loaded in a surface should be freed, etc .. > > void FreeImage(IDirectFBSurface * image) > { > image->Release (image); > } > > > M.v.g . > > > > Sagaert Johan > > Thanks for your reply Sagaert, Can you please tell me which file I have to edit for the change. (I am a newbies). "We are not using directfb library or any of its API in our Qt application. Rather we have set QWS_DISPLAY = directfb which is to use directfb as the driver for the framebuffer to which we are directing our Qt application output. I think we have some problem in the directfb code. I am using Directfb-1.4.14. May be we are not using the directfb properly." > _______________________________________________ > directfb-users mailing list > directfb-users at directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > -- ** _________________________ Pravinkumar Chavan Software Engineer +919867107370 En Route Media Pvt. Ltd. ** *_________________________* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From elezegarcia at gmail.com Fri Feb 10 21:16:20 2012 From: elezegarcia at gmail.com (=?ISO-8859-1?Q?Ezequiel_Garc=EDa?=) Date: Fri, 10 Feb 2012 17:16:20 -0300 Subject: [directfb-users] Fwd: Measure text size In-Reply-To: References: Message-ID: Oops, forgot to send to directfb-users list. ---------- Forwarded message ---------- From: Ezequiel Garc?a Date: Fri, 10 Feb 2012 11:53:50 -0300 Subject: Re: [directfb-users] Measure text size To: Sagaert Johan Hi, > Is there a function i could use to measure the size of a string given the > used font and fontsize ? Yes. The function is IDirectFBFont::GetStringExtents(): http://www.directfb.org/docs/DirectFB_Reference_1_4/IDirectFBFont_GetStringExtents.html Here goes a small "pseudo-code" example (won't compile): IDirectFB* dfb; IDirectFBFont* font; DFBFontDescription font_desc; DFBRectangle rect; // Create main interface DirectFBCreate(&dfb); // Create font dfb->CreateFont(dfb, "Tiresias.ttf", &font_desc, &font); // Measure a text font->GetStringExtents(font, "measure this", -1/*measure whole string*/, &rect, NULL); That's all. Hope it helps, Ezequiel. From rogerx.oss at gmail.com Sat Feb 11 00:19:47 2012 From: rogerx.oss at gmail.com (rogerx.oss at gmail.com) Date: Fri, 10 Feb 2012 14:19:47 -0900 Subject: [directfb-users] nouvea & directfb compatability Message-ID: <20120210231947.GA3307@localhost2.local> I'm curoius as to whether or not the default Nouvea framebuffer driver can by used with DirectFB? (ie. video=uvesafb:nocrtc,ywrap,mtrr:3,1280x1024-16 at 60) -- Roger http://rogerx.freeshell.org/ From rogerx.oss at gmail.com Sat Feb 11 00:30:34 2012 From: rogerx.oss at gmail.com (Roger) Date: Fri, 10 Feb 2012 14:30:34 -0900 Subject: [directfb-users] First Time User of DirectFB Message-ID: <20120210233034.GB3307@localhost2.local> 1) There seems to be no default rc file for /etc/directfbrc, except somebody's old rc file within the DirectFB tarball? 2) How should directfb started? And by which user, root? -- Roger http://rogerx.freeshell.org/ From elezegarcia at gmail.com Sat Feb 11 01:15:05 2012 From: elezegarcia at gmail.com (=?ISO-8859-1?Q?Ezequiel_Garc=EDa?=) Date: Fri, 10 Feb 2012 21:15:05 -0300 Subject: [directfb-users] [ANN] DirectFB meets Lua Message-ID: Hello all, I've been working on a DirectFB binding for Lua for some time now and it has grown into something usable. https://github.com/ezequielgarcia/directfb-lua For those of you that have no idea what am I talking about: - Lua is a really GREAT language that can be embedded almost anywhere. - DirectFB is a (not so) thin library that let you do wonders on top of a framebuffer. Moreover, I think Lua is a great glue language and this binding has been very helpful when trying new DFB functions, testing some code or looking for a bug. You will find it is much much easier to write a small test script in Lua than to write it in C and compile it. Plus, if you are working on x86, ARM, etc, (except SH4) you can use LuaJIT and get the same performance (or near). Since I am the first and only user of this, it probably has lots of bugs, compile or install problems; so feel free to flame me, send issues, patches, or whatever. I'll be happy to answer. Thanks, Ezequiel. From anaphaxeton at tsalikis.net Tue Feb 28 14:09:27 2012 From: anaphaxeton at tsalikis.net (Georgios Tsalikis) Date: Tue, 28 Feb 2012 15:09:27 +0200 Subject: [directfb-users] [ANN] DirectFB meets Lua In-Reply-To: References: Message-ID: Thanks a lot for this! I have been expecting this for a lot of time (i have even thought about creating a thick binding). Congrats! On 02/11/2012 02:15 AM, Ezequiel Garc?a wrote: > Hello all, > > I've been working on a DirectFB binding for Lua for some time now and > it has grown into > something usable. > > https://github.com/ezequielgarcia/directfb-lua > > For those of you that have no idea what am I talking about: > - Lua is a really GREAT language that can be embedded almost anywhere. > - DirectFB is a (not so) thin library that let you do wonders on top > of a framebuffer. > > Moreover, I think Lua is a great glue language and this binding has > been very helpful when trying new DFB functions, testing some code or > looking for a bug. > > You will find it is much much easier to write a small test script in > Lua than to write it in C and compile it. Plus, if you are working on > x86, ARM, etc, (except SH4) you can use LuaJIT and get the same > performance (or near). > > Since I am the first and only user of this, it probably has lots of > bugs, compile or install problems; so > feel free to flame me, send issues, patches, or whatever. I'll be > happy to answer. > > Thanks, > Ezequiel. > > From elezegarcia at gmail.com Wed Feb 29 17:24:04 2012 From: elezegarcia at gmail.com (=?ISO-8859-1?Q?Ezequiel_Garc=EDa?=) Date: Wed, 29 Feb 2012 13:24:04 -0300 Subject: [directfb-users] [directfb-dev] [ANN] DirectFB meets Lua In-Reply-To: References: Message-ID: Hi Georgios, On 2/28/12, Georgios Tsalikis wrote: > Thanks a lot for this! I have been expecting this for a lot of time (i > have even thought about creating a thick binding). Congrats! > Please feel free to try it out and point out any bugs in the compiling process, the library or the examples. Thanks, Ezequiel.