mutter:gbsneto/graphene2

Last commit made on 2019-03-20
Get this branch:
git clone -b gbsneto/graphene2 https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
gbsneto/graphene2
Repository:
lp:mutter

Recent commits

3004c54... by Georges Basile Stavracas Neto

clutter/actor: Revert transform order

When doing affine transforms on 2D and 3D spaces, operations are
done relative to the origin. That means that, when applying
rotations and scales, we must:

 * translate (-anchor_x, -anchor_y, -anchor_z)
 * apply the operation
 * translate (anchor_x, anchor_y, anchor_z)

Since OpenGL has its matrices applied in the reverse order, the
usual way to do it is, then:

 * translate (anchor_x, anchor_y, anchor_z)
 * apply the operation
 * translate (-anchor_x, anchor_y, anchor_z)

However, graphene matrices do not follow the GL format, so matrix
operations are done as the first example. Now that we are using
graphene_matrix_t for every matrix operation, the transform order
is wrong.

Apply the transform operations in the opposite order.

1428280... by Georges Basile Stavracas Neto

cogl/matrix: Fix rotation

c356a2d... by Georges Basile Stavracas Neto

clutter/offscreen-effect: Remove implicit API

5289026... by Georges Basile Stavracas Neto

cogl/graphene-utils: Simplify

b1c0128... by Georges Basile Stavracas Neto

fixup! cogl/matrix: Scale using Graphene

f5fe0c0... by Georges Basile Stavracas Neto

Scale matrices before rotating and translating

This is the correct operation.

a9d32be... by Georges Basile Stavracas Neto

cogl/matrix: Make it row-major

2ed5960... by Georges Basile Stavracas Neto

cogl/matrix: Translate using Graphene

7f708ce... by Georges Basile Stavracas Neto

cogl/tests: Temporarily mark euler-quaternion as failing

82382dd... by Georges Basile Stavracas Neto

clutter: Use graphene to interpolate matrixes