Commit Graph

4696 Commits

Author SHA1 Message Date
Kristian Høgsberg
2f2cfae227 Factor out common cairo code, add blur function. 2008-11-08 23:09:51 -05:00
Kristian Høgsberg
e4feb56316 Make window prettier again. 2008-11-08 18:53:37 -05:00
Kristian Høgsberg
30749426dc Tweak pointer image a bit. 2008-11-08 16:01:59 -05:00
Kristian Høgsberg
b7a01928be Add prototypes warnings, use -fvisibility. 2008-11-08 15:49:49 -05:00
Kristian Høgsberg
f099fd24a3 Use the eagle pkg-config file instead of assuming ../eagle. 2008-11-08 15:30:41 -05:00
Kristian Høgsberg
78231c8dd0 Implement surface copy request, use it for egl gears. 2008-11-08 15:06:01 -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
7f77bd8fbe Add copy and damage surface requests. 2008-11-07 08:39:37 -05:00
Kristian Høgsberg
5503bf82c4 dlopen the compositor, add a glx compositor. 2008-11-06 10:53:03 -05:00
Kristian Høgsberg
61ba898b73 README: Add link to google group. 2008-11-06 10:53:03 -05:00
Kristian Høgsberg
56f3c71f8c Add a FIXME for when we have a working fbconfig chooser. 2008-11-06 10:53:03 -05:00
Kristian Høgsberg
b8bf19b7a9 Clear depth buffer, but only depth buffer for gears. 2008-11-06 10:53:03 -05:00
Kristian Høgsberg
8a9cda8cfb Add the gears from glxgears. 2008-11-06 10:53:03 -05:00
Kristian Høgsberg
33a52bd07d Add README for the adventurous, allow evdev override from getenv(). 2008-11-06 10:53:02 -05:00
Kristian Høgsberg
35370f8073 Redraw window in idle handler. 2008-11-06 10:53:02 -05:00
Kristian Høgsberg
2d9cd1ee51 Use eglBindTexImage instead of copying texture data. 2008-11-06 10:53:02 -05:00
Kristian Høgsberg
ca1d1f65d0 Make window client a little more interesting. 2008-11-06 10:53:02 -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
61017b190a Add a window client, first implementation of surface resizing. 2008-11-06 10:53:02 -05:00
Kristian Høgsberg
2a20d83fdb Always poll on display fd so we only read when there's data. 2008-11-06 10:53:02 -05:00
Kristian Høgsberg
6b5e7626f5 Move background drawing to a client. 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
5a27f3e6a7 Add a new client that draws a pointer. 2008-11-06 10:52:14 -05:00
Kristian Høgsberg
e120a4b1ee Rename client, prepare Makefile for more clients. 2008-11-06 10:51:59 -05:00
Kristian Høgsberg
f9bc795a7d Add crude input device support.
Just pointer motion and button clicks for now, broadcast to all clients.
2008-11-06 10:51:59 -05:00
Kristian Høgsberg
362a34ed89 Drop unused struct definition. 2008-11-06 10:51:59 -05:00
Kristian Høgsberg
c508d93be2 Update for eagle changes. 2008-11-06 10:51:59 -05:00
Kristian Høgsberg
23fceb1cf3 Add note about fullscreen surfaces, misc edits. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
d311e8a061 Make clients graphics use lighter random colors. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
48a33baec7 Use triangle strips for drawing surfaces. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
a234e70268 Make test client a little more interesting. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
94a2e86dcb Track client objects and destroy them on disconnect.
We're going to need a virtual destructor eventually...
2008-11-06 10:51:58 -05:00
Kristian Høgsberg
ef7a9ca8c9 Run compositor fullscreen, repaint when surfaces come and go. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
19a0ac25b9 Add notes on throttling, scheduling and atomicity. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
5ebb317383 Recomposite screen in idle handler. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
f921289954 Handle multiple clients better. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
16eb675399 Add an EGL compositor. Still pretty lame. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
427524aedf Use new connection object in client code too. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
680f1c7025 Split out connection io buffer logic. 2008-11-06 10:51:58 -05:00
Kristian Høgsberg
c5089878cb Make in and out circular buffers actually work. 2008-11-06 10:51:57 -05:00
Kristian Høgsberg
05eff51e41 Add surface.map request. 2008-11-06 10:51:43 -05:00
Kristian Høgsberg
a67a71a7cf Bunch of new stuff: simple compositor, cairo+gem use in client, events. 2008-10-07 10:10:36 -04:00
Kristian Høgsberg
33bea964ca More NOTES. 2008-09-30 22:21:49 -04:00
Kristian Høgsberg
97f1ebe8d5 Initial commit.
This has the basic event loop, and a first cut of the libffi dispatcher.
2008-09-30 09:56:42 -04:00