| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
WaylandServerinfoProtocol is used for old LayerManager component.
It is not required to use with weston-ivi-shell.
Therefore, I removed the implementation.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
EGL_CFLAGS may include platform dependent definitions,
which are required to successfully build the application.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
EGL_CFLAGS may include platform dependent definitions,
which are required to successfully build the application.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
| |
With earlier implementation read_pixels was called without
weston_output_schedule_repaint, causing screenshot to have image of
previously triggered screenshot event. & first screenshot was always
blank.
Now we add frame listener, call weston_output_schedule_repaint and
then capture the screenshot in the frame listener.
Signed-off-by: Mitul Chokshi <mitul.chokshi@intel.com>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
| |
points.
This example provides us how to receive multi touch and handle them for
own application. This shows multi touch as points with differenct
color.
Signed-off-by: Nobihiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
| |
1. weston_seat interface is changed at version 1.9 and it is not compatible with 1.8
2. Surface clipping works in version 1.9 of weston.
3. Some bugfixes are landed in version 1.9.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
|
|
|
| |
weston_seat data structure is changed at weston v1.9, and new APIs are included.
I adjusted ivi-input implementation so that it works with the weston v1.9
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
| |
Because it is not used.
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>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
message
When an ilmControl session gets the controller_listener_surface event
after an application created an ivi_surface, it controls the existence of the
surface with the get_surface_context internal API. It is expected
that the surface does not exist.
The same is true also for wayland_controller_get_layer_context API.
Therefore, these error messages are redundant and confusing.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|