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

Implement a DirectX 11 renderer #675

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

Commits on Sep 22, 2024

  1. Configuration menu
    Copy the full SHA
    e74189c View commit details
    Browse the repository at this point in the history
  2. (feat): Implement stub DX11 backend.

    Not usable in current state.
    hyblocker committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    5be2f24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1da400 View commit details
    Browse the repository at this point in the history
  4. (feat): Make BeginFrame function take a rendetargetview

    This allows users to render to a render target which may either be the swapchain (in most cases it will be) or a render texture which may then be used elsewhere (eg in a 3D scene).
    hyblocker committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    3dbc64b View commit details
    Browse the repository at this point in the history
  5. (feat): Allow users to overload the default image loader

    We should provide a image loader (in this case the uncompressed TGA loader), but should also allow users using this renderer backend to overload it with their own one. E.g. a user may have libpng in their project and they want to hook libpng into the load image function to load PNGs.
    hyblocker committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    89b8376 View commit details
    Browse the repository at this point in the history
  6. (feat): Scissor region

    hyblocker committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    91e517f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c17d7b2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    651c3ba View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    5b744c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccb940c View commit details
    Browse the repository at this point in the history
  3. (chore): Snake case

    hyblocker committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    52d1ad9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d830fec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    db21e66 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f22dac3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    53e0e66 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    299b69b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4200dac View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b1b3c21 View commit details
    Browse the repository at this point in the history
  11. (feat): Implement CBuffer

    hyblocker committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    24a2c38 View commit details
    Browse the repository at this point in the history
  12. (fix): Link to d3dcompiler

    hyblocker committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d9bab9d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1a723c4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b2e4322 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e0705bd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3e69111 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4880302 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    1572241 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    68acdda View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    afaa119 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    adaf51f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8eb491b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    05e01bf View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e5bd71e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6a34452 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    fc02417 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6742db4 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. (fix): Remove texture cache, release texture after generating texture…

    … view
    
    Improves memory usage and effectively eliminates leaked objects.
    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a034b5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc45636 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d85c76e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b57d1d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d2cc40 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7591ce2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    16b0120 View commit details
    Browse the repository at this point in the history
  8. (chore): Use snake case

    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    d6dbabb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2d578d0 View commit details
    Browse the repository at this point in the history
  10. (feat): Handle Aero Snap

    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0160747 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f6dbb56 View commit details
    Browse the repository at this point in the history
  12. (feat): Add stb_image loader

    #define RMLUI_USE_STB_IMAGE_LOADER to use it, and add stb_image.h to the include dir
    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    aa6bbe0 View commit details
    Browse the repository at this point in the history
  13. (chore): Correct code style

    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b24e51a View commit details
    Browse the repository at this point in the history
  14. (feat): Implement layer system

    Note: Not finished, we still need shaders and filters and compositing
    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2d7b7a0 View commit details
    Browse the repository at this point in the history
  15. (fix): Flip UVs for passthrough

    Passthrough only appears to be used for blitting render textures on GL3, so I'll flip UVs in shader (alternatively we could flip UVs in the quad, but I'll investigate this later).
    hyblocker committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a86f001 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    a5b16d3 View commit details
    Browse the repository at this point in the history
  2. (feat): Implement clip masks

    Currently broken
    hyblocker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    29cd4ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2def0df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d631a7 View commit details
    Browse the repository at this point in the history
  5. (feat): Add all properties to cbuffer struct

    Most are unused currently, will be used when UseShader is implemented.
    hyblocker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    be31214 View commit details
    Browse the repository at this point in the history
  6. (fix): Correct clip masks

    hyblocker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e7ad804 View commit details
    Browse the repository at this point in the history
  7. (feat): Half implement layer compositing

    Filters are ignored currently
    hyblocker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e337ca6 View commit details
    Browse the repository at this point in the history
  8. (feat): Implement shaders

    hyblocker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    06f0946 View commit details
    Browse the repository at this point in the history
  9. (chore): Snake case

    hyblocker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    2b3fa50 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0966a97 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    565a408 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4b73b90 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    35b94ec View commit details
    Browse the repository at this point in the history
  2. (chore): Snake case

    hyblocker committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    adb96d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91262aa View commit details
    Browse the repository at this point in the history
  4. (feat): Implement debug markers

    Temp to fix the rendering bugs
    hyblocker committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    69e4460 View commit details
    Browse the repository at this point in the history
  5. (chore): Spaces not tabs

    hyblocker committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    87e0611 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    ba0dbb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2768cfa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50b203d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4a19c5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40dacf8 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    7f1c779 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf2397b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80bae72 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf869fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04df677 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    42a4082 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2d164ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a7eb5f7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a0f5543 View commit details
    Browse the repository at this point in the history
  10. (chore): Handle transposing matrices?

    Doesn't actually work
    hyblocker committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    de5755a View commit details
    Browse the repository at this point in the history
  11. (feat): Begin implementing BlitRenderTarget

    This is to match the behaviour of glBlitFramebuffers, as on DX11 using CopySubresourceRegion breaks rendering with layers it seems
    hyblocker committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    5e7207b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9225739 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a13dcee View commit details
    Browse the repository at this point in the history
  14. (feat): Add a custom blit implementation

    glBlitFramebuffer doesn't have a direct equivalent, so we have to mimic it's behaviour another way
    hyblocker committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    ca36f57 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    baaf51f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc437f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d63230a View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    e554916 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8188086 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3104f37 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8538211 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    254636a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    064577c View commit details
    Browse the repository at this point in the history
  7. (feat): Better blitting

    hyblocker committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    dc6b3bc View commit details
    Browse the repository at this point in the history
  8. (fix): Correct blitting

    hyblocker committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    a8c9d36 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9745994 View commit details
    Browse the repository at this point in the history
  10. (fix): Correct color matrix implementation

    Not finished. Flickering
    hyblocker committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    974926c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6ca7379 View commit details
    Browse the repository at this point in the history
  12. (fix): Correct binding order

    Eliminates errors in the debug layer
    hyblocker committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    911b51e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2b0673f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6512dc9 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    43799ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b86546 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9651a95 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6bb871e View commit details
    Browse the repository at this point in the history
  5. (fix): Fix colour blending

    hyblocker committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ada1c82 View commit details
    Browse the repository at this point in the history
  6. (feat): Get blur to render something?

    Currently broken. Needs more work
    hyblocker committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    48324d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. (fix): Fix memory leak

    hyblocker committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    82dfb0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b839bff View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. Configuration menu
    Copy the full SHA
    19ddcb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e83f4a View commit details
    Browse the repository at this point in the history
  3. (fix): Improve blur implementation to correct UV offset

    Also add early exit in the case of a kernel of size 0
    hyblocker committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    aa44456 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1dfd0c9 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    be849b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6249f87 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f7f963 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    353a818 View commit details
    Browse the repository at this point in the history
  5. (chore): Remove debug code

    hyblocker committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    1b8655a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d9a7ca3 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. (feat): Add GLFW backend

    hyblocker committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    8a5e50f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ae5aba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ed4753 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Configuration menu
    Copy the full SHA
    14534e2 View commit details
    Browse the repository at this point in the history
  2. (fix): Remove m_geometry_cache

    As per suggestion 1 from  wh1t3lord
    hyblocker committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    6c57849 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Configuration menu
    Copy the full SHA
    8c1d982 View commit details
    Browse the repository at this point in the history