gpu used in flash player10

来源:互联网 发布:linux while 编辑:程序博客网 时间:2024/04/28 01:28

 

If you want to enable this new feature in the new beta player, the only way to currently do this is via an attribute in your HTML/JS embed code. The attribute in question is not an addition, it is the familiar “wmode” parameter. The parameter traditionally defines how Flash content is “windowed” on a page with the current choices being “window“, “opaque” and “transparent“. With Flash Player 10, the number of choices gets bumped up to five with the addition of “direct” and “gpu“.

 

wmode=”direct”

“Direct” instructs the player to totally bypass the parent web browser for rendering. You might compare it to standalone players performance with the little more kick.

wmode=”gpu”

“GPU” is full hardware accelerated composing. But note, GPU mode is not a magic bullet for speeding up everything, in some scenarios it may in-fact course performance drains.

 

但我试了一下。好像没有多大的变化。唉。。。