platform/upstream/wayland.git
14 years agoPort compositor to GLES2
Kristian Høgsberg [Mon, 7 Jun 2010 02:23:21 +0000 (22:23 -0400)]
Port compositor to GLES2

14 years agoMake clients at least compile for now
Kristian Høgsberg [Sat, 5 Jun 2010 14:17:55 +0000 (10:17 -0400)]
Make clients at least compile for now

14 years agoUpdate udev rules to work with new udev
Kristian Høgsberg [Sat, 5 Jun 2010 02:23:53 +0000 (22:23 -0400)]
Update udev rules to work with new udev

14 years agoMake compositor compile and port it to new mesa extensions
Kristian Høgsberg [Sat, 5 Jun 2010 02:14:28 +0000 (22:14 -0400)]
Make compositor compile and port it to new mesa extensions

14 years agoRename wayland-system-compositor back to just compositor
Kristian Høgsberg [Sat, 5 Jun 2010 01:52:02 +0000 (21:52 -0400)]
Rename wayland-system-compositor back to just compositor

14 years agoMove clients to subdirectory
Kristian Høgsberg [Sat, 5 Jun 2010 01:46:50 +0000 (21:46 -0400)]
Move clients to subdirectory

14 years agoFix passing the height in resize_window
nobled [Thu, 25 Mar 2010 23:47:11 +0000 (19:47 -0400)]
Fix passing the height in resize_window

Otherwise the attr_list's height value is left at 0.

14 years agoFix a couple of typos in rotation matrix
Kristian Høgsberg [Mon, 8 Mar 2010 22:16:01 +0000 (17:16 -0500)]
Fix a couple of typos in rotation matrix

14 years agoSwitch to using mesa EGL
Kristian Høgsberg [Wed, 3 Mar 2010 14:54:29 +0000 (09:54 -0500)]
Switch to using mesa EGL

14 years agoImport Eric Anholts hash table implementation
Kristian Høgsberg [Fri, 26 Feb 2010 16:42:59 +0000 (11:42 -0500)]
Import Eric Anholts hash table implementation

Adapted from git://people.freedesktop.org/~anholt/hash_table.

14 years agoAdd wl_list_for_each() and simplify some loops
Kristian Høgsberg [Fri, 26 Feb 2010 15:28:44 +0000 (10:28 -0500)]
Add wl_list_for_each() and simplify some loops

14 years agoReplace cairo_drm_device_t with cairo_device_t
Janusz Lewandowski [Sun, 31 Jan 2010 02:01:26 +0000 (03:01 +0100)]
Replace cairo_drm_device_t with cairo_device_t

14 years agoUse FBOs instead of eagle-specific API
Kristian Høgsberg [Sun, 24 Jan 2010 23:10:15 +0000 (18:10 -0500)]
Use FBOs instead of eagle-specific API

14 years agoRequire libdrm 2.4.17 for page flip API
Kristian Høgsberg [Mon, 21 Dec 2009 15:36:21 +0000 (10:36 -0500)]
Require libdrm 2.4.17 for page flip API

14 years agoStop using surface::copy in window
Kristian Høgsberg [Mon, 21 Dec 2009 15:04:53 +0000 (10:04 -0500)]
Stop using surface::copy in window

14 years agowindow: factor out surface attachment code
Kristian Høgsberg [Wed, 16 Dec 2009 19:43:37 +0000 (14:43 -0500)]
window: factor out surface attachment code

14 years agoUse new page flip API
Kristian Høgsberg [Wed, 16 Dec 2009 18:18:12 +0000 (13:18 -0500)]
Use new page flip API

15 years agoSet an drop drm master on enter and leave vt
Kristian Høgsberg [Thu, 1 Oct 2009 20:43:54 +0000 (16:43 -0400)]
Set an drop drm master on enter and leave vt

This way we can vt switch between wayland and X.

15 years agoUpdate TODO
Kristian Høgsberg [Thu, 1 Oct 2009 03:14:19 +0000 (23:14 -0400)]
Update TODO

15 years agoAdd color scheme support
Kristian Høgsberg [Mon, 28 Sep 2009 17:08:50 +0000 (13:08 -0400)]
Add color scheme support

15 years agoLight up multiple outputs when possible
Kristian Høgsberg [Mon, 21 Sep 2009 20:00:17 +0000 (16:00 -0400)]
Light up multiple outputs when possible

Multihead is still a little confused, but this is a first step.

15 years agoMake connector option actually work
Kristian Høgsberg [Mon, 21 Sep 2009 19:10:24 +0000 (15:10 -0400)]
Make connector option actually work

15 years agoMake gears track focus
Kristian Høgsberg [Mon, 21 Sep 2009 17:47:53 +0000 (13:47 -0400)]
Make gears track focus

15 years agoAdd a simple PDF viewer
Kristian Høgsberg [Mon, 21 Sep 2009 17:46:45 +0000 (13:46 -0400)]
Add a simple PDF viewer

15 years agoTweak theme a bit
Kristian Høgsberg [Mon, 21 Sep 2009 17:43:46 +0000 (13:43 -0400)]
Tweak theme a bit

15 years agoTerminate on Ctrl-Alt-Backspace
Kristian Høgsberg [Fri, 18 Sep 2009 21:29:49 +0000 (17:29 -0400)]
Terminate on Ctrl-Alt-Backspace

So that 10 years from now we can have a huge flamewar about it.

15 years agoRemove surfaces when destroyed, refocus pointer
Kristian Høgsberg [Fri, 18 Sep 2009 21:05:13 +0000 (17:05 -0400)]
Remove surfaces when destroyed, refocus pointer

15 years agoSelect the right fb on enter_vt
Kristian Høgsberg [Fri, 18 Sep 2009 21:04:20 +0000 (17:04 -0400)]
Select the right fb on enter_vt

15 years agoOnly raise surface on click, not release
Kristian Høgsberg [Fri, 18 Sep 2009 21:03:18 +0000 (17:03 -0400)]
Only raise surface on click, not release

15 years agoSupport running on a specified KMS connector
Kristian Høgsberg [Fri, 18 Sep 2009 21:02:41 +0000 (17:02 -0400)]
Support running on a specified KMS connector

15 years agoAdd function to remove surfaces from client
Kristian Høgsberg [Fri, 18 Sep 2009 21:00:37 +0000 (17:00 -0400)]
Add function to remove surfaces from client

15 years agoAdd a hash remove implementation
Kristian Høgsberg [Fri, 18 Sep 2009 20:57:55 +0000 (16:57 -0400)]
Add a hash remove implementation

15 years agoImplement user_data for surface
Kristian Høgsberg [Fri, 18 Sep 2009 13:49:21 +0000 (09:49 -0400)]
Implement user_data for surface

Not sure if we need more than one piece of user_data per surface.
And this should be a general feature of any proxy object.

15 years agoExport list implementation
Kristian Høgsberg [Fri, 18 Sep 2009 13:47:34 +0000 (09:47 -0400)]
Export list implementation

15 years agoDrop sessions for now
Kristian Høgsberg [Sun, 13 Sep 2009 01:09:02 +0000 (21:09 -0400)]
Drop sessions for now

15 years agoFix gears rotation for high timestamp values
Kristian Høgsberg [Sun, 13 Sep 2009 01:08:48 +0000 (21:08 -0400)]
Fix gears rotation for high timestamp values

15 years agoTweak repaint timeout to 5ms after vblank
Kristian Høgsberg [Sat, 12 Sep 2009 20:57:02 +0000 (16:57 -0400)]
Tweak repaint timeout to 5ms after vblank

Reduces risk of flicker, but we need something better here.

15 years agoFix surface copy by using FBOs
Kristian Høgsberg [Sat, 12 Sep 2009 20:42:07 +0000 (16:42 -0400)]
Fix surface copy by using FBOs

15 years agoDont use an image surface for the tmp
Kristian Høgsberg [Sat, 12 Sep 2009 19:58:48 +0000 (15:58 -0400)]
Dont use an image surface for the tmp

It may have a incompatible stride and there's no point
in using a cairo surface for this.

15 years agoAlways repaint out of vsync callback.
Kristian Høgsberg [Fri, 14 Aug 2009 15:15:18 +0000 (11:15 -0400)]
Always repaint out of vsync callback.

15 years agoTerminate on Super-Backspace.
Kristian Høgsberg [Fri, 14 Aug 2009 09:53:50 +0000 (05:53 -0400)]
Terminate on Super-Backspace.

It's almost like Ctrl-Alt-Backspace!

15 years agoUpdate to track the cairo_drm_device_t rename
Kristian Høgsberg [Fri, 29 May 2009 00:23:31 +0000 (20:23 -0400)]
Update to track the cairo_drm_device_t rename

15 years agoUpdate gears example to latest eagle API changes
Kristian Høgsberg [Thu, 28 May 2009 00:07:38 +0000 (20:07 -0400)]
Update gears example to latest eagle API changes

15 years agoUpdate to use new eagle API and drm page flipping
Kristian Høgsberg [Wed, 27 May 2009 21:47:15 +0000 (17:47 -0400)]
Update to use new eagle API and drm page flipping

15 years agoFactor out session switching stuff to struct wlsc_session.
Kristian Høgsberg [Tue, 17 Mar 2009 20:12:51 +0000 (16:12 -0400)]
Factor out session switching stuff to struct wlsc_session.

15 years agoCreate front buffer with eagle.
Kristian Høgsberg [Wed, 11 Mar 2009 03:40:35 +0000 (23:40 -0400)]
Create front buffer with eagle.

This removes the intel dependencies from the system compositor.

15 years agoTrim include list.
Kristian Høgsberg [Wed, 11 Mar 2009 03:19:46 +0000 (23:19 -0400)]
Trim include list.

15 years agoDont crash when surfaces and clients disappear
Kristian Høgsberg [Wed, 11 Mar 2009 03:17:00 +0000 (23:17 -0400)]
Dont crash when surfaces and clients disappear

Set up a notification system, so we get a callback when a client and its
surfaces disappear and can drop references the lost surface.

15 years agoSend key array when losing focus too.
Kristian Høgsberg [Sat, 7 Mar 2009 02:25:21 +0000 (21:25 -0500)]
Send key array when losing focus too.

The compositor tracks this anyway, and the client will typically need
this to post key release events and adjust modifier status.

15 years agoAllocate GL front buffer through eagle instead of cairo.
Kristian Høgsberg [Sat, 7 Mar 2009 02:24:01 +0000 (21:24 -0500)]
Allocate GL front buffer through eagle instead of cairo.

15 years agoRenable blurred dropshadows and fix call to blur_surface().
Kristian Høgsberg [Thu, 5 Mar 2009 12:49:42 +0000 (07:49 -0500)]
Renable blurred dropshadows and fix call to blur_surface().

15 years agoUpdate modifier state on focus in and out.
Kristian Høgsberg [Tue, 24 Feb 2009 03:37:14 +0000 (22:37 -0500)]
Update modifier state on focus in and out.

15 years agoInclude the currently pressed keys in keyboard focus event.
Kristian Høgsberg [Tue, 24 Feb 2009 03:30:29 +0000 (22:30 -0500)]
Include the currently pressed keys in keyboard focus event.

15 years agoterminal: trim unused headers.
Kristian Høgsberg [Tue, 24 Feb 2009 02:06:05 +0000 (21:06 -0500)]
terminal: trim unused headers.

15 years agoPaint terminal cursor hollow when focus is lost.
Kristian Høgsberg [Mon, 23 Feb 2009 04:01:35 +0000 (23:01 -0500)]
Paint terminal cursor hollow when focus is lost.

15 years agoDon't close the pty master in forkpty child.
Kristian Høgsberg [Mon, 23 Feb 2009 03:30:10 +0000 (22:30 -0500)]
Don't close the pty master in forkpty child.

15 years agoAdd keyboard and pointer focus events.
Kristian Høgsberg [Mon, 23 Feb 2009 02:51:24 +0000 (21:51 -0500)]
Add keyboard and pointer focus events.

15 years agoRemove spurious unused local variable.
Kristian Høgsberg [Mon, 23 Feb 2009 01:59:44 +0000 (20:59 -0500)]
Remove spurious unused local variable.

15 years agoAdd new surfaces to client hash table.
Kristian Høgsberg [Mon, 23 Feb 2009 01:58:29 +0000 (20:58 -0500)]
Add new surfaces to client hash table.

15 years agoHandle marshalling NULL objects.
Kristian Høgsberg [Mon, 23 Feb 2009 01:57:57 +0000 (20:57 -0500)]
Handle marshalling NULL objects.

15 years agoRename pointer_surface to sprite in wlsc_surface.
Kristian Høgsberg [Mon, 23 Feb 2009 00:19:47 +0000 (19:19 -0500)]
Rename pointer_surface to sprite in wlsc_surface.

15 years agoDraw terminal cursor.
Kristian Høgsberg [Sat, 21 Feb 2009 20:42:25 +0000 (15:42 -0500)]
Draw terminal cursor.

15 years agoAdd an image viewer client
Chris Wilson [Sat, 21 Feb 2009 20:22:06 +0000 (15:22 -0500)]
Add an image viewer client

15 years agoMove keymap to window.c
Kristian Høgsberg [Sat, 21 Feb 2009 19:31:09 +0000 (14:31 -0500)]
Move keymap to window.c

15 years agoUse chooser instead of hardcoded fbconfig in gears.c.
Kristian Høgsberg [Mon, 16 Feb 2009 05:26:22 +0000 (00:26 -0500)]
Use chooser instead of hardcoded fbconfig in gears.c.

15 years agoTrack drm modesetting api changes (grr).
Kristian Høgsberg [Mon, 16 Feb 2009 03:37:03 +0000 (22:37 -0500)]
Track drm modesetting api changes (grr).

15 years agoDon't forget to transform coordinates for the grab surface.
Kristian Høgsberg [Sat, 14 Feb 2009 22:47:55 +0000 (17:47 -0500)]
Don't forget to transform coordinates for the grab surface.

15 years agoRe-init link when removing animation.
Kristian Høgsberg [Wed, 11 Feb 2009 00:48:47 +0000 (19:48 -0500)]
Re-init link when removing animation.

15 years agoDon't crash when there's no primary surface.
Kristian Høgsberg [Tue, 10 Feb 2009 23:30:14 +0000 (18:30 -0500)]
Don't crash when there's no primary surface.

15 years agoFix surface coordinate transformation.
Kristian Høgsberg [Tue, 10 Feb 2009 23:29:24 +0000 (18:29 -0500)]
Fix surface coordinate transformation.

15 years agoAdd surface animation framework, implement fullscreen surface switcher.
Kristian Høgsberg [Tue, 10 Feb 2009 19:20:26 +0000 (14:20 -0500)]
Add surface animation framework, implement fullscreen surface switcher.

15 years agoRead connection events in screenshot.c
Kristian Høgsberg [Tue, 10 Feb 2009 19:15:44 +0000 (14:15 -0500)]
Read connection events in screenshot.c

15 years agoAdd a per-surface matrix.
Kristian Høgsberg [Mon, 9 Feb 2009 20:17:46 +0000 (15:17 -0500)]
Add a per-surface matrix.

23 years agoFix flower client.
Kristian Høgsberg [Tue, 2 Jan 2001 04:44:10 +0000 (23:44 -0500)]
Fix flower client.

23 years agoQuit compositor on eject key press.
Kristian Høgsberg [Tue, 2 Jan 2001 03:24:24 +0000 (22:24 -0500)]
Quit compositor on eject key press.

23 years agoSwitch to using a projective transformation.
Kristian Høgsberg [Tue, 2 Jan 2001 03:23:51 +0000 (22:23 -0500)]
Switch to using a projective transformation.

15 years agoAdd a crazy rambling style TODO file.
Kristian Høgsberg [Fri, 6 Feb 2009 03:59:16 +0000 (22:59 -0500)]
Add a crazy rambling style TODO file.

15 years agoAdd a toy-display object that caches state.
Kristian Høgsberg [Tue, 27 Jan 2009 04:42:46 +0000 (23:42 -0500)]
Add a toy-display object that caches state.

This will be GdkDisplay for GTK+ on Wayland etc.  This restores
the terminal fullscreen mode.

15 years agoFinish egl_* to wlsc_* rename.
Kristian Høgsberg [Tue, 27 Jan 2009 04:07:00 +0000 (23:07 -0500)]
Finish egl_* to wlsc_* rename.

15 years agoUse glReadPixels() for the screen shooter
Kristian Høgsberg [Tue, 27 Jan 2009 03:54:40 +0000 (22:54 -0500)]
Use glReadPixels() for the screen shooter

"Those who don't understand OpenGL are bound to reimplement it badly..."

15 years agoDepend on udev 136 and clean up some code.
Kristian Høgsberg [Tue, 27 Jan 2009 02:38:14 +0000 (21:38 -0500)]
Depend on udev 136 and clean up some code.

15 years agoOnly tag the card0 device with seat info for now.
Kristian Høgsberg [Tue, 27 Jan 2009 02:37:29 +0000 (21:37 -0500)]
Only tag the card0 device with seat info for now.

15 years agoDrop libdrm CFLAGS where no longer necessary.
Kristian Høgsberg [Fri, 16 Jan 2009 13:13:00 +0000 (08:13 -0500)]
Drop libdrm CFLAGS where no longer necessary.

15 years agoSwitch to cairo-drm, drop struct buffer hacks.
Kristian Høgsberg [Thu, 15 Jan 2009 16:37:43 +0000 (11:37 -0500)]
Switch to cairo-drm, drop struct buffer hacks.

15 years agoFix udev rules install rule.
Kristian Høgsberg [Fri, 16 Jan 2009 12:47:28 +0000 (07:47 -0500)]
Fix udev rules install rule.

15 years agoInitialize output position properly.
Kristian Høgsberg [Thu, 15 Jan 2009 16:44:35 +0000 (11:44 -0500)]
Initialize output position properly.

15 years agoRandomize flower offset again.
Kristian Høgsberg [Thu, 15 Jan 2009 17:45:49 +0000 (12:45 -0500)]
Randomize flower offset again.

15 years agoUpdate to track udev API change in eagle.
Kristian Høgsberg [Thu, 15 Jan 2009 17:50:21 +0000 (12:50 -0500)]
Update to track udev API change in eagle.

15 years agoAdd wayland udev rules file.
Kristian Høgsberg [Wed, 31 Dec 2008 21:24:16 +0000 (16:24 -0500)]
Add wayland udev rules file.

15 years agoSplit out per-output state, use libudev for enumerating hardware.
Kristian Høgsberg [Wed, 31 Dec 2008 21:18:42 +0000 (16:18 -0500)]
Split out per-output state, use libudev for enumerating hardware.

This paves the way for proper multi-head support and removes more
hardcoded i965 defaults by using udev to discover output devices
and their PCI IDs.

15 years agoUse libudev for enumerating input devices.
Kristian Høgsberg [Tue, 30 Dec 2008 19:31:33 +0000 (14:31 -0500)]
Use libudev for enumerating input devices.

15 years agoAdd listener interfaces for output and input_device objects.
Kristian Høgsberg [Tue, 30 Dec 2008 16:03:33 +0000 (11:03 -0500)]
Add listener interfaces for output and input_device objects.

15 years agoUse a more generic glob for input devices.
Kristian Høgsberg [Tue, 30 Dec 2008 15:53:20 +0000 (10:53 -0500)]
Use a more generic glob for input devices.

15 years agoAdd client side demarshalling for events.
Kristian Høgsberg [Thu, 25 Dec 2008 00:30:25 +0000 (19:30 -0500)]
Add client side demarshalling for events.

This also consolidates the marshalling code in connection.c and
uses the same functions in the server and client for marshalling.

15 years agoTrack objects client side using a hash too.
Kristian Høgsberg [Mon, 22 Dec 2008 23:06:49 +0000 (18:06 -0500)]
Track objects client side using a hash too.

This leads up to using the demarshal machinery for decoding events
in the client library.

15 years agoAdd a proxy for the server side output object.
Kristian Høgsberg [Mon, 22 Dec 2008 21:37:07 +0000 (16:37 -0500)]
Add a proxy for the server side output object.

15 years agoAdd a fullscreen mode to the terminal.
Kristian Høgsberg [Mon, 22 Dec 2008 17:14:50 +0000 (12:14 -0500)]
Add a fullscreen mode to the terminal.

15 years agoAdd hook to allow globals to send cold-plug events to new clients.
Kristian Høgsberg [Mon, 22 Dec 2008 04:37:12 +0000 (23:37 -0500)]
Add hook to allow globals to send cold-plug events to new clients.

This lets us boot strap the client side state cache.  This commit also adds the first user
of this feature, an output object that represents the current output.  Very simple
at this point, but will grow to something more like RandR 1.2.

15 years agoAlso check for interface version wl_display_get_object_id().
Kristian Høgsberg [Mon, 22 Dec 2008 03:50:32 +0000 (22:50 -0500)]
Also check for interface version wl_display_get_object_id().

15 years agoSend client id range as an event.
Kristian Høgsberg [Mon, 22 Dec 2008 03:45:33 +0000 (22:45 -0500)]
Send client id range as an event.

This also makes the server send the event again when the client is
about to exhaust its current client range.