Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling lost gpu context on stage3d #289

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Commits on Aug 27, 2014

  1. Change System.init to return a promise in order to work with platform…

    … initialization that may be asynchronous.
    
    FlashPlatform's initialization is actually asynchronous, in that we must wait for Stage3DRenderer to acquire a Context3D before we're ready to roll. Since the Flash platform requires a Context3D before textures can be loaded, quickly loading textures after calling System.init was causing undesirable behavior, due a Context3D not yet being available. With this change, we can wait for a platform to become ready before continuing with other work.
    purplepwny authored and Antriel committed Aug 27, 2014
    Configuration menu
    Copy the full SHA
    45d4bdb View commit details
    Browse the repository at this point in the history
  2. stage3d gpu context loss handling works now by storing original bitma…

    …pdata and reuploading when context is regenerated
    Antriel committed Aug 27, 2014
    Configuration menu
    Copy the full SHA
    f243c5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    398ddb7 View commit details
    Browse the repository at this point in the history
  4. cleanup and styling

    Antriel committed Aug 27, 2014
    Configuration menu
    Copy the full SHA
    f62592f View commit details
    Browse the repository at this point in the history