Is there no intreset to fix this design problem ?

On Fri, 08 Jul 2011 12:29:42 +0200, gimli <[email protected]> wrote:
> vaDetsroyDrawable is introduced to free internal allocated dri_drawable.
> 
> vaPustSurface is requesting a dri drawable through dri_get_drawable for
the
> provided X-Drawable.
> libva stores all drawables it sees from the application. On closing it
trys
> to destroy all drawables, 
> even if the application already destroyed the drawable. This leads to the
> following error :
> 
> X Error of failed request:  BadDrawable (invalid Pixmap or Window
> parameter)
> Major opcode of failed request:  137 (DRI2)
> Minor opcode of failed request:  4 (DRI2DestroyDrawable)
> Resource id in failed request:  0x400032d
> Serial number of failed request:  2629
> Current serial number in output stream:  2630
> 
> vaDetsroyDrawable gives the application the chance to free the drawable
and
> it's allocated resources.
> 
> Signed-off-by: Edgar Hucek <[email protected]>
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to