Quantcast
Channel: Adobe Community : All Content - AIR Bugs and Performance Issues
Viewing all articles
Browse latest Browse all 1419

How do I enable hardware acceleration in an air exe?

$
0
0

I have a Stage3d game compiled as a windows bundle (exe) using adt -target bundle. Users download it from Steam and have no idea it's even running Adobe AIR.

 

The problem is that if the user has manually disabled hardware acceleration in Firefox, it will also be disabled in my game. In these cases, context3d.driverInfo will say "Hw_disabled=userDisabled". If they open Firefox, right-click on a flash animation, open the security settings box and check "enable hardware acceleration", it will start working on my Adobe AIR game too. (note this isn't on all systems - I can't recreate the problem myself)

 

I would love to pop open the display tab of the security panel for them right in my game:

Security.showSettings(Security.DISPLAY);

But that command doesn't work in AIR, it only works in browser plugins.

 

Explaining to users how to enable hardware acceleration in FF, IE, Safari etc seems like a terrible, confusing solution.


Any better ideas?


(also, I think this might be a bug? can anyone point me to documentation saying firefox & air should share settings like this? I went to report it but the bug tracker's down as usual: http://bugs.adobe.com/flex/)

 



Viewing all articles
Browse latest Browse all 1419

Latest Images

Trending Articles



Latest Images