Adobe Molehill - Full 3D in Flash

Out of context: Reply #15

  • Started
  • Last post
  • 17 Responses
  • Boz0

    Btw, I think it's interesting to point out why Flash GPU APIs that are basically similar to WebGL are much more secure and solve the problems WebGL has with Microsoft and Mozilla and cross-domain textures and all this stuff.

    What one of the Adobe guys pointed out on partner forum:
    1. The Stage3D API are no trying to expose ALL OpenGL APIs, we are targeting a subset of the features, which reduces the APIs surface in Flash and make it easier to secure.
    2. We do not allow loops or functions in shader programs.
    3. AGAL shaders are input as a very simple bytecode that is vastly easier to verify/validate than the GLSL dialect used by WebGL, which requires a full C compiler in the graphics driver or browser.
    4. Denial of service: We limit program length and number of draw calls per frame. So you can’t really lock the hardware or crash it.
    5. Cross domain images are no issue, as all images are uploaded from BitmapData or ByteArray which is already readable.

    What I find particularly piquant about Flash Player 11/AIR 3.0 is that it's gonna work on 90% of computers will run like the wind on mobile devices as well as compiled apps.. Go 3D GPU accelerated games and experiences!

View thread