Posts in Category "Stage3D"

Beta Feature: VideoTexture and Stage3D

Authored by Jason Lee

Flash Player 15 Beta introduces the VideoTexture object, which allows hardware decoded video to be used in Stage3D content. With prior versions of Flash Player, the use of video in Stage3D required the use of the Video object (which is not hardware accelerated), copying of video frame to a BitmapData object, and loading of the data onto the GPU.

With the VideoTexture object introduced in Flash Player 15 Beta, the decode, conversion from YUV to RGB, and texture loading can be completely moved to the GPU.  The textures provided by the VideoTexture object can be used as rectangular, RGB, no mipmap textures in rendering of a Stage3D scene; and can be treated as ARGB texture by the shaders (i.e., the AGAL shaders do not need to provide YUV->RGB conversion).  Thus, standard shaders used with static images can also be used without providing a functionality for YUV-> RGB conversion.

Continue reading…

Stage3D “standard” profile

 

Authored by Cheng Liao

The Stage3D “standard” profile is a high-level function set that contains a lot of advanced graphics features. We introduced it in Flash/AIR14 for desktop platforms, and extended its support to mobile platforms in Flash/AIR15. This is a huge leap for Stage3D and it keeps Flash gaming moving forward.

What’s new in “standard” profile

Continue reading…

Relaxing Render Target Clear operation in Stage3D

Authored by Jing Chen

Prior to Flash Player 15.0 and AIR 15.0, there was a strict restriction that the clear function must be called on a render target before drawing, so that the content in a render texture does not get preserved after invoking the clear function. In Flash Player 15.0 and AIR 15.0, we have optimized the old internal rendering system and have removed this requirement.

In this blog post, we’ll show the benefits of this feature.

Continue reading…