libweston: Notify timeline of object modification
We notify the timeline of the fact that the object suffered modifications through the 'set_label' function. Remove the old refresh variable. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
@@ -2049,6 +2049,10 @@ weston_log_ctx_compositor_destroy(struct weston_compositor *compositor);
|
||||
int
|
||||
weston_compositor_enable_content_protection(struct weston_compositor *compositor);
|
||||
|
||||
void
|
||||
weston_timeline_refresh_subscription_objects(struct weston_compositor *wc,
|
||||
void *object);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -42,14 +42,6 @@ struct weston_timeline_object {
|
||||
|
||||
/* Object id in the timeline JSON output. 0 is invalid. */
|
||||
unsigned id;
|
||||
|
||||
/*
|
||||
* If non-zero, forces a re-emission of object description.
|
||||
* Should be set to non-zero, when changing long-lived
|
||||
* object state that is not emitted on normal timeline
|
||||
* events.
|
||||
*/
|
||||
unsigned force_refresh;
|
||||
};
|
||||
|
||||
#endif /* WESTON_TIMELINE_OBJECT_H */
|
||||
|
||||
Reference in New Issue
Block a user