As has been reported widely, XV (with overlay scalers) doesn't work like people expect in the presence of Composite. It would be nice to get this basically working, and there are a few things to do: - redirect the drawing of color keys to backing store. xf86XV* functions could get this done for us, I think. - standardize on a window manager hint to say "please don't blend over me, it's really imporant," which the compositing manager could pick up on. This would make it so we don't render XV totally wrong (wrong color showing through, blended color key showing through) but not deal with letting people do arbitrary transformations on XV output. This bug exists to clearly state what (I think) we should do for now, so we can mark as duped the bugs talking reporting this issue.
*** Bug 4483 has been marked as a duplicate of this bug. ***
*** Bug 1151 has been marked as a duplicate of this bug. ***
Here's a thought: Create the WM hint that says "paint me solid with the color key." If a drawable is redirected, actually paint the backing store using textured xvideo (if available), otherwise color key. Then, if the compmgr is smart it'll give you overlay video (nice refreshing, etc.) and if the compmgr is dumb you get reasonable video, and no matter what, getimage on the drawable would do what people would expect. I suppose this wouldn't fix programs doing screenshots, unless they were made smarter, though.
This works perfectly in osx, should be possible in linux to with same equivialent hardware... Even scaled as in expose... Also, we should get someone on this soon!
(In reply to comment #4) > This works perfectly in osx, should be possible in linux to with same > equivialent hardware... Even scaled as in expose... OS X doesn't use the overlay AFAIK, basically what we'd need for that would be (properly redirected) Xv using texture blits. > Also, we should get someone on this soon! True, go ahead. :)
xf86XVFillKeyHelperDrawable() is available in f9bfee50981006a2c58d3f73e2b0d123bb2a41b7. Do we still want to track the compositing manager ideas here? I don't think the remaining limitations of overlay adaptors are really different with/out compositing.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Yeah, now that the color key painting is fixed all over, this bug can die.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.