mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
9130dc1311
Instead of unconditionally combining the modelview and projection matrices and then iterating each of the vertices to call cogl_matrix_transform_point for each one in turn we now only combine the matrices if there are more than 4 vertices (with less than 4 vertices its less work to transform them separately) and we use the new cogl_vertex_{transform,project}_points APIs which can hopefully vectorize the transformations. Finally the perspective divide and viewport scale is done in a separate loop at the end and we don't do the spurious perspective divide and viewport scale for the z component. |
||
---|---|---|
.. | ||
cogl | ||
doc | ||
pango | ||
Makefile.am |