| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This fixes following:
- Fix license relevant code
- Remove update_layer/surface_prop
- Refactor send_layer/surface_add_event
- Adapt to wayland 1.11
Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New grab interfaces are added:
- pointer_grab_axis
- pointer_grab_axis_source
- pointer_grab_frame
New static pointer_move function is implemented,
because the new interfaces of weston_pointer_move does not accept
absolute coordinates. We need to move the pointer when we set
pointer focus to a surface.
Furthermore, pointer motion and button grab interfaces are refactored
to use new weston_pointer_focus_client data struct.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
1. Use ivi-layout-export.h which is installed by weston.
2. Use new listener APIs.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
| |
it is not used in 1.9.91 version
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
1. Use ivi_layout_interface directly without ivi-extension APIs
2. Use weston_output for IVI Screen APIs.
3. Remove content_observer because IVI Layout API is removed
4. Use new listener APIs instead of notification APIs
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
it is copied from ivi-extension.c, because ivi-extension.c
will be removed.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
Currently, the display 0 is used in layer-add-surfaces.
It is better to use the display with highest resolution than
using a hard-coded ID. Because the highest display is most likely
the main display.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
| |
Otherwise the printed out values are wrong
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
Check logic should be improved because iviscrn is never null.
Besides, do not iterate over empty list like send_surface_add_event.
Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
|
|
|
|
|
|
| |
Check logic should be improved because ivilayer is never null.
Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Iterating over empty list will modify first value passed to
wl_list_for_each, but that won't be valid list entry, which in
case of send_surface_add_even leads to crash.
V2 change:
Use break instead of continue
Signed-off-by: Mateusz Polrola <mateuszx.potrola@intel.com>
Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
| |
The update_layer_prop function only updates on_screen member
of ivilayer struct. But on_screen member is never used.
Therefore, I removed the function and the member.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
The update_surface_prop function only updates on_layer member
of ivisurf struct. But on_layer member is never used.
Therefore, I removed the function and the member.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
This patch removes the IlmMatrix license, and fixes:
http://bugs.genivi.org/show_bug.cgi?id=432.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
|
|
|
|
|
|
|
| |
IlmMatrix source code is removed, because it has a different
license than the license of wayland-ivi-extension (i.e Apache 2.0).
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IlmMatrix dependency is removed, because it has a different
license than the license of wayland-ivi-extension (i.e Apache 2.0).
This license problem is reported by Jeremiah C. Foster.
He also raised the ticket "BUG 432" in http://bugs.genivi.org/
I replaced the IlmMatrix implementation with my own implementation
to fix the issue.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this fixes following:
- double free and memory leaks
- handle removing of ilm surfaces and layers properly
- destroying of ilm_layers
- parallel build issues
- build install directories for 64 bit(LIB_SUFFIX variable in the libraries install path)
- pid of the creator of ilm object is reported in creator field not pid of the requester
- fix compiler warnings
Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
| |
ivi_layout_get_get_layers_under_surface allocates memory.
It is responsibility of the caller to free this memory,
as it is stated in ivi-layout.c
Therefore, the memory should be freed in the end of the function
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
We have to wait before freeing ivisurf that all clients destroy
their proxies. Otherwise, a client could send an event to the ivisurf
just after we destroyed it. This would cause a race condition and
potentially SEGV.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have to wait before freeing ivilayer that all clients destroy
their proxies. Otherwise, a client could send an event to the ivilayer
just after we destroyed it. This would cause a race condition and
potentially SEGV.
Furthermore, the layout_layer pointer of ivilayer set to NULL after
ivilayer freed in the old implementation. Therefore, old implementation
writes 4 bytes to invalid location. This implementation also solves the
invalid write problem by moving the free code.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
Destroy the ivi_controller_layer proxy before
destroying ctx_layer data struct to avoid memory leak.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
I fixed several compiler warnings:
-Wreturn-type
-Wunused-value
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
| |
With earlier implementation memory for NULL byte of l->filename string
was not being allocated by malloc (strlen is returning length of string
without NULL terminating byte) which may result in some random
characters appended in filename string.
Now strdup is begin used for string copy instead of malloc/strcpy.
Signed-off-by: Mateusz Polrola <mateuszx.potrola at intel.com>
|
|
|
|
|
|
|
|
|
|
| |
this patch will allow to install the modules and libraries in correct library directory
e.g. if we are built for 64 bit architecture
libraries are installed in /lib$LIB_SUFFIX
weston modules are installed in /lib$LIB_SUFFIX/weston
Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
|
|
|
|
|
|
|
| |
It is unnecessary to send content removed event to the controller.
It is enough to send destroyed event.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
I moved the cleanup code from content listener to destroyed listener,
so that we can avoid double free.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
- This avoids redefining the generation of protocol files during build of examples
- Add depedency to header and c files generated from the protocols to fix build issues
Signed-off-by: Frederico Cadete <frederico.cadete@awtce.be>
Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.de>
|
|
|
|
|
|
| |
createPid should be a pid of process that creates surface.
Signed-off-by: Wataru Natsume <wnatsume@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
the are two reasons to remove the directories:
they are not needed
preventing CMake warnings for cross compiling (path is resolved for host)
Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: James Thomas <james.thomas at codethink.co.uk>
|
|
|
|
|
|
|
|
|
|
|
| |
It is wrong to send surface_send_layer event with resources
of every client. Instead, the event should only sent once with
the layer resource of client, which owns also the surface resource.
Otherwise a wayland communication error happens, because a client gets
a surface_send_layer event with a resource which is owned by
another client.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
Compositor sends screens in opposite order.
write ids from back to front to turn them around.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
This would be proposed as a version to GENIVI Compliant 10, Leviathan.
Additionally, to reduce the confusion which version of
Wayland-IVI-Extension shall be dependent on Wayland/Weston, the version
is synchroized with Wayland/Weston version from now.
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
|
|
| |
It uses libgbm to handle id to share graphic buffer inter processes.
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
|
|
|
|
| |
ivi-share.xml to share buffer from client to Host application.
It also allows Host application to send transformed input
event to client application.
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The clients should always get the touch events in surface
coordinate system and not the global coordinate system.
Therefore, the global positions are transformed to local
positions with weston_view_from_global_fixed API.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
| |
the shared library.
ivi-input-controller shall work with ivi-controller.so not solely.
So the patch proposes a way to specify it as a ivi-input-module in
weston.ini. The shared library, ivi-input-controller.so, is loaded by
ivi-controller.so.
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|