profile/ivi/weston-ivi-shell.git
13 years agocompositor: put console into KD_GRAPHICS mode at vt enter time
Jesse Barnes [Mon, 8 Nov 2010 19:51:12 +0000 (11:51 -0800)]
compositor: put console into KD_GRAPHICS mode at vt enter time

This will keep the kernel from changing graphics state out from under us
(e.g. blanking).

13 years agoBring gears example up to date
Kristian Høgsberg [Mon, 8 Nov 2010 20:45:55 +0000 (15:45 -0500)]
Bring gears example up to date

Must have gears.

13 years agoFixed a bogus call to cairo_destroy
Johan Bilien [Sun, 7 Nov 2010 14:52:11 +0000 (09:52 -0500)]
Fixed a bogus call to cairo_destroy

13 years agoFix Wayland build instructions
Nikolai Kondrashov [Mon, 8 Nov 2010 09:59:53 +0000 (12:59 +0300)]
Fix Wayland build instructions

Replace aclocal; autoconf invocation in Wayland build instructions with
an up-to-date ./autogen.sh invocation.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
13 years agoInstall and dist udev rules file
Kristian Høgsberg [Mon, 8 Nov 2010 13:54:35 +0000 (08:54 -0500)]
Install and dist udev rules file

13 years agoUpdate autotools configuration
Javier Jardón [Sat, 6 Nov 2010 00:55:27 +0000 (01:55 +0100)]
Update autotools configuration

Use new libtool syntax and cleaning the code a bit

13 years agoAdd /wayland so we pick up generated header files
Kristian Høgsberg [Sun, 31 Oct 2010 18:24:39 +0000 (14:24 -0400)]
Add /wayland so we pick up generated header files

Reported by Benjamin Franzke.

13 years agoWorkaround an xcb-dri2 bug.
Chia-I Wu [Fri, 29 Oct 2010 07:20:18 +0000 (15:20 +0800)]
Workaround an xcb-dri2 bug.

xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken.  It
only works when the length of the driver name is a multiple of 4.

13 years agoMake sure there is a current context.
Chia-I Wu [Fri, 29 Oct 2010 07:20:17 +0000 (15:20 +0800)]
Make sure there is a current context.

The context of a display is shared with the cairo device.
cairo_acquire_device should be called whenever OpenGL calls are made.

13 years agoUse glTexSubImage to update the pixels.
Chia-I Wu [Fri, 29 Oct 2010 07:20:16 +0000 (15:20 +0800)]
Use glTexSubImage to update the pixels.

glTexImage causes respecification.  The DRM buffer a client renders to
will be different from that used to create the wl_buffer.

13 years agoList libtoytoolkit.la before libwayland-client.la on the link line
Kristian Høgsberg [Wed, 27 Oct 2010 19:02:51 +0000 (15:02 -0400)]
List libtoytoolkit.la before libwayland-client.la on the link line

Fixes link order for --as-needed linking.

13 years agoAdd a geometry option for x11 compositor
Kristian Høgsberg [Tue, 26 Oct 2010 15:26:44 +0000 (11:26 -0400)]
Add a geometry option for x11 compositor

13 years agoAdd small client for testing shm surfaces
Kristian Høgsberg [Tue, 26 Oct 2010 04:02:20 +0000 (00:02 -0400)]
Add small client for testing shm surfaces

13 years agoFall back to cairo image backend and shm surface if we don't have cairo gl
Kristian Høgsberg [Mon, 25 Oct 2010 15:40:03 +0000 (11:40 -0400)]
Fall back to cairo image backend and shm surface if we don't have cairo gl

13 years agoRemove leftover of fds_in_tail hack
Kristian Høgsberg [Mon, 25 Oct 2010 14:28:23 +0000 (10:28 -0400)]
Remove leftover of fds_in_tail hack

It's breaking the case of multiple fds in one buffer.

13 years agoPlug in no-op drm buffer attach function
Kristian Høgsberg [Sat, 16 Oct 2010 02:47:09 +0000 (22:47 -0400)]
Plug in no-op drm buffer attach function

13 years agoDelete leftover makefile debugging
Kristian Høgsberg [Tue, 12 Oct 2010 22:04:57 +0000 (18:04 -0400)]
Delete leftover makefile debugging

13 years agoUse automake
Kristian Høgsberg [Tue, 12 Oct 2010 21:24:20 +0000 (17:24 -0400)]
Use automake

13 years agoAdd more cursors from the DMZ theme
Kristian Høgsberg [Tue, 12 Oct 2010 19:48:29 +0000 (15:48 -0400)]
Add more cursors from the DMZ theme

13 years agoFix clients include path after moving files around
Kristian Høgsberg [Tue, 12 Oct 2010 17:53:13 +0000 (13:53 -0400)]
Fix clients include path after moving files around

13 years agoUse GL_BGRA_EXT for shm texture uploads
Kristian Høgsberg [Fri, 8 Oct 2010 13:32:55 +0000 (09:32 -0400)]
Use GL_BGRA_EXT for shm texture uploads

13 years agoA couple more TODO items
Kristian Høgsberg [Fri, 8 Oct 2010 12:58:51 +0000 (08:58 -0400)]
A couple more TODO items

13 years agoAdd a shm buffer sharing mechanism
Kristian Høgsberg [Thu, 7 Oct 2010 01:17:40 +0000 (21:17 -0400)]
Add a shm buffer sharing mechanism

13 years agoFix EGLImageKHR leak in wl_buffer destroy
Kristian Høgsberg [Fri, 24 Sep 2010 14:01:18 +0000 (10:01 -0400)]
Fix EGLImageKHR leak in wl_buffer destroy

13 years agoFix screenshoot.c type in Makefile
Kristian Høgsberg [Fri, 17 Sep 2010 13:04:46 +0000 (09:04 -0400)]
Fix screenshoot.c type in Makefile

13 years agoAdd autogen.sh
Kristian Høgsberg [Thu, 16 Sep 2010 13:10:17 +0000 (09:10 -0400)]
Add autogen.sh

13 years agoUse scanner to generate screenshooter client code as well
Kristian Høgsberg [Tue, 14 Sep 2010 20:23:24 +0000 (16:23 -0400)]
Use scanner to generate screenshooter client code as well

13 years agoUse scanner for screenshooter protocol
Kristian Høgsberg [Tue, 14 Sep 2010 19:53:32 +0000 (15:53 -0400)]
Use scanner for screenshooter protocol

13 years agoscanner: Use protocol name for #include guards
Kristian Høgsberg [Tue, 14 Sep 2010 19:52:43 +0000 (15:52 -0400)]
scanner: Use protocol name for #include guards

13 years agoAdd timestamp to pointer image attach request
Kristian Høgsberg [Tue, 14 Sep 2010 19:39:45 +0000 (15:39 -0400)]
Add timestamp to pointer image attach request

This lets the server discard requests received after the pointer has
exited and the re-entered a surface.

13 years agoConsolidate notes from a few files in TODO
Kristian Høgsberg [Tue, 14 Sep 2010 17:44:37 +0000 (13:44 -0400)]
Consolidate notes from a few files in TODO

13 years agoConsolidate NOTES and README
Kristian Høgsberg [Tue, 14 Sep 2010 16:41:26 +0000 (12:41 -0400)]
Consolidate NOTES and README

13 years agoCopy over updated build instructions from the google group
Kristian Høgsberg [Tue, 14 Sep 2010 15:25:55 +0000 (11:25 -0400)]
Copy over updated build instructions from the google group

13 years agoMove core protocol libraries into wayland/ subdirectory
Kristian Høgsberg [Tue, 14 Sep 2010 15:13:18 +0000 (11:13 -0400)]
Move core protocol libraries into wayland/ subdirectory

13 years agoMove example compositor to subdirectory
Kristian Høgsberg [Tue, 14 Sep 2010 14:45:00 +0000 (10:45 -0400)]
Move example compositor to subdirectory

13 years agoAdd support for more types of input devices
Kristian Høgsberg [Mon, 13 Sep 2010 20:23:52 +0000 (16:23 -0400)]
Add support for more types of input devices

Well, maybe not support, but we at least recognize touchpads and touchscreens
and try to work with them.

13 years agoRemove non-gles2 glEnable(GL_TEXTURE_2D) call
Kristian Høgsberg [Fri, 10 Sep 2010 12:51:09 +0000 (08:51 -0400)]
Remove non-gles2 glEnable(GL_TEXTURE_2D) call

13 years agoMarshall NULL strings correctly
Kristian Høgsberg [Wed, 8 Sep 2010 02:15:22 +0000 (22:15 -0400)]
Marshall NULL strings correctly

13 years agoChange debug format to not confuse object id and message parameters
Kristian Høgsberg [Wed, 8 Sep 2010 02:06:54 +0000 (22:06 -0400)]
Change debug format to not confuse object id and message parameters

13 years agoDont post damage event from window_copy_surface
Kristian Høgsberg [Wed, 8 Sep 2010 02:01:32 +0000 (22:01 -0400)]
Dont post damage event from window_copy_surface

We always call this between window_draw() and attaching the window surface
so the surface we're copying to isn't visible.

13 years agoOnly set pointer image when it changes
Kristian Høgsberg [Wed, 8 Sep 2010 01:50:06 +0000 (21:50 -0400)]
Only set pointer image when it changes

13 years agoLog emitted events as well in debug mode
Kristian Høgsberg [Wed, 8 Sep 2010 01:40:31 +0000 (21:40 -0400)]
Log emitted events as well in debug mode

13 years agoReturn the closure from wl_connection_vmarshal()
Kristian Høgsberg [Wed, 8 Sep 2010 01:34:45 +0000 (21:34 -0400)]
Return the closure from wl_connection_vmarshal()

And provide a function to write it to a connection.

13 years agoDrop wl_surface_post_event() helper
Kristian Høgsberg [Wed, 8 Sep 2010 01:08:59 +0000 (21:08 -0400)]
Drop wl_surface_post_event() helper

Now wl_client_post_event() is the only entry point for sending out events.

13 years agoFill out a closure when sending events as well
Kristian Høgsberg [Wed, 8 Sep 2010 00:57:40 +0000 (20:57 -0400)]
Fill out a closure when sending events as well

13 years agoFix integer signedness and fd size confusion
Kristian Høgsberg [Tue, 7 Sep 2010 21:03:17 +0000 (17:03 -0400)]
Fix integer signedness and fd size confusion

13 years agoDemarshal all arguments from protocol buffer
Kristian Høgsberg [Tue, 7 Sep 2010 21:00:34 +0000 (17:00 -0400)]
Demarshal all arguments from protocol buffer

13 years agoKeep strings and arrays in the buffer when demarshalling
Kristian Høgsberg [Tue, 7 Sep 2010 19:51:41 +0000 (15:51 -0400)]
Keep strings and arrays in the buffer when demarshalling

Avoids the malloc+copy, and is a step towards using the closure for
marshalling too.

13 years agoSend terminating nul character when sending strings
Kristian Høgsberg [Tue, 7 Sep 2010 19:33:56 +0000 (15:33 -0400)]
Send terminating nul character when sending strings

13 years agoMove marshal/demarshal buffer into struct wl_closure
Kristian Høgsberg [Tue, 7 Sep 2010 19:26:39 +0000 (15:26 -0400)]
Move marshal/demarshal buffer into struct wl_closure

13 years agoAdd protocol debugging facility
Kristian Høgsberg [Tue, 7 Sep 2010 14:58:19 +0000 (10:58 -0400)]
Add protocol debugging facility

13 years agoTODO editing
Kristian Høgsberg [Tue, 7 Sep 2010 14:58:03 +0000 (10:58 -0400)]
TODO editing

13 years agoUpdate TODO
Kristian Høgsberg [Sat, 4 Sep 2010 02:04:35 +0000 (22:04 -0400)]
Update TODO

13 years agoDrop wl_display_set_compositor() special case
Kristian Høgsberg [Fri, 3 Sep 2010 19:15:33 +0000 (15:15 -0400)]
Drop  wl_display_set_compositor() special case

13 years agoReplace commit/ack/frame protocol with simpler sync and frame callbacks
Kristian Høgsberg [Fri, 3 Sep 2010 18:46:38 +0000 (14:46 -0400)]
Replace commit/ack/frame protocol with simpler sync and frame callbacks

13 years agoAdd convenience functions for posting display events
Kristian Høgsberg [Fri, 3 Sep 2010 00:55:16 +0000 (20:55 -0400)]
Add convenience functions for posting display events

13 years agoGet rid of wl_client_add_surface() special case
Kristian Høgsberg [Fri, 3 Sep 2010 00:27:16 +0000 (20:27 -0400)]
Get rid of wl_client_add_surface() special case

13 years agoUse a transient object for the dnd session
Kristian Høgsberg [Fri, 3 Sep 2010 00:22:42 +0000 (20:22 -0400)]
Use a transient object for the dnd session

13 years agoFix const warning
Kristian Høgsberg [Wed, 1 Sep 2010 21:18:33 +0000 (17:18 -0400)]
Fix const warning

13 years agoReturn a closure object from wl_connection_demarshal
Kristian Høgsberg [Mon, 30 Aug 2010 13:47:36 +0000 (09:47 -0400)]
Return a closure object from wl_connection_demarshal

This way we can invoke it multiple times without having to demarshal
and build the cfi every time.

13 years agoflower: Clear surface
Kristian Høgsberg [Mon, 30 Aug 2010 12:21:44 +0000 (08:21 -0400)]
flower: Clear surface

13 years agoAdd options to specify xkb details
Kristian Høgsberg [Mon, 30 Aug 2010 01:33:39 +0000 (21:33 -0400)]
Add options to specify xkb details

13 years agoRemove debug message
Kristian Høgsberg [Mon, 30 Aug 2010 01:12:25 +0000 (21:12 -0400)]
Remove debug message

13 years agoProvide visual feedback as to whether drop is supported
Kristian Høgsberg [Sat, 28 Aug 2010 02:18:00 +0000 (22:18 -0400)]
Provide visual feedback as to whether drop is supported

Change the cursor in response to target events.

13 years agoHandle NULL mime-type in drag::accept request
Kristian Høgsberg [Sat, 28 Aug 2010 02:17:13 +0000 (22:17 -0400)]
Handle NULL mime-type in drag::accept request

13 years agoMarshall NULL strings without crashing
Kristian Høgsberg [Sat, 28 Aug 2010 02:16:50 +0000 (22:16 -0400)]
Marshall NULL strings without crashing

13 years agoUpdate drag protocol to use fd passing for data transfer
Kristian Høgsberg [Sat, 28 Aug 2010 00:29:56 +0000 (20:29 -0400)]
Update drag protocol to use fd passing for data transfer

13 years agoSupport marshalling of file descriptors
Kristian Høgsberg [Fri, 27 Aug 2010 01:49:44 +0000 (21:49 -0400)]
Support marshalling of file descriptors

13 years agoconnection: Factor out circular buffer functionality
Kristian Høgsberg [Thu, 26 Aug 2010 21:44:31 +0000 (17:44 -0400)]
connection: Factor out circular buffer functionality

13 years agoAsk for glesv2, not gl for compositor in configure.ac
Kristian Høgsberg [Thu, 26 Aug 2010 16:13:43 +0000 (12:13 -0400)]
Ask for glesv2, not gl for compositor in configure.ac

13 years agoUse sendmsg/recvmsg for socket I/O
Kristian Høgsberg [Wed, 25 Aug 2010 21:11:29 +0000 (17:11 -0400)]
Use sendmsg/recvmsg for socket I/O

13 years agoSet pointer image only in response to 'target' event
Kristian Høgsberg [Wed, 25 Aug 2010 20:34:05 +0000 (16:34 -0400)]
Set pointer image only in response to 'target' event

13 years agoA few makefile/autoconf fixes
Kristian Høgsberg [Wed, 25 Aug 2010 17:38:40 +0000 (13:38 -0400)]
A few makefile/autoconf fixes

13 years agoUpdate to EGL_MESA_drm_image from mesa master
Kristian Høgsberg [Tue, 24 Aug 2010 21:34:23 +0000 (17:34 -0400)]
Update to EGL_MESA_drm_image from mesa master

Woo, running on stock mesa now.

13 years agoTODO editing
Kristian Høgsberg [Tue, 24 Aug 2010 21:34:15 +0000 (17:34 -0400)]
TODO editing

13 years agoMore work on dnd
Kristian Høgsberg [Thu, 19 Aug 2010 21:26:02 +0000 (17:26 -0400)]
More work on dnd

13 years agoAdd clean target for data/ so make clean works again
Kristian Høgsberg [Thu, 19 Aug 2010 00:45:43 +0000 (20:45 -0400)]
Add clean target for data/ so make clean works again

13 years agoActually add dnd client
Kristian Høgsberg [Thu, 19 Aug 2010 00:31:06 +0000 (20:31 -0400)]
Actually add dnd client

13 years agoAdd a drag and drop test client
Kristian Høgsberg [Wed, 18 Aug 2010 19:28:04 +0000 (15:28 -0400)]
Add a drag and drop test client

13 years agoFirst step towards drag and drop protocol
Kristian Høgsberg [Wed, 18 Aug 2010 01:23:10 +0000 (21:23 -0400)]
First step towards drag and drop protocol

13 years agoAdd missing drm.c
Kristian Høgsberg [Wed, 18 Aug 2010 18:51:26 +0000 (14:51 -0400)]
Add missing drm.c

13 years agoAlways consume message, even if no proxy was found
Kristian Høgsberg [Tue, 17 Aug 2010 17:50:06 +0000 (13:50 -0400)]
Always consume message, even if no proxy was found

Doh.

13 years agoSplit GRAB_MOTION and GRAB_MOVE handling
Kristian Høgsberg [Tue, 17 Aug 2010 17:14:24 +0000 (13:14 -0400)]
Split GRAB_MOTION and GRAB_MOVE handling

13 years agoInsert unexplainable cairo_device_flush() to fix terminal drawing
Kristian Høgsberg [Tue, 17 Aug 2010 01:08:52 +0000 (21:08 -0400)]
Insert unexplainable cairo_device_flush() to fix terminal drawing

13 years agoAdd client side pointer image handling
Kristian Høgsberg [Mon, 16 Aug 2010 21:47:07 +0000 (17:47 -0400)]
Add client side pointer image handling

13 years agoFix a few bugs in compositor cursor handling
Kristian Høgsberg [Mon, 16 Aug 2010 21:46:25 +0000 (17:46 -0400)]
Fix a few bugs in compositor cursor handling

13 years agoRemove duplicate #define ARRAY_LENGTH
Kristian Høgsberg [Mon, 16 Aug 2010 20:45:36 +0000 (16:45 -0400)]
Remove duplicate #define ARRAY_LENGTH

13 years agoAdd DMZ cursor theme
Kristian Høgsberg [Mon, 16 Aug 2010 20:43:03 +0000 (16:43 -0400)]
Add DMZ cursor theme

Some day we can make this parse X cursor themes

13 years agoFix warnings
Kristian Høgsberg [Mon, 16 Aug 2010 20:24:19 +0000 (16:24 -0400)]
Fix warnings

13 years agoMove cairo-util.[ch] to clients/
Kristian Høgsberg [Mon, 16 Aug 2010 20:17:42 +0000 (16:17 -0400)]
Move cairo-util.[ch] to clients/

13 years agoUse different cursor images in the compositor
Kristian Høgsberg [Mon, 16 Aug 2010 20:08:12 +0000 (16:08 -0400)]
Use different cursor images in the compositor

13 years agoAdd protocol for setting the pointer image
Kristian Høgsberg [Mon, 16 Aug 2010 14:38:29 +0000 (10:38 -0400)]
Add protocol for setting the pointer image

13 years agoDrop noisy warning
Kristian Høgsberg [Fri, 13 Aug 2010 14:39:57 +0000 (10:39 -0400)]
Drop noisy warning

13 years agoSchedule repaint from surface destructor
Kristian Høgsberg [Wed, 11 Aug 2010 12:56:47 +0000 (08:56 -0400)]
Schedule repaint from surface destructor

Not just the surface_destroy protocol entry points.

13 years agoName libraries -client and -server for consistency
Kristian Høgsberg [Tue, 10 Aug 2010 18:12:05 +0000 (14:12 -0400)]
Name libraries -client and -server for consistency

Instead of wayland-server and wayland...

13 years agoDon't track globals in the client lib, just send out events
Kristian Høgsberg [Tue, 10 Aug 2010 18:02:48 +0000 (14:02 -0400)]
Don't track globals in the client lib, just send out events

Users of the client library must install an global handler to get access
to globals.

13 years agoGenerate the wl_*_add_listener() stubs as well
Kristian Høgsberg [Tue, 10 Aug 2010 14:53:44 +0000 (10:53 -0400)]
Generate the wl_*_add_listener() stubs as well

13 years agoUpdate TODO
Kristian Høgsberg [Tue, 10 Aug 2010 14:07:26 +0000 (10:07 -0400)]
Update TODO

13 years agoImplement current drm auth scheme in the drm object
Kristian Høgsberg [Tue, 10 Aug 2010 02:11:47 +0000 (22:11 -0400)]
Implement current drm auth scheme in the drm object

13 years agoGenerate client side marshal stubs from protocol spec
Kristian Høgsberg [Tue, 10 Aug 2010 01:25:50 +0000 (21:25 -0400)]
Generate client side marshal stubs from protocol spec