Change-Id: I2f4225175db89a82f368a54fac79022d16ffd2eb
PEPPER_ASSERT(buffer->ref_count > 0);
if (--buffer->ref_count == 0)
+ {
wl_resource_queue_event(buffer->resource, WL_BUFFER_RELEASE);
+ pepper_object_emit_event(&buffer->base, PEPPER_EVENT_BUFFER_RELEASE, NULL);
+ }
}
PEPPER_API struct wl_resource *
pixman_region32_copy(&surface->input_region, &surface->pending.input_region);
pepper_surface_flush_damage(surface);
+ pepper_object_emit_event(&surface->base, PEPPER_EVENT_SURFACE_COMMIT, NULL);
}
void
pepper_list_remove(&view->compositor_link, NULL);
pepper_list_insert(pos, &view->compositor_link);
view_mark_dirty(view, PEPPER_VIEW_Z_ORDER_DIRTY);
+ pepper_object_emit_event(&view->base, PEPPER_EVENT_VIEW_STACK_CHANGE, NULL);
}
pos = &view->compositor_link;