Gwenole, Your interpretation of the semantics is correct and it looks that this should be fixed in the PSB driver.
Regards, Jonathan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gwenole Beauchesne Sent: Wednesday, February 24, 2010 4:52 AM To: [email protected] Subject: [Libva] Semantics of VA_CLEAR_DRAWABLE 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. _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
