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

glow renderer #495

Merged
merged 29 commits into from Sep 5, 2021
Merged

glow renderer #495

merged 29 commits into from Sep 5, 2021

Commits on Sep 5, 2021

  1. Add imgui-glow-renderer from test repo

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    bf1675f View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary code from basic glow example

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    bbe598a View commit details
    Browse the repository at this point in the history
  3. Derive Default on trivial structs

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    06b0850 View commit details
    Browse the repository at this point in the history
  4. Flesh out examples

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    f1bd13b View commit details
    Browse the repository at this point in the history
  5. Add a few more docs

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    f92e9c4 View commit details
    Browse the repository at this point in the history
  6. Attempt to start documenting better

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    cdf9063 View commit details
    Browse the repository at this point in the history
  7. Make fields of GenericShaderData pub to aid in user-implementation

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    23fe427 View commit details
    Browse the repository at this point in the history
  8. Fix typo deleting the wrong buffer object

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    f70ddfa View commit details
    Browse the repository at this point in the history
  9. Add accurate framerate to basic example

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    fc82d41 View commit details
    Browse the repository at this point in the history
  10. Fix up texture use

    Previous `prepare_font_atlas` silently assumed a TrivialTextureMap.
    Also adds an impl of `TextureMap` for `imgui::Textures` as a further
    example.
    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    87baa92 View commit details
    Browse the repository at this point in the history
  11. Add example based on custom_textures.rs

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    d1df09d View commit details
    Browse the repository at this point in the history
  12. Remove unused import

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    80dcbe0 View commit details
    Browse the repository at this point in the history
  13. Remove unsafe null references

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    4df9d1e View commit details
    Browse the repository at this point in the history
  14. Prevent dead code warnings in examples/utils

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    3723480 View commit details
    Browse the repository at this point in the history
  15. Remove ContextStateManager as a generic

    Instead use `GlStateBackup` every time
    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    382db28 View commit details
    Browse the repository at this point in the history
  16. Comment

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    11e2741 View commit details
    Browse the repository at this point in the history
  17. Fix lints in examples

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    6858d09 View commit details
    Browse the repository at this point in the history
  18. Fix lint

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    10eb512 View commit details
    Browse the repository at this point in the history
  19. Feature-gate use of glDebugMessageInsert

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    e12e0b1 View commit details
    Browse the repository at this point in the history
  20. Remove ShaderProvider

    Instead, always use the previous AutoShaderProvider
    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    82f1122 View commit details
    Browse the repository at this point in the history
  21. Consolodate to two non-generic renderers

    There are now only two renderers (only generic over the GL context)
    - `AutoRenderer` which is both the old `OwningRenderer` and also
      sets up a `SimpleTextureMap` automatically
    - `Renderer` which borrows both the GL context and the texture map
      on every call to Render
    
    This means the `RendererBuilder` can be entirely removed.
    
    Also `TrivialTextureMap` renamed to `SimpleTextureMap`.
    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    0cafc5c View commit details
    Browse the repository at this point in the history
  22. Handle sRGB colours properly

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    84020a6 View commit details
    Browse the repository at this point in the history
  23. Fix comment

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    9de800d View commit details
    Browse the repository at this point in the history
  24. Fix sRGB support and comments

    Fix sRGB support, now when initialising a Renderer you can explicitly
    choose whether to output colors in linear or sRGB color spaces.
    
    Fix examples to show how to render these properly.
    
    Fix comments in examples
    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    2ab0878 View commit details
    Browse the repository at this point in the history
  25. Make a comment more understandable

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    1dee659 View commit details
    Browse the repository at this point in the history
  26. Fix imports in doctests

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    e9c3fed View commit details
    Browse the repository at this point in the history
  27. Copy the full SHA
    caf4809 View commit details
    Browse the repository at this point in the history
  28. Add type aliases for fully-qualified Context types

    John-Mark Allen authored and sanbox-irl committed Sep 5, 2021
    Copy the full SHA
    1cf83d9 View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    7d06d42 View commit details
    Browse the repository at this point in the history