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

OpenGL #468

Draft
wants to merge 81 commits into
base: master
Choose a base branch
from
Draft

OpenGL #468

wants to merge 81 commits into from

Commits on Mar 1, 2024

  1. Strip out the current software based scaler code

    Since we want to use OpenGL 3.3, we can later move the scalers to
    shaders.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    d4c6858 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    405035b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61a9426 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    20f6894 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0af9ef5 View commit details
    Browse the repository at this point in the history
  6. Basic shader loading

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    8646d3b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e8f1ad3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    424250f View commit details
    Browse the repository at this point in the history
  9. asd

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    46f0936 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a5cc115 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f569123 View commit details
    Browse the repository at this point in the history
  12. Dump code

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    a83e290 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    73c25eb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    11203b6 View commit details
    Browse the repository at this point in the history
  15. Properly SDL clear error in joystick_load_external_mappings

    This was leaving error to SDL_GetError().
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    6681bc3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    34bcb44 View commit details
    Browse the repository at this point in the history
  17. Make it upload vertices to the gpu and do some basic drawing.

    Still requires a cleanup and reorganisation though.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    bfc7326 View commit details
    Browse the repository at this point in the history
  18. Fix test naggings.

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    de128cd View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c6ab515 View commit details
    Browse the repository at this point in the history
  20. Allow more vertex coords.

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    bac5c44 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    646ead5 View commit details
    Browse the repository at this point in the history
  22. Mark cmake paths as advanced

    This hides them from GUIs.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    d187544 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c6228c4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    29773f1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    555f58a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    39cd872 View commit details
    Browse the repository at this point in the history
  27. Hide mp tag debug printer for now

    It causes slowdowns due to walls of text.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    5708064 View commit details
    Browse the repository at this point in the history
  28. Make surfaces hash themselves for identity

    This is a quick and dirty solution for texture IDs. Consider something better later.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    2256005 View commit details
    Browse the repository at this point in the history
  29. Draw textures.

    Palettes etc. still missing, but at least we can now upload textures to an atlas and refer to it from vbos.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ecaf824 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    528ce35 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    7911e1c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    5b21d8d View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    43ee917 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    f010a5f View commit details
    Browse the repository at this point in the history
  35. Upload basic palettes to the vram via ubo.

    Still uses the old palette handling, we need to fix that later.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    baa0e21 View commit details
    Browse the repository at this point in the history
  36. Handle sprite flipping

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    e1ac166 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    5846c41 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ad41d15 View commit details
    Browse the repository at this point in the history
  39. Video enum cleanups

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    561c50f View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    658fa93 View commit details
    Browse the repository at this point in the history
  41. Fix code formatting

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    fa6591f View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    f595699 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    52f731c View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    bdcedab View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    92789ff View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    7de6975 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    97a8059 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    1ab6b84 View commit details
    Browse the repository at this point in the history
  49. Get rid of errno.

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    8dc6e9d View commit details
    Browse the repository at this point in the history
  50. Throw out fseek.

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    1fe3e52 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    ebf07c8 View commit details
    Browse the repository at this point in the history
  52. Add object properties UBO

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    2c55d26 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    c259c3d View commit details
    Browse the repository at this point in the history
  54. Fix batching

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    1e0f192 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    a18c9af View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    05d2c88 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    2437371 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    8eecc17 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    4a2f907 View commit details
    Browse the repository at this point in the history
  60. Load fonts as palettized instead of rgba

    Now it goes to atlas.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    36c0208 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    ac9bbf9 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    c79237a View commit details
    Browse the repository at this point in the history
  63. glVertexAttribIPointer() and palette offset.

    The saga continues.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    5da2aa3 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    bd5a4ff View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    e3dd462 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    275c9d0 View commit details
    Browse the repository at this point in the history
  67. Remove the fonttool as broken

    Also, I don't feel like fixing it and we don't really need it anymore.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    4c92c89 View commit details
    Browse the repository at this point in the history
  68. Disable clang-format for specific parts of music.c and settings.c

    Different versions of clang-format handle these differently, so just silence it.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    e262fd7 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    f98dceb View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    327aebe View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    0d5b7b1 View commit details
    Browse the repository at this point in the history
  72. Fix screenshots.

    Screen captures for newsroom are still borked (for now).
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    8eb0d09 View commit details
    Browse the repository at this point in the history
  73. Quick and dirty grayscale conversion.

    We could precalc the conversion mapping etc. But hey, it works.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    3bcd9ee View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    423a1c6 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    d4ade21 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    91b79b3 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    54e0e53 View commit details
    Browse the repository at this point in the history
  78. Aaargh.

    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c801a1c View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    91acd62 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    7e5b989 View commit details
    Browse the repository at this point in the history
  81. Move text color handling to palette.

    Not quite correct, more fixes needed.
    katajakasa committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ed9f901 View commit details
    Browse the repository at this point in the history