Send plymouth mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."
Today's Topics:
1. Re: X11 test renderer (Ray Strode)
2. Re: X11 test renderer (Charlie Brej)
3. Re: X11 test renderer (Ray Strode)
----------------------------------------------------------------------
Message: 1
Date: Sat, 3 Oct 2009 02:26:30 -0400
From: Ray Strode <[email protected]>
Subject: Re: X11 test renderer
To: Charlie Brej <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi,
On Fri, Oct 2, 2009 at 12:01 PM, Charlie Brej <[email protected]> wrote:
> Here are the files to implement the X11 screen renderer.
>
> Makefile.am and plugin.c belong in src/plugins/renderers/x11
This is awesome! Thanks for doing this, it will make debugging
plymouth a lot simpler.
> There is still a fixme on choosing the screen sizes and their number. This
> wants to be a command line parameter but it is difficult to pass that
> through to the renderers.
Right, since it's X11 renderer specific, and the X11 renderer is
really just for debugging,
I'd say make it configurable through environment variables.
I've pushed what you wrote to the 'x11-renderer' branch and made a few changes:
- Minor code style clean ups (kill tabs and trailing whitespace mainly)
- Move VT switching out of main.c to the drm and frame-buffer plugins. This way
we won't ever switch VTs for the x11 renderer
- Make calls to ply_console_set_mode a noop. The X server really
doesn't like it
when plymouth puts the VT into KD_TEXT mode behind it's back.
- Only iterate the gtk event loop when X events come in
- Render the splash to the back pixmap of the windows instead of in an
expose handler.
It's a little more efficient and has the advantage that if you drag
another window over it
(when you're not running a compositor) that you don't see redraws on
the newly exposed
areas.
- Drop decorations from windows and allow them to be moved by dragging
them around
- Postion windows next to each other like they're two monitors next to
each other.
> On an related note there is a bug concerning the quit_splash which destroys
> the keyboard and screens. This gets run when pressing esc or doing a
> hide-display->show-display.
I think this is taken care of with the vt and console fixes above.
At some point it would be good to support text plugins as well (maybe
using a vte widget?).
That's a little more complicated though, since the plymouth core isn't
really designed for it,
so we can punt until later.
We can merge this master now if you want, or whenever you think it's ready.
--Ray
------------------------------
Message: 2
Date: Sat, 03 Oct 2009 11:36:42 +0100
From: Charlie Brej <[email protected]>
Subject: Re: X11 test renderer
To: Ray Strode <[email protected]>
Cc: plymouth <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 03/10/09 07:26, Ray Strode wrote:
> Right, since it's X11 renderer specific, and the X11 renderer is
> really just for debugging,
> I'd say make it configurable through environment variables.
Makes sense.
> - Only iterate the gtk event loop when X events come in
Wow, didn't know you could do that.
> - Postion windows next to each other like they're two monitors next to
> each other.
Ah, now I see the reason for the X and Y in the frame buffer areas.
Now, how do I present this to the scripted plugin? Either you have to know
which
head you are drawing to, or have a continuous area where each head exposes a
part of it (xinerama style).
> We can merge this master now if you want, or whenever you think it's ready.
Yeah, tested and works for me.
------------------------------
Message: 3
Date: Sat, 3 Oct 2009 11:51:27 -0400
From: Ray Strode <[email protected]>
Subject: Re: X11 test renderer
To: Charlie Brej <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi,
On Sat, Oct 3, 2009 at 6:36 AM, Charlie Brej <[email protected]> wrote:
> Ah, now I see the reason for the X and Y in the frame buffer areas.
> Now, how do I present this to the scripted plugin? Either you have to know
> which head you are drawing to, or have a continuous area where each head
> exposes a part of it (xinerama style).
I'm not sure it makes sense to expose it to the plugins, honestly. it
was more about the window manager overlapping the windows
inconvienently.
>> We can merge this master now if you want, or whenever you think it's
>> ready.
>
> Yeah, tested and works for me.
Okay, i'll merge it.
--Ray
------------------------------
_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth
End of plymouth Digest, Vol 13, Issue 2
***************************************