From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: linux-fbdev@vger.kernel.org
Subject: Re: Mirror "module" for framebuffer
Date: Wed, 01 Jun 2011 18:43:45 +0000 [thread overview]
Message-ID: <20110601204345.6129d6a1@neptune.home> (raw)
In-Reply-To: <4DE67493.6090708@daccii.it>
Hi Daniele,
On Wed, 01 June 2011 Daniele Salvatore Albano <info@daccii.it> wrote:
> In short i should start to work to an application to remote control an
> android phone, just using the browser (video stream plus a lot of
> javascript).
> While this is partially working right now, as you can imagine, phone is
> slow, a lot slow, so, while the framebuffer is little in most cases
> (320x256x2/320x256x4/800x480x2/800x480x4) a simple comparison, using
> neon extension too, if avaiable, is too slow, so the screen is refreshed
> too few times in a sec.
>
> On windows exists Mirror Drivers infrastructure that supply a list of
> changed parts of the screen and more (mouse events too if i'm not
> wrong), but looking around on the web i didn't founded anything related
> to this stuff (or similar) for linux.
>
> So, before i start scrambling docs and source code (i've really little
> experience with kernel module programming, i've done simply things), i
> want to ask a simple question: can be done using a sort of hooking of
> internal framebuffer function calls (fb_ops for example) or it's
> impossible because apps write directly into the framebuffer memory?
fbdefio probably is the nearest to what you are looking for.
It catches changes to the framebuffer (at page level) and calls back to
driver at regular intervals to react on those changes.
Though if your Andriod has some video HW acceleration you are going to
be lost here unless you can get change notification from the hardware
itself and then read back the changes.
Bruno
next prev parent reply other threads:[~2011-06-01 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 17:19 Mirror "module" for framebuffer Daniele Salvatore Albano
2011-06-01 18:43 ` Bruno Prémont [this message]
2011-06-01 20:02 ` Bruno Prémont
2011-06-01 20:37 ` Daniele Salvatore Albano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110601204345.6129d6a1@neptune.home \
--to=bonbons@linux-vserver.org \
--cc=linux-fbdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox