Commit Graph

16764 Commits

Author SHA1 Message Date
Chris Michael 52f21c4a64 Add e_surface files to build.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:41 +01:00
Chris Michael e79d2caaec Add e_surface header to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:30 +01:00
Chris Michael 296ee0018d Add shell interface to compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:15 +01:00
Chris Michael 3eef8b7202 Comment out egl canvas for now.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:31:58 +01:00
Chris Michael 3837e4c442 Add start of surface code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:31:42 +01:00
Chris Michael 59db3c7b89 Add code to load the shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:26:13 +01:00
Chris Michael e37bf7ab0b Add checks for wl_desktop module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:23:52 +01:00
Chris Michael c657cf2852 Add wl_desktop to makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:23:42 +01:00
Chris Michael 8bfd741611 Add desktop edj file and module.desktop file.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:19:30 +01:00
Chris Michael c4378ce23d Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:19:13 +01:00
Chris Michael e09c94949f Add makefile for wl_desktop module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:18:55 +01:00
Chris Michael 6d9b6dc97e Add shell_interface type.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:14:19 +01:00
Chris Michael 4290891c73 Add container_of function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:49:30 +01:00
Chris Michael b4fbebcd09 Whitelist wl_desktop module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:39:31 +01:00
Chris Michael 58b03d351d Actually, do not return success unless the module was enabled.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:33:37 +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 fe802a2ca3 Remove old shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:24:25 +01:00
Chris Michael 8d4e3827b1 Add code for pointer canvas create and hotspot moving.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:22:54 +01:00
Chris Michael de21d14a9d Add ecore_evas to pointer structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:22:45 +01:00
Chris Michael b0c1244430 Add e_shell to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:12:15 +01:00
Chris Michael dee81285f3 Add start of e_shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:11:56 +01:00
Chris Michael 346851b424 Add e_shell_init/shutdown prototypes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:11:43 +01:00
Chris Michael 82b01815ab Add e_shell header to build
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:08:46 +01:00
Chris Michael 49bca8fd79 Add e_shell to include headers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:08:38 +01:00
Chris Michael d135216825 Add start of e_shell header.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:08:04 +01:00
Chris Michael dbc1cc64bd Add code to call e_shell_init during startup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:07:07 +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 6b67d98884 Add idle_after and idle_flush handlers.
During startup, we need to wait for the wayland interfaces to get
bound (else we cannot create a canvas), so add a handler to listen for
the bound event.
Add code to freeze/thaw containers on startup.
Initialize e_container inside screens_init.
Create new containers inside screens_init.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:01:50 +01:00
Chris Michael 73e217bd65 Change e_manager_new to accept an unsigned int.
During e_manager_show/hide add code to handle e_containers also.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:00:59 +01:00
Chris Michael 23e0821161 Make 'num' an unsigned int.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:00:41 +01:00
Chris Michael 1043a7ccfc Modify e_compositor_init function prototype.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:00:05 +01:00
Chris Michael b6dd15b8bd Add global compositor variable.
Change e_compositor_init to accept a display variable that we can pass
to EGLInit.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:59:30 +01:00
Chris Michael db98e6972c Add e_container header to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:59:14 +01:00
Chris Michael 991995bbd2 Add e_container to build.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:58:59 +01:00
Chris Michael a5f21832dd Only try to create an egl canvas if we have egl support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:58:39 +01:00
Chris Michael 6326a99701 Add global variable for compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:57:46 +01:00
Chris Michael e526350c0f Add e_container files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:57:36 +01:00
Chris Michael 243ca5a8e9 Add code in screens_init to create managers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 07:27:04 +01:00
Chris Michael 86bb6565b9 Add functions for e_manager_show/hide.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 07:26:28 +01:00
Chris Michael 87943d7285 Add API functions for e_manager_show/hide.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 07:26:17 +01:00
Chris Michael 2e5447c103 Add API function to return the current manager.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 07:05:01 +01:00
Chris Michael eef80e6ffc Add function to return the current manager.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 07:04:51 +01:00
Chris Michael a775780c6b Add code to create new manager objects.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 07:01:32 +01:00
Chris Michael 010a1f689a Add API function to create a new manager.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:55:59 +01:00
Chris Michael 2b538b1d5f Add function to return the existing compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:54:52 +01:00
Chris Michael 13bd36733d Add API function to get the compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:54:43 +01:00
Chris Michael 9f5fba4c51 Set a reference to the compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:51:22 +01:00
Chris Michael 28bc50833e Add some comments.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:30 +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 7215d19291 Add idler_before to startup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:30 +01:00