effef73926
The master copy of calculate_edges() lives nowadays in gl-renderer.c. Copy it verbatim from gl-renderer.c into cliptest.c. Update cliptest.c for the following changes that happened in Weston core, vertex.clipping.c, and gl-renderer.c: - replace GLfloat with float - introduction of weston_view, here replacing weston_surface - API change of weston_view_to_global_float Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>