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

Asynchronous shader compilation #1209

Merged

Commits on Feb 24, 2023

  1. Preliminary testing code.

    Graham Langston authored and Graham Langston committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    d7e1d16 View commit details
    Browse the repository at this point in the history
  2. Code for measuring render loop times.

    Graham Langston authored and Graham Langston committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    143164a View commit details
    Browse the repository at this point in the history
  3. Fix test code.

    Graham Langston authored and Graham Langston committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    6cad4f6 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Refactor experience.js.

    Graham Langston authored and Graham Langston committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    8460274 View commit details
    Browse the repository at this point in the history
  2. Preliminary code to separate out shader compilation from CreateProgram.

    Graham Langston authored and Graham Langston committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    38c273a View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Force shader compilation in the test code.

    Graham Langston authored and Graham Langston committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    9257652 View commit details
    Browse the repository at this point in the history
  2. Make async code work + rename function.

    Graham Langston authored and Graham Langston committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    1f04b1c View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Separate synchronous and asynchronous versions of CreateProgram.

    Graham Langston authored and Graham Langston committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    ec25c68 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Assign the program handle on the Javascript thread.

    Graham Langston authored and Graham Langston committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    f814deb View commit details
    Browse the repository at this point in the history
  2. Restore original experience.js.

    Graham Langston authored and Graham Langston committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    77f5c19 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. Return both the program handle and VertexAttributeLocations from Crea…

    …teProgramInternal.
    Graham Langston authored and Graham Langston committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    1df96a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Throw a proper error after encountering an async shader compilation e…

    …rror.
    Graham Langston authored and Graham Langston committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    209c34a View commit details
    Browse the repository at this point in the history
  2. Simplify error reporting.

    Graham Langston authored and Graham Langston committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    d4401b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Preliminary code for movable ProgramData (not working yet).

    Graham Langston authored and Graham Langston committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    678fb49 View commit details
    Browse the repository at this point in the history
  2. Use unique_ptr to make the Arcana return type work.

    Graham Langston authored and Graham Langston committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    5e66231 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Initialize member variables in constructor.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    eb5a104 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary release of unique_ptr.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    f8c062d View commit details
    Browse the repository at this point in the history
  3. Leave parameter of nulled operator anonymous.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    089a278 View commit details
    Browse the repository at this point in the history
  4. Indent lambda captures.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    e1872d5 View commit details
    Browse the repository at this point in the history
  5. Remove unused lambda capture.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    2319953 View commit details
    Browse the repository at this point in the history
  6. Remove ProgramData.Disposed.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    654886c View commit details
    Browse the repository at this point in the history
  7. Use pattern similar to CreateProgramAsync in CreateProgram.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    8f17fb7 View commit details
    Browse the repository at this point in the history
  8. Use BGFX_INVALID_HANDLE instead of bgfx::kInvalidHandle.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    4977f3e View commit details
    Browse the repository at this point in the history
  9. Use brace initialization for BGFX handles.

    Graham Langston authored and Graham Langston committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    17666c0 View commit details
    Browse the repository at this point in the history