Commit Graph

7 Commits

Author SHA1 Message Date
Kristian Høgsberg
18fb78307b Use struct buffer from cairo-util.c in flower.c. 2008-11-25 22:53:28 -05:00
Kristian Høgsberg
1cbaa6abac Use glib main loop for all clients. 2008-11-07 15:54:48 -05:00
Kristian Høgsberg
fb59084fbf Add glib main loop integration, use it in flower client. 2008-11-07 14:27:23 -05:00
Kristian Høgsberg
3f59e82c20 Use GL_ONE for the source in glBendFunc instead of pre-unmultiplying.
Eventually we need to allow both pre-multiplied alpha and not, but for now default to premultiplied.
2008-11-06 10:53:02 -05:00
Kristian Høgsberg
1b2f4390f5 Unpremultiply cairo surface data. 2008-11-06 10:53:02 -05:00
Kristian Høgsberg
d3fa34ca29 Don't use poll timeout for timing animation.
Receiving events breaks out of the poll and resets the time out.
Effectively, this blocks the animation when the client receives events.
As a quick fix, use timerfd for timing the animation.
2008-11-06 10:53:02 -05:00
Kristian Høgsberg
e120a4b1ee Rename client, prepare Makefile for more clients. 2008-11-06 10:51:59 -05:00