I need to access framebuffer from Javascript. Can anyone suggest a way to do this. leo
On Tue, Apr 28, 2009 at 6:00 AM, <directfb-dev-requ...@directfb.org> wrote: > Send directfb-dev mailing list submissions to > directfb-dev@directfb.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > or, via email, send a message with subject or body 'help' to > directfb-dev-requ...@directfb.org > > You can reach the person managing the list at > directfb-dev-ow...@directfb.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of directfb-dev digest..." > > > Today's Topics: > > 1. intelfb+directfb (Sergey Kvachonok) > 2. intelfb+directfb (Sergey Kvachonok) > 3. fusion not sleeping in select() anymore (Ville Syrj?l?) > 4. DirectFB Api to Draw Polygon (Ujjal Saha) > 5. Re: DirectFB Api to Draw Polygon (Nikita Egorov) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 27 Apr 2009 23:11:16 +0300 > From: Sergey Kvachonok <raven...@gmail.com> > Subject: [directfb-dev] intelfb+directfb > To: directfb-dev@directfb.org > Message-ID: > <25a99abe0904271311h72f43de7s13ac3e2eb9d9e...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello everyone. > I've recently been playing with in-kernel intelfb to get it to work > with laptop screens (kernel modesetting). > Techically the effort succeeded (in intelfb2 project), but x11 guys > got there first with their drm KMS. I was not aware of KMS until it > was too late, my fault. > So now I'm left with mostly orignal intelfb2 codebase and some > knowledge of intel graphics hw. > Both work fine for me, except that now I need some sane way to use > overlay mixer without Xv. > Quick search among fbxine output plugins pointed me here, and then to > i830 gfxdriver code, which apparently does only that, overlays. > The catch is that intelfb2 uses dualhead configuration with two fbdevs > (one per display pipe, no cloning), and it's not obvious to me how to > hack support for this into directfb driver. > Moreover, it does have hw accel code, which is partially duplicated in > directfb driver, and limited support for VRAM allocation. > Is there some standard kernel<->userspace protocol for these things, > which directfb drivers tend to follow? > It would be great if someone points me to such implementations > > > ------------------------------ > > Message: 2 > Date: Mon, 27 Apr 2009 23:32:22 +0300 > From: Sergey Kvachonok <raven...@gmail.com> > Subject: [directfb-dev] intelfb+directfb > To: directfb-dev@directfb.org > Message-ID: > <25a99abe0904271332r5477ac9excad5b85266eaf...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello everyone. > > I've recently been playing with in-kernel intelfb to get it to work > with laptop screens (kernel modesetting). > Techically the effort succeeded (in intelfb2 project), but x11 guys > got there first with their drm KMS. I was not aware of KMS until it > was too late, my fault. > So now I'm left with mostly orignal intelfb2 codebase and some > knowledge of intel graphics hw. > Both work fine for me, except that now I need some sane way to use > overlay mixer without Xv. > > Quick search among fbxine output plugins pointed me here, and then to > i830 gfxdriver code, which apparently does only that, overlays. > The catch is that intelfb2 uses dualhead configuration with two fbdevs > (one per display pipe, no cloning), and it's not obvious to me how to > hack support for this into current directfb driver. > Moreover, intelfb does have hw accel code, which is partially > duplicated in directfb driver, and limited support for VRAM > allocation, but none of these is exported to userspace. > > So I want to ask if there is some standard kernel<->userspace protocol > for these things, which directfb compliant drivers tend to follow. > It would be great if someone points me to similar implementations, > which are considered to be 'right'. > Any starting points would help. > > Thanks, > Sergey > > > ------------------------------ > > Message: 3 > Date: Tue, 28 Apr 2009 03:47:12 +0300 > From: Ville Syrj?l? <syrj...@sci.fi> > Subject: [directfb-dev] fusion not sleeping in select() anymore > To: directfb-dev@directfb.org > Message-ID: <20090428004712.gh7...@sci.fi> > Content-Type: text/plain; charset=iso-8859-1 > > After a recent DirectFB update I noticed that the applications are now > using 100% system time. A quick look at linux-fusion history pointed me > at the following commit: > > commit 9ef27337f4ab671b6d863beb5f3ea493eb5332fa > Author: Niels Roest <ni...@directfb.org> > Date: Mon Jan 19 16:30:58 2009 +0100 > > [call] small change on advise of dok, fixes other cases too. > > diff --git a/linux/drivers/char/fusion/fusionee.c > b/linux/drivers/char/fusion/fusionee.c > index 780b874..e79f33b 100644 > --- a/linux/drivers/char/fusion/fusionee.c > +++ b/linux/drivers/char/fusion/fusionee.c > @@ -521,14 +521,11 @@ fusionee_poll (FusionDev *dev, > > fusion_fifo_reset( &fusionee->prev_msgs ); > > - /* if we have previous messages, fusionee_wait_processing() can be > waiting */ > - if (prev_msgs.count) > - wake_up_interruptible_all (&fusionee->wait); > - > unlock_fusionee (fusionee); > > flush_messages( dev, &prev_msgs ); > > + wake_up_all (&fusionee->wait); > > poll_wait (file, &fusionee->wait, wait); > > > So it now seems to wake itself up unconditionally when fusionee_poll() > is called, which happens after do_select() has set the task state to > interruptible. Reverting the offending commit does cure the problem for > me. > > -- > Ville Syrj?l? > syrj...@sci.fi > http://www.sci.fi/~syrjala/ > > > ------------------------------ > > Message: 4 > Date: Tue, 28 Apr 2009 11:55:40 +0530 > From: "Ujjal Saha" <ujjals...@tataelxsi.co.in> > Subject: [directfb-dev] DirectFB Api to Draw Polygon > To: directfb-dev@directfb.org > Message-ID: <00f901c9c7ca$26c844b0$b2053...@telxsi.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hello Everyone, > > Is there any DirectFB Api to draw Polygon [Irregular shapes] and Fill the > polygon with color. > > > Regards, > Ujjal > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.directfb.org/pipermail/directfb-dev/attachments/20090428/dbf7edf8/attachment.html > > > > ------------------------------ > > Message: 5 > Date: Tue, 28 Apr 2009 10:45:23 +0400 > From: Nikita Egorov <nik...@gmail.com> > Subject: Re: [directfb-dev] DirectFB Api to Draw Polygon > To: Ujjal Saha <ujjals...@tataelxsi.co.in> > Cc: directfb-dev@directfb.org > Message-ID: > <a9ea79ae0904272345g232c21e2h4dc5beda6c89f...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > > Is there any DirectFB Api to draw Polygon [Irregular shapes] and Fill the > > polygon with color. > > Hi, have a look onto my improved sources from NanoX to draw the > complex polygons via DirectFB API. I hope it will help. > > > http://git.directfb.org/?p=ports/FLTK_1.x-DirectFB.git;a=blob;f=src/_arcpoly.cxx;h=89b2bac1cfd381d9f557d76327243397305e488d;hb=HEAD > > > -- > Best Regards > Nikita Egorov > nik...@gmail.com > nik...@varma-el.com > > > ------------------------------ > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > End of directfb-dev Digest, Vol 50, Issue 19 > ******************************************** >
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev