jhyuni.kang
c59595e964
Support wl_touch and send wl_touch events to client
...
Summary:
Currently enlightenment-wayland support pointer and keyboard events.(in input)
So I added EVAS_CALLBACK_MULTI_* event handler and hanling functions for wl_touch interface.
This code send wl_touch events to client like a pointer event.
Test Plan:
In wayland + enlightenment environment, generate multi touch events.
The enlightenment will be send wl_touch events to client.
Reviewers: raster, devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2482
2015-05-13 12:05:57 -04:00
Chris Michael
6d2c8c46da
wl-drm: Start on making the RandR config dialog usable in drm
...
NB: 'Apply' does not function yet, needs another API or 2 in ecore_drm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:44:50 -04:00
Chris Michael
0a94e8ba71
enlightenment: Make E build again with EFL from git
...
sed -i 's/EAPI/E_API/g'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz
a080769d5a
remove rest of ecore-drm usage from wl-drm randr info grabbing
...
this was not an optimal solution since only connected outputs are
tracked/available to ecore-drm, so now the module uses libdrm for everything
2015-04-23 13:47:05 -04:00
Mike Blumenkrantz
2894bae445
add read-only randr iface for wl drm output module
...
mostly just reads stuff right out of libdrm for now. seems to display mostly as expected.
no applying yet, and only connected+active monitors will display since that's all ecore-drm
tracks for now
try using ecore-drm, they said. it'll be easier than using libdrm, they said.
2015-04-22 21:21:58 -04:00
Mike Blumenkrantz
1eb6bb20b3
move canvas init after wl init in output modules
...
ensure that randr screens have been created
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz
e64998b042
resize comp canvas on e_comp_canvas_init()
...
remove unnecessary call in wl drm output module
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz
e1181c4d03
create e_comp during e_comp_init, set comp_type automatically
...
this simplifies comp creation slightly
2015-04-22 21:18:53 -04:00
Chris Michael
57191576db
wl-drm: We need to set the compositor pointer values After wl_comp_data has been created else we crash
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-22 10:42:33 -04:00
Chris Michael
37223908a6
Revert "wl-drm: Set initial compositor pointer values base on ecore_evas_pointer_position"
...
This reverts commit 16e9126302
.
Reverting this due to crash
2015-04-22 10:41:13 -04:00
Chris Michael
16e9126302
wl-drm: Set initial compositor pointer values base on ecore_evas_pointer_position
...
This addresses the issue of initial compositor pointer values not
being proper. They are 0,0 on startup, however things like ecore_drm
will center the mouse on startup. The e_comp pointer values should
reflect this.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-22 09:41:23 -04:00
Chris Michael
51290c273c
wl-drm: Use ecore_evas_new with an engine name rather than direct ecore_evas_drm_new calls
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 11:45:20 -04:00
Chris Michael
3ddad83f79
wl-drm: If we end up using software_drm, then override elm preferences (ala X compositor)
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 16:01:39 -04:00
Chris Michael
ca6c46d0c8
wl-drm: Hook into ecore_evas_resize callback to update comp canvas
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 15:59:59 -04:00
Chris Michael
3b3a47f5ce
wl-drm: Remove output event handler when we shutdown
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 15:57:55 -04:00
Chris Michael
8fc1c5583e
wl-drm: Remove need for extra E_Comp variable
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 15:57:09 -04:00
Chris Michael
7855cbea0e
wl-drm: Add more debugging during output hotplug events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-21 16:30:36 -04:00
Mike Blumenkrantz
24887ddccc
move comp fake layer init into canvas init for non-X compositors
2015-03-20 15:12:59 -04:00
Mike Blumenkrantz
9986311035
move E_Comp->root window setting into e_comp_wl_init() for wl compositors
2015-03-20 15:08:28 -04:00
Mike Blumenkrantz
58447e9508
completely remove E_Manager
...
the final step in flattening all the canvas/screen apis
2015-03-19 16:53:32 -04:00
Mike Blumenkrantz
0ddedd09a4
wl compile fixes
2015-03-13 20:09:54 -04:00
Mike Blumenkrantz
1736d1ecb9
e_client functions no longer require E_Comp param
2015-03-13 16:53:19 -04:00
Mike Blumenkrantz
d00127c2f5
e_comp functions no longer require E_Comp param
2015-03-13 16:48:41 -04:00
Mike Blumenkrantz
1fe1c94245
comp canvas functions no longer require an E_Comp param
2015-03-13 16:07:08 -04:00
Mike Blumenkrantz
91edd1ce2f
E_CLIENT_*FOREACH() macros no longer take a E_Comp param
2015-03-13 15:45:07 -04:00
Mike Blumenkrantz
e1394afdff
wl drm output module must set comp gl state more pedantically
2015-03-12 13:44:34 -04:00
Chris Michael
d89681fa3c
create wl_outputs when in wayland-only mode
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-24 13:27:56 -05:00
Derek Foreman
7aa0ff24c7
Provide wl_output events on hotplug
...
Summary:
Clients that have bound wl_output now receive wl_output events on hotplug
NOTE: We don't handle removal yet
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2008
2015-02-19 14:49:21 -05:00
Chris Michael
f69dcf9181
call e_manager_new with the proper root window so that keybindings on
...
the desktop work
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-04 12:33:04 -05:00
Chris Michael
63dc694f56
wl_drm: Fix creation of the ecore_evas_gl_drm
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-15 13:29:43 -05:00
kabeer khan
d1e90c3af7
wl_drm: create ecore_evas for drm gl backend
...
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1871
2015-01-15 13:27:52 -05:00
Chris Michael
a8b4717fdf
fix issue where wayland modules were always creating a new compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 13:04:04 -05:00
Seunghun Lee
c61efa7c55
wl_drm: Add event handler for session activation signal.
...
Summary:
Compositor need to change the compositing mode to offscreen or render state depend on session activation state.
this patch is for it.
Test Plan:
(1) Run enlightenment on X.
(2) Change another VT.
(3) Run enlightenment on wayland and drm.
(4) Change the VT to enlightenment which is ran (1).
enlightenment on wayland will not render during session deactivation state.
Reviewers: zmike, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1816
2015-01-05 09:09:59 -05:00
Stefan Schmidt
5e4cdb9064
modules/wl_drm: Remove trailing whitespaces
2014-09-19 09:52:58 +02:00
Chris Michael
31045f715b
bugfix: wl-drm: Fix hard-coded screen size of the ecore_evas
...
NB: This makes use of newly added ecore_evas_screen_geometry_get of
the ecore_evas_drm code in order to get the current screen size and
adjust the ecore_evas accordingly.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 10:05:59 -04:00
Mike Blumenkrantz
3b649534c9
Fix building Enlightenment for X11-only, Wayland-Only, and X11 with Wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Additional authors: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
07b6052db1
wl_drm: Add short block to mark setup for drm egl rendering
...
When the new drm hw accel engine is ready, we can replace this little
bit of code and have hardware-accelerated drm.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
eafb4ce000
use Eina_Bool for true/false values
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00
Chris Michael
79599394da
update various files for compositor structure changes
...
- X compositor
- shell module
- drm module
- x11 module
2014-08-26 10:10:35 -04:00
Chris Michael
ff06207d9c
make keymap match what drm uses by default
...
NB: this is all in the process of getting fixed...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
f031705442
update wl_x11 and wl_desktop_shell for new compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
5c322c40c4
@bugfix: Set ecore_wayland into 'server mode' before we call init so
...
that it does not stall and we end up sitting forever.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael
645cb48dd5
@bugfix: Check return of e_comp_wl_init and initialize ecore_wl library
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael
a32d74d1c7
@feature: Add new drm compositing module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Christopher Michael
7ffbf6ef25
E (wl_drm): Update drm module for most recent wayland git. Use
...
wl_signal_add, remove timestamps where not used anymore, make use of
wayland 'serial'. Fix destroy_listeners for new wayland code.
SVN revision: 70446
2012-04-24 17:24:59 +00:00
Christopher Michael
648f558aa8
E17 (wayland): Add wayland drm compositing module.
...
Add wayland shell module.
Add wayland screenshot module.
NB: I am adding these modules but NOT adding the needed build
infrastructure just yet because people should not even 'play' with
this yet (still some buggers to iron out).
SVN revision: 69709
2012-03-29 01:43:17 +00:00