[compiz] The object framework branch
Sam Spilsbury
smspillaz at gmail.com
Mon Jan 5 14:46:10 PST 2009
On Mon, Jan 5, 2009 at 7:16 PM, Vasek Potocek <vasek.potocek at post.cz> wrote:
> Hello!
>
> Maybe this is bad question, but talking about the promising projects, what's the
> current state of input transformations? In my opinion, these would be definitely
> attractive to revisit!
>
> I'm completely off the picture by now but I remember the Compiz developers were
> still waiting for some changes to the X system to allow this. However, I have
> had an idea:
>
> As far as I understand, the GL_EXT_texture_from_pixmap extension was David
> Reveman's idea after all, wasn't it? So it could be said it was implemented in
> the drivers for the purpose of simplifying composite managers, especially
> Compiz. Couldn't the Compiz developers similarly implement the input
> transformations backend as an extension to X, or is it impossible this way?
In short, no.
In long, Input Redirection adds a triangle mesh interface to the
COMPOSITE extension, both the internal extension in the X Server
source tree and also some functions to the libXComposite extension.
Additionally, in order to capture the event co-ordinates and transform
them according to the input mesh, we needed to add an extra hook to
the event handler in of the X Server, which lies in it's very core.
GLX_EXT_texture_from_pixmap was different in that it allowed us to
make a GL texture from an X Pixmap with hardware acceleration.
Composite allows us to redirect windows.
There are already patches to implement the functionality you want at
git://git.compiz-fusion.org/users/smspillaz/compiz-mpx-ir
Regards,
Sam
>
> Best regards and good luck with all the new effort,
> Vašek P.
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz
>
--
Sam Spilsbury
More information about the compiz
mailing list