-use-direct-blit / -use-gpu

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

-use-direct-blit / -use-gpu

Mike Wiering
In mxmlc you can use these options to use hardware acceleration in the
stand-alone player:

-use-direct-blit=true
-use-gpu=true

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html

Could these be added to haXe too? (It looks like it's just a flag in
the SWF header). It would be great to not always have to use a browser
for testing just because of the wmode parameter.

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: -use-direct-blit / -use-gpu

Jan_Flanders


On Wed, Oct 5, 2011 at 12:28 AM, Mike Wiering <[hidden email]> wrote:
In mxmlc you can use these options to use hardware acceleration in the
stand-alone player:

-use-direct-blit=true
-use-gpu=true

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html

Could these be added to haXe too? (It looks like it's just a flag in
the SWF header). It would be great to not always have to use a browser
for testing just because of the wmode parameter.

--
haXe - an open source web programming language
http://haxe.org

Yes, would be nice to have and fairly simple to implement in the compiler. (They are flags in the FileAttributes tag btw, not the Header)
There are already a few similar flags: http://haxe.org/manual/tips_and_tricks
Perhaps, in the mean time, script nr4 in this post may help: http://haxe.1354130.n2.nabble.com/haXer-tools-was-BootLoader-td5438798.html

Jan

--
haXe - an open source web programming language
http://haxe.org