Discussion:
[directfb-users] [Q] Which functions (might) update screen?
Ezequiel Garcia
2012-05-28 18:20:11 UTC
Permalink
Hi,

As part of my paid job as a software butcher I have to patch
gdk-directfb backend
to add an ipc semaphore to signal another process when the screen has been
updated. The other process is in charge of clone the screen from
hdmi/ypbpr output
to composite ouput using low level fb ioctls.

So, I grepped trough the code for Flip and Lock/Unlock and add my ipc there.

Just to make sure: Is there another function apart from Flip and Lock/Unlock
that can actually change a surface (or a window's surface)?

Cleaning my hands from gdk guts,
Ezequiel.
Ezequiel Garcia
2012-05-29 11:33:37 UTC
Permalink
Post by Ezequiel Garcia
Hi,
As part of my paid job as a software butcher I have to patch
gdk-directfb backend
to add an ipc semaphore to signal another process when the screen has been
updated. The other process is in charge of clone the screen from
hdmi/ypbpr output
to composite ouput using low level fb ioctls.
So, I grepped trough the code for Flip and Lock/Unlock and add my ipc there.
Just to make sure: Is there another function apart from Flip and Lock/Unlock
that can actually change a surface (or a window's surface)?
Please discard this message. I forgot the patch was useless because
there is no way to follow mouse using this ipc notification.

So I simply clone video outputs every 40 ms (25 fps).
This is great news, since I hate ugly-patching.

Sorry for the noise :)
Ezequiel.

Loading...