Commit Graph

21 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 9e307f8b5f Some cleanup
Emit frame signal on output

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-09 18:38:20 +01:00
Chris Michael e0df793db0 Cleanup some unused variables.
When we repaint outputs, subtract any damaged regions for the plane.
Start work on actual buffer attach to surface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-07 15:04:50 +01:00
Chris Michael f4d2a802ae Start on output repaint function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-07 13:31:17 +01:00
Chris Michael fb2e3f9c92 Add code to output repaint start function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-07 12:29:32 +01:00
Chris Michael c436a18eec Fix passing wrong variable to repaint function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-07 10:42:36 +01:00
Chris Michael ce80e9fbc3 Add changes from home.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-06 13:28:30 +01:00
Chris Michael 058a561fe2 Rename _e_comp variable so as not to cause problems with the global one.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:31:26 +01:00
Chris Michael 0bd7def0f8 Send the X display to e_compositor_init so we can initialize EGL.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:04:20 +01:00
Chris Michael 461fee2f90 Add event handler for X window destroy
Add call to set icccm protocol so we get notifed of X window destroy.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:30 +01:00
Chris Michael 708ab95cbc Add code to initialize and shutdown an output.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:30 +01:00
Chris Michael 8da383be03 Set title of "Xephyr-like" window.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:28 +01:00
Chris Michael ff0e58b604 Add comment about loop dispatch
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:28 +01:00
Chris Michael bb99a10f0f Add start of X11 compositor module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00