| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
|
| |
LM_NOTIFICATION_CONTENT_AVAILABLE.
Privious code doesn't register linstener to receive notification from
server. To fix it, register callback function by using
ivi_controller_surface_add_listener.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
|
|
|
|
|
|
|
| |
Previous code used fixed screen 0 only. The new code creates multi
ivi-screens according to the number of screen from output_list.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
| |
A surface can be on only one layer. Therefore, the struct link_layer is
not required. Instead, struct ivisurface has a pointer to the layer. In
the future, A feature that a surface belongs to several layers would be
supported if somebody requires.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
A layer can be on only one screen. Therefore, the struct link_screen is
not required. Instead, struct ivilayer has a pointer to the screen. In
the future, a feature to support that a layer belongs to several screens
would be supported again if somebody requires.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
| |
After a callback function for a surface is registered with the ilm_surfaceAddNotificaiton API,
the callback function is called with ILM_NOTIFICATION_CONTENT_AVAILABLE flag, if the surface exists.
This causes that the notification test fail. Because they are only expecting the flag of the
changed parameter (e.g.ILM_NOTIFICATION_ORIENTATION).
The notification tests are successful again after these changes.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checking wl_list_empty() on a link offers no information: if it returns
true, wl_list_remove() is safe to do. If it returns false, you still do
not know if wl_list_remove() is safe; the link could be part of a list,
or the link could be "uninitialized" (e.g. just wl_list_remove()'d).
(From Pekka Paalanen's comment at
http://lists.freedesktop.org/archives/wayland-devel/2015-August/023987.html).
Calling wl_list_init just before wl_list_insert is redundant.
Because the links of the list are not read before it is overwritten by
wl_list_insert.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checking wl_list_empty() on a link offers no information: if it returns
true, wl_list_remove() is safe to do. If it returns false, you still do
not know if wl_list_remove() is safe; the link could be part of a list,
or the link could be "uninitialized" (e.g. just wl_list_remove()'d).
(From Pekka Paalanen's comment at
http://lists.freedesktop.org/archives/wayland-devel/2015-August/023987.html).
Calling wl_list_init just before wl_list_insert is redundant.
Because the links of the list are not read before it is overwritten by
wl_list_insert.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checking wl_list_empty() on a link offers no information: if it returns
true, wl_list_remove() is safe to do. If it returns false, you still do
not know if wl_list_remove() is safe; the link could be part of a list,
or the link could be "uninitialized" (e.g. just wl_list_remove()'d).
(From Pekka Paalanen's comment at
http://lists.freedesktop.org/archives/wayland-devel/2015-August/023987.html).
Calling wl_list_init just before wl_list_insert is redundant.
Because the links of the list are not read before it is overwritten by
wl_list_insert.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
| |
Otherwise pthread_join call causes SEGV, beacuse the thread of the ilm_control_context is NULL
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
counter
If ilm_init() is called multiple times, the ilm context should not be destroyed
at the first call of ilm_destroy(). Because a thread can call ilm_destroy() and destroy
commonly used ilm context.
Each ilm_init() call increments the initialization counter, and each ilm_destroy() call
decrements the counter. The ilm context is only destroyed when the counter is 0.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
surface belonging to the layer.
|
|
|
|
|
| |
Additionally ilmConrol_destroy is improved to free contexts only when it
is allocated.
|
|
|
|
|
|
|
| |
If ilm_init() is called from another thread it will wait until the first of
the initialization is complete. Then, when the initialization is complete,
and then exits with a ILM_SUCCESS without anything.
Also print the following message.
|
| |
|
|
|
|
| |
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
| |
it is not part of ILM APIs. it is not in ilm_control.h and it is not used.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
display_roundtrip_queue functions is an exact copy of the wl_display_roundtrip_queue.
Use the wayland implementation instead of its copy.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
| |
It should return ILM_ERROR_INVALID_ARGUMENT according to specification in ilm_control.h,
if the given surface has no notification callback registered.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
|
|
| |
layer and surface which are already created before callback registration.
Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current build system is compiling the scanner-generated code as an
intermediate static library, and then linking it in with the output shared
libraries.
This results in some code that was not build with -fPIC, which prevents
hardened non-writable code and produces warnings in buildsystems such as
yocto.
This patch adds -fPIC to the ivi-extension-protocol intermediate library.
Signed-off-by: <frederico.cadete@awtce.be>
|
|
|
|
|
|
|
| |
image_buffer has a size of image_size. Therefore, image_size should be used in the write operation.
Otherwise, weston crashes.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
| |
check in surface creation event, if the surface is already configured.
If it is, use the origSourceWidth and Height to configure destination and
source rectangle of ilm_surface.
If not, add a surface notification callback and wait for configured event.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
|
|
|
|
|
|
| |
surface/layer.
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it has 2 parameters:
layerID: The layer with the given ID is created and added to the screen 0.
Moreover, it is made visible
number_of_surfaces: number of surfaces which should be added to the layer.
when the surface creation callback is called, the surface is made visible,
added to the layer. Moreover, destination rectangle and source rectangle are set
to size of its wayland buffers.
layer-add-surfaces exits when given number of surfaces are added to the layer
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>
|