[Libva] Semantics of VA_CLEAR_DRAWABLE
Gwenole Beauchesne
gbeauchesne at splitted-desktop.com
Wed Feb 24 04:52:22 PST 2010
Hi,
The documentation mentions that the VA_CLEAR_DRAWABLE flag "clears the
drawable with background color". My understanding is the driver will clear
the drawable *prior* to rendering the surface. However, the PSB driver
does clear the drawable but doesn't render the surface. What's the
intended purpose of this flag?
If VA_CLEAR_DRAWABLE just clears the drawable without rendering the
surface, that's a pretty useless flag as people can call XClearWindow()
themselves with fewer arguments.
So, I would really want VA_CLEAR_DRAWABLE to mean the following:
"clears the drawable with background color prior to rendering the
surface". Thus, a fix in PSB is also welcome. ;-)
Thanks,
Gwenole.
More information about the Libva
mailing list