Commit Graph

23 Commits

Author SHA1 Message Date
Tiago Vignatti
ce03ec3fbe evdev: new header file for the driver
Besides the new header file, there's also a change in the main evdev creation
procedure for a more suggestive name (evdev_input_add_devices ->
evdev_input_create). There's no real functional changes in this commit.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-12-19 01:14:03 +02:00
Ander Conselvan de Oliveira
ef7c8d9ddf compositor-*: check for surfaceless_gles2 instead of surfaceless_opengl
All the compositors are using GLES2 so check for the appropriate
surfaceless extension.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
2011-11-01 11:18:39 -04:00
Benjamin Franzke
c18366d1e9 compositor-openwfd: Fix tty assignment in backend_init 2011-10-07 08:33:08 +02:00
Kristian Høgsberg
96aa7da24a Change remaining GPLv2 headers to MIT
The files in question are copyright Benjamin Franzke (who agrees),
Intel Corporation, Red Hat and myself.  On behalf of Red Hat,
Richard Fontana says:

   "Therefore, to the extent that Red Hat, Inc. has any copyright
    interest in the files you cited as of this date (compositor-drm.c,
    compositor.c, compositor.h, screenshooter.c in
    http://cgit.freedesktop.org/wayland/wayland-demos/tree/compositor),
    Red Hat hereby elects to apply the CC0 1.0 Universal Public Domain
    Dedication to such copyrighted material.  See:
    http://creativecommons.org/publicdomain/zero/1.0/legalcode .

    Thanks,
    Richard E. Fontana
    Open Source Licensing and Patent Counsel
    Red Hat, Inc."
2011-09-19 17:29:24 -04:00
Tiago Vignatti
faee80196f compositor: choose tty from command line
This is a backend option, so you should use something like '-otty='.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-09-01 16:07:07 -04:00
Benjamin Franzke
91eacca38b Remove egl display type setenv hack
No longer needed with mesa 7.12-devel egl display autodetection.
2011-08-31 16:25:18 -04:00
Benjamin Franzke
4c394190a3 compositor-openwfd: Fix wfd_destroy_output
Dont (incorrectly) call destroy_output
from wfd_destroy_output, rather merge both.
2011-08-31 16:24:20 -04:00
Matt Roper
361d2ade02 Update compositor shutdown code
Adds a general wlsc_compositor_shutdown() function that all output
backends call when shutting down.  wlsc_compositor_shutdown() will call
a new 'destroy' method of each output to perform backend-specific
cleanup (e.g., turning off the hardware cursor in the DRM compositor).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
2011-08-29 17:12:27 -04:00
Benjamin Franzke
7fb56b3ebc compositor-openwfd: Update to systemd seat input devices 2011-07-21 10:27:39 -07:00
Benjamin Franzke
8e9e6264c1 openwfd: Combine native_resolution/rect/width,height into union 2011-06-24 13:43:08 +02:00
Benjamin Franzke
9b1f2d2e8e compositor-openwfd: Expose physical size 2011-06-24 13:13:34 +02:00
Benjamin Franzke
259037d1d8 compositor-openwfd: Expose all modes 2011-06-24 13:08:31 +02:00
Benjamin Franzke
060cf805bb Use gbm for compositor-{drm,openwfd} 2011-06-23 21:25:37 +02:00
Benjamin Franzke
41402f8ec6 compositor-openwfd: Update to mode changes
This is just to have it running again.
Todo: Expose all modes, subpixel..
2011-06-23 16:12:17 +02:00
Egbert Eich
e7b8d9055e compositor: Set EGL_PLATFORM env variable for each backend.
I may have missed something, but - since the Wayland compositor
already picks a platform backend, opens a connection and initializes the
backend specific display data structure it doesn't make sense
to let egl pick a platform. If it picks a different one the
display specific data structure will most likely not match.
Thus determine the platform in the Wayland rendering backend by setting
the EGL_PLATFORM env variable.
For the client any other platform than 'wayland' doesn't seem to make
sense.
I'm not sure if I've got the the platform ofr openfwd right.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
2011-05-10 16:42:08 -04:00
Benjamin Franzke
f2de6c7ba0 compositor-openwfd: Update to tty, cursor and cflags changes 2011-05-06 23:17:11 +02:00
Benjamin Franzke
f64c66106f compositor-openwfd: Fixup backend split 2011-05-04 16:18:31 -04:00
Benjamin Franzke
e28f84b7d8 compositor-openwfd: Use wfd_device_id as drm fd
owfdrm uses non-0 (0 == WFD_INVALID_DEVICE_ID) fd's as wfd_device_ids.
This is not standardized, but also not invalid.
2011-04-28 21:36:01 +02:00
Benjamin Franzke
e5b3b2601c Cast fd's to intptr_t before casting to EGLNativeDisplay
Fixes warnings on 64bit.

Also use wlsc_compositor::destroy_image in compositor-openwfd.
2011-04-26 11:18:43 -04:00
Kristian Høgsberg
b5819dc61d compositor: Stop using EGL_EGLEXT_PROTOTYPES and look up extension functions 2011-04-25 15:35:05 -04:00
Kristian Høgsberg
b31d7d7423 compositor-openwfd: Fix event handler return type 2011-04-22 14:05:32 -04:00
Benjamin Franzke
e649fac2d8 compositor-openwfd: Fixup rebase 2011-04-20 20:16:25 +02:00
Benjamin Franzke
5d00709931 compositor: Add OpenWF Display backend 2011-04-20 17:53:47 +02:00