• Robert Bragg's avatar
    use cogl_matrix_transform_points in clutter · 305bb124
    Robert Bragg authored
    When transforming a paint-volume or transforming allocation vertices we
    are transforming more than one point at a time so we can batch those
    together with cogl_matrix_transform_points instead of
    cogl_matrix_transform_point. Also in both of these cases we don't need
    to do a projective transform so using cogl_matrix_transform_points also
    lets us reduce the per-vertex computation.
clutter-paint-volume.c 23.8 KB