Håvard Wall wrote:
> Hi,
> 
> I'm looking into improving the DirectFB integration in Qt 4.4 and find that 
> the DFBSurfaceRenderOptions might be very useful. Now the documentation says 
> that the render options might not be accelerated and software fallbacks will 
> not be used. This is OK as I can do the fallbacks myself, but I need a way to 
> detect when this is necessary and I haven't found a way to do this. Is there 
> a way of querying for these capabilities? If not, would it make sense to add 
> this to the DFBAccelerationMask?

DFBSurfaceRenderOptions initially only contained hints like smooth scaling,
but now it also contains DSRO_MATRIX which should be mandatory. Most drivers
don't check this, yet :(

When drivers are fixed, the acceleration mask will only contain the operation
bits if the render options are supported. This should be sufficient for you.

Meanwhile, you can check the driver or device name in 
DFBGraphicsDeviceDescription
from IDirectFB::GetDeviceDescription().

There we can also add rough information about supported DFBSurfaceRenderOptions.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to