![]() |
| Mesa EGL with Wayland, and simplified X as comparison. |
10 Mar 2012
What does EGL do in the Wayland stack
Recently I drew some diagrams of how an EGL library relates to the Wayland stack. Here I am presenting the Mesa EGL version of them with the details explained.
2 Feb 2012
Wayland R&D at Collabora
While being contracted by Collabora, I started a Wayland R&D project in October 2011 with the primary goal of getting to know Wayland, and strengthening Wayland expertise in Collabora. During the four months I started the wl_shell_surface protocol for desktops, added screen locking, ported an X screensaver to Wayland with new protocol, and most recently implemented surface transformations in Weston (the reference compositor, originally the wayland-demos compositor). All this sponsored by Collabora.
Labels:
wayland
15 Jan 2012
Nokia N9 Music Player and Album Cover Art
I recently got a Nokia N9 phone. One of the first things I did was copy my music collection into it. Since the player shows also album cover images, if such are stored, I started adding them -- not by embedding them into ID3v2 tags but as separate files, to avoid useless copies of images.
Usually it is as simple as putting a cover.jpg file into a directory, that contains a single album. Sometimes and in some cases, though, that does not work. I found out, that the N9's default music player is supposed to follow Media Art Storage specification. That gave me hints.
Usually it is as simple as putting a cover.jpg file into a directory, that contains a single album. Sometimes and in some cases, though, that does not work. I found out, that the N9's default music player is supposed to follow Media Art Storage specification. That gave me hints.
9 Dec 2011
Wayland screensaver integration
Continuing on the Wayland screensaver track, I sent a branch for review. The screensaver interface is now fully implemented in both the demo compositor and the demo screensaver. Screenshots below...
Labels:
screensaver,
wayland
22 Nov 2011
A Wayland screensaver
Now that screen locking is done in Wayland demos, it is time to go for the eye-candy: full-screen idle animations, also known as screensavers. The first step was to port an existing screensaver to Wayland. I chose glmatrix from XScreenSaver, because it is cool, and it renders with OpenGL. This way I did not have to port Xlib based rendering to Cairo (yay!).
Here is GLMatrix running as a regular, windowed application on Wayland, using the toytoolkit:
On Wayland, screensavers can be reduced to pure animation applications, while the compositor handles everything about locking. Next, we need a Wayland protocol extension to actually use this idle-animation in a screensaver'y way.
GLMatrix is already in the Wayland demo repository as a client called wscreensaver, and it requires cairo-gl, just like gears does.
Here is GLMatrix running as a regular, windowed application on Wayland, using the toytoolkit:
![]() |
| GLMatrix on the Wayland demo compositor. |
GLMatrix is already in the Wayland demo repository as a client called wscreensaver, and it requires cairo-gl, just like gears does.
Labels:
screensaver,
wayland
21 Nov 2011
Screen locking in Wayland
This is continuation to my Wayland desktop-shell post.
My goal was to implement a simple screen locking feature, a similar idea to what xlockmore does for X. In Wayland it is much simpler and more reliable to implement than in X, because the implementation will be in the display server (compositor). While the "lock" itself is in the compositor, also an unlock dialog is required. The unlock dialog usually asks the user to input his password, but I settled for "click the green ball". Screenshots below...
My goal was to implement a simple screen locking feature, a similar idea to what xlockmore does for X. In Wayland it is much simpler and more reliable to implement than in X, because the implementation will be in the display server (compositor). While the "lock" itself is in the compositor, also an unlock dialog is required. The unlock dialog usually asks the user to input his password, but I settled for "click the green ball". Screenshots below...
Labels:
wayland
Wayland misconceptions: Window
There are many misconceptions about Wayland, and I want to try to correct one. Let's start with the statement:
There is no object in the Wayland protocol that corresponds to Window in X.
Surprised? We need to take a step back to explain what that really means, and I will do it with the help of an example of a complex application: Firefox.
There is no object in the Wayland protocol that corresponds to Window in X.
Surprised? We need to take a step back to explain what that really means, and I will do it with the help of an example of a complex application: Firefox.
Subscribe to:
Posts (Atom)

