Commit Graph

170 Commits

Author SHA1 Message Date
Chris Michael 59c9f5f89f fetch pixmap id in opaque & input region set functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 12:20:44 -04:00
Chris Michael 4b251d783c add listener for comp_object_add event so we can setup evas callbacks
for a client.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 12:18:50 -04:00
Chris Michael 3f2b228715 fix typo
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:44:46 -04:00
Chris Michael 06cce58dee update todo
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:39:41 -04:00
Chris Michael d1eb4efb9b cleanup any pending input regions when we delete the client
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:39:03 -04:00
Chris Michael fa54829913 cleanup any pending opaque regions when we delete the client
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:38:39 -04:00
Chris Michael cfca760b59 cleanup any remaning damage rectangles when we delete the client
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:37:45 -04:00
Chris Michael 3d0298f411 add some comments about fetching resource data
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:32:13 -04:00
Chris Michael 5d6b5a4d47 update resource data comment
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:29:25 -04:00
Chris Michael f934b05fb1 add code to handle pending input regions during surface commit
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:26:18 -04:00
Chris Michael 55032dd3f1 add code to handle pending opaque regions during surface commit
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:25:51 -04:00
Chris Michael 6dc40f5dc5 add code to handle pending damages during surface commit
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:24:59 -04:00
Chris Michael c42b2df50e add code to handle setting surface input region
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:24:03 -04:00
Chris Michael 88533db92b add code to handle setting surface opaque region
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:23:41 -04:00
Chris Michael 096cfb14bb Add code to handle setting surface damages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:22:58 -04:00
Chris Michael 8a78f31cf3 add code to handle regions (creating, destroying, setting)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-16 11:21:33 -04:00
Chris Michael fbe78bea04 Start on surface commit code and improve some debugging messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 10:44:10 -04:00
Chris Michael 8cd8e4e313 add hooks for client delete
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 08:07:56 -04:00
Chris Michael 76e1c8e953 add code to hook the client new event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 08:01:14 -04:00
Chris Michael da2049b052 Add code to create the clients window hash
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 06:57:16 -04:00
Chris Michael dea5237a9b Implement code for surfaced attach
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 06:54:45 -04:00
Chris Michael a914c73c63 Fix compile errors. Implement start of buffer code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 06:53:45 -04:00
Chris Michael a76224c464 unset pixmap resource when surface resource is destroyed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-15 02:47:56 -04:00
Chris Michael 4ae74022b5 add call to delete fd handler when we close the compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 17:46:07 -04:00
Chris Michael 8064450f0f add start of surface implementation code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 17:44:56 -04:00
Chris Michael 8987766a87 start on actual compositor interface code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 15:17:56 -04:00
Chris Michael 4cdac5d4ef Fix printing of wayland log output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 15:12:17 -04:00
Chris Michael dda7ac875f Fix missing variable compiler warning
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:57:22 -04:00
Chris Michael c241e6a928 add call to shutdown Ecore_Wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:53:06 -04:00
Chris Michael d91ebb709b add code to initialize Ecore_Wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:52:20 -04:00
Chris Michael bca192e51d set compositor wayland data
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:50:58 -04:00
Chris Michael 85548eeb9e add code to setup input & keyboard if we are using an X compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:50:27 -04:00
Chris Michael dba6cf2be5 add code to initialze input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:49:05 -04:00
Chris Michael 86e1444725 add code to initialize data manager
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:47:32 -04:00
Chris Michael 8258a6b3b8 add code to load desktop shell module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:44:21 -04:00
Chris Michael edf004bbf4 add code to integrate wayland event loop with ecore_main loop
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:40:02 -04:00
Chris Michael 7a40ee2674 add function call to initialize shm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:21:48 -04:00
Chris Michael 3ac71aa20c rename compositor delete callback
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:21:02 -04:00
Chris Michael d9f920721a add code to create and bind the wayland compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:20:33 -04:00
Chris Michael a6f3eb35ac add code to setup wayland compositor signals
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:13:22 -04:00
Chris Michael a1c5075dc8 add code to create wayland display socket
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:12:32 -04:00
Chris Michael 213e20c864 add code to create new wayland display
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:09:58 -04:00
Chris Michael c7d87c1631 add code to setup wayland logging function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:07:38 -04:00
Chris Michael 2c987f146b add functions to create new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 14:03:15 -04:00
Chris Michael 933b1f68b5 set comp_gl if we have the correct engines available
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 13:53:25 -04:00
Chris Michael be9161369c add start of new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 13:52:26 -04:00
Chris Michael ce8a7e21ce remove old wayland compositor file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 12:31:15 -04:00
Chris Michael b072a54499 e-comp-wl: Reduce calls to wayland protocol functions. These are not
needed here and just waste extra cycles.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:49:52 -04:00
Chris Michael ab6add8375 e-comp-wl: Support wl_display_add_socket_auto function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:48:53 -04:00
Chris Michael f882845b2d e-comp-wl: Send the resource as data to the surface_create signal
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:47:23 -04:00