• Jonas Ådahl's avatar
    shaped-texture: Transform clip and opaque region to texture space · ff08e19f
    Jonas Ådahl authored
    The clip and opaque region are both in a translated stage coordinate
    space, where the origin is in the top left corner of the painted
    texture. The painting, however, is in the texture coordinate space,
    so when the texture is scaled, the coordinate spaces differ.
    
    Handle this by transforming the clip and opaque region to texture
    coordinate space before computing the blend region and the opaque region
    to paint.
    
    Closes: #300
    ff08e19f
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...