[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Hardware acceleration support

From: Gwenole Beauchesne
Subject: Re: [Gnash-dev] Hardware acceleration support
Date: Wed, 3 Mar 2010 11:14:23 +0100 (CET)
User-agent: Alpine 1.10 (DEB 962 2008-03-14)


On Tue, 2 Mar 2010, Rob Savoye wrote:

It seems OGL doesn't work at all, no matter VA-API is built-in or not.
Something is probably wrong with the DRI/GLX check.

 There is a new check in the latest version that checks to see if DRI
or GLX extensions are enabled, but nothing is done with that result yet.
The idea is that if somebody did have DRI and GLX enabled, we'd probably
want to use it.

There are two problems with this check:

1) NVIDIA does not implement DRI, so this won't be reported in the extensions list.

2) I don't understand your comment for not releasing memory returned by XListExtensions(). X provides XFreeExtensionList() and this should be used. Besides, why not use XQueryExtension()?

BTW, the check for VA-API drivers below DRI/GLX check is also wrong but fortunately, the macro used to enable the check is wrong too, so this is not compiled in. ;-)

Anyway, I will write a VaapiDriverInfo class instead since there are some things I want to check and optimize the rendering process based on the driver capabilities (and version).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]