Commit Graph

16746 Commits

Author SHA1 Message Date
Chris Michael 2093443237 Shell work to get popup menus functional
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 10:01:55 +01:00
Chris Michael b0678e5152 Add pointer_grab_start and end functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 07:30:21 +01:00
Chris Michael 188f472a0d Start on getting menus to show.
Add map_popup function

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:37:58 +01:00
Chris Michael e37f590619 Use E_Input for popup seat.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:37:39 +01:00
Chris Michael 274120f4c4 Send mouse move and mouse up/down events.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:13:11 +01:00
Chris Michael f541032c3d Handle passing along pointer button events
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:12:45 +01:00
Chris Michael cf495efaf3 Add grab fields to pointer structure
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:12:27 +01:00
Chris Michael 248bbf22b5 Remove mouse_move_send function
NB: This is really only needed (for now) in the X11 compositor

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 17:03:42 +01:00
Chris Michael 448af16831 Add e_order to build order.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 16:46:48 +01:00
Chris Michael df8c0a6533 Comment out unused variable
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 16:46:48 +01:00
Chris Michael e353385acb Initialize variables.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 16:46:48 +01:00
Chris Michael c322573793 Start to process mouse down & up events ... Prelude to working menus ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 15:02:24 +01:00
Chris Michael be68f0e840 Add event handler for mouse_move (from X) so we can pass this along to
wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:51:07 +01:00
Chris Michael caeae50db3 Set surface's resource client to NULL initially
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:50:38 +01:00
Chris Michael eadce5e382 Don't init e_scale and e_theme until we have our interfaces bound
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:50:15 +01:00
Chris Michael 390dd4a7e2 More work on getting input to function
Setup pointer grabs and the grab interface
Add functions to set pointer focus and to send mouse move events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:49:22 +01:00
Chris Michael e8aba44ff7 Add function to find a surface based on x/y
Use wl_display_terminate instead of destroy

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:48:44 +01:00
Chris Michael 1e24d7e730 Intialize input on the compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:04:38 +01:00
Chris Michael 8c20469d34 Add a seat to the compositor for input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:04:22 +01:00
Chris Michael 3bd70f214e Add e_input files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:04:01 +01:00
Chris Michael 2350671766 Add e_input to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:03:45 +01:00
Chris Michael cdcf01fe4e Add e_input to includes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:03:37 +01:00
Chris Michael 194b10c2ff Setup data_device for compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:03:19 +01:00
Chris Michael 5c2d03b3aa Destroy the renderer on output creation failure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 07:08:55 +01:00
Chris Michael ee2e852673 Add renderer destroy function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 07:07:31 +01:00
Chris Michael c351ba68eb if we have already loaded the comp module, get out.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-11 16:43:09 +01:00
Chris Michael a47f3ba8fd Better trapping for already loaded comp module.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-11 16:42:47 +01:00
Chris Michael 245cc2164a Remove debug messages.
Fix creating output image with proper depth

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 14:55:38 +01:00
Chris Michael 49ba7f2157 Big giant "e18-wayland-only starting to work" commit so I can continue
from home.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 14:54:50 +01:00
Chris Michael 90eb77b42e Remove unused code.
Fix creation of hardware surface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:22:11 +01:00
Chris Michael 2946f63664 Remove unused fields from output structure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:21:54 +01:00
Chris Michael 9841131e1c Assign an output to a surface when we map it
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:21:31 +01:00
Chris Michael 5af1978ef3 Add output_assign function
Initialize bounding region of surface
Add some debug printfs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:18:14 +01:00
Chris Michael 438102e98c Add bounding region to surface structure
Add output_mask to surface structure
Add output_assign function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:17:51 +01:00
Chris Michael 03c8995828 Add/Remove some debugging statements
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:17:06 +01:00
Chris Michael 3408b13dcc Add e_output_damage function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:16:49 +01:00
Chris Michael feadd8a535 Add e_output_damage function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:16:36 +01:00
Chris Michael 2bd2063aa6 Assocate test rectangle with the ecore_evas
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:16:19 +01:00
Chris Michael 1c51e65942 Initialize surface bounding region on creation
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:16:00 +01:00
Chris Michael f882da7f3f Big giant rendering commit from work so I can continue from home.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 14:52:17 +01:00
Chris Michael e50261ae34 Big giant rendering commit from work so I can continue at home.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 14:51:56 +01:00
Chris Michael ef6225a87c Create a renderer during compositor init
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:52:10 +01:00
Chris Michael b7e87dab89 Add gles2 headers
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:51:49 +01:00
Chris Michael e83086287f Add renderer to the compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:51:31 +01:00
Chris Michael ea11ca564b Add shader and renderer to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:51:21 +01:00
Chris Michael a2551b75c5 Add shader and renderer to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:51:04 +01:00
Chris Michael f1a2fdc10f Add files for renderer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:50:54 +01:00
Chris Michael d93921bc23 Add e_shader
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:50:42 +01:00
Chris Michael 4d003429c6 Include proper header for eldbus
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:08:17 +01:00
Chris Michael 941d03a466 Change to eldbus
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 07:07:38 +01:00