commit | 63093a35ea8b04bafbfb623dcdca6180c0a70ef7 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Fri Mar 01 14:29:16 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Mar 04 12:35:07 2013 -0500 |
tree | 0811f91a430d34459fe79d6cecd0043f2d99e597 | |
parent | 82cb505287a324468b697b76825332db02727854 [diff] |
compositor-drm: Determine opaqueness of a surface correctly We subtract the screen space opaque region from the transformed surface region. That's going to fail for when we're scaling up a surface, since the surface bounding box for the scaled up surface is going to be bigger than the opaque region. Instead, subtract the surface-space opaque region from a 0,0 - width,height region and see if that's empty.