Commit Graph

161 Commits

Author SHA1 Message Date
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
Chris Michael 55ab9a8a39 fix resizing wayland clients by sending configure message if client is
Not maximized.

Apparently I broke resize when fixing maximize ... uggg.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 06:15:25 -04:00
Chris Michael 011600b54d Don't resend a configure event after resize is done. This is part of a
xdg_shell maximize fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-06 15:56:48 -04:00
Chris Michael c27ba8b8c2 e-comp-wl: Update compositor for new xdg shell protocol
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Stefan Schmidt 99f9244d1c e_comp_wl: Remove unused variable and mark parameter as unused. 2014-09-05 11:54:45 +02:00
Chris Michael b92b34621c e-comp-wl: Remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 12:50:41 -04:00
vivek ded8356fc7 e_comp_wl: Handle surface opaque region in subsurface commit from cache
Summary: When we commit a subsurface from cache, we should adjust the
client's shape rectangles so that they get applied when rendering.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1412
2014-09-04 12:49:54 -04:00
MinJeong Kim 73ce914020 Check whether attached buffer exists, before using it.
Summary:
Because attached buffer can be NULL for removing surface content,
check of pending.buffer should be done before getting resource value of the buffer.

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1370
2014-08-27 08:26:38 -04:00
Chris Michael 78bcbfff35 trap return value of shm_buffer_get
This function Can fail to return an shm_buffer if the buffer_resource
is an EGL buffer.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 14:06:57 -04:00
Chris Michael 559d53bc5d Add checks for client being a wl pixmap in some functions
If we don't do this, then when we run in X11 with wl client support,
we crash in various places (iconify, etc) when trying to work with
normal X clients.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:39 -04:00