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

Add OpenGL renderer #53150

Closed
wants to merge 33 commits into from
Closed

Commits on Oct 26, 2021

  1. Godot 4 GLES2 2D renderer + linux display manager

    First implementation with linux display manager
    Co-authored-by:clayjohn <claynjohn@gmail.com>
    Co-authored-by:Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
    lawnjelly authored and Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    22fb0da View commit details
    Browse the repository at this point in the history
  2. Added GLES2 vsync support

    lawnjelly authored and Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    5d7741a View commit details
    Browse the repository at this point in the history
  3. GLES2 tidying, TIME and bootscreen

    lawnjelly authored and Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    6fc6fa5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eee42cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    13a49a6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b368ce4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    695aa1f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9446ce2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    32e0b15 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    08a4fab View commit details
    Browse the repository at this point in the history
  11. Rename GLES2 driver to OpenGL [ci skip]

    This is consistent with the Vulkan driver which does not specify
    a version within the driver name.
    
    Moreover, this avoids confusion with different OpenGL versions being
    used depending on the platform (OpenGL on desktop, OpenGL ES on mobile).
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    4919480 View commit details
    Browse the repository at this point in the history
  12. [WIP] Initialize OpenGL 3.3 / OpenGL ES 3.0 context [ci skip]

    Shaders don't compile yet.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    2f7ef59 View commit details
    Browse the repository at this point in the history
  13. Port 2D shader to GLSL ES 3.0 to fix shader compilation [ci skip]

    This does not fix rendering due to incorrect OpenGL usage.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    dc22558 View commit details
    Browse the repository at this point in the history
  14. Revert "Port 2D shader to GLSL ES 3.0 to fix shader compilation [ci s…

    …kip]"
    
    We'll try to use the GLSL ES 1.0 shaders directly for now.
    
    This reverts commit c945b56b41655f815df92025479c0713397365fe.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    6b1d1d1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ef5270f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0bcfa9a View commit details
    Browse the repository at this point in the history
  17. Use OpenGL compatibility profile to fix rendering for now

    The renderer currently relies on deprecated OpenGL APIs.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    11669cd View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    16f812f View commit details
    Browse the repository at this point in the history
  19. Update the VideoDriver enum value for the OpenGL renderer

    - Move Vulkan to the top of the enum to be consistent with the editor
      dropdown and project setting.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    d7a46e3 View commit details
    Browse the repository at this point in the history
  20. Rename all references to GLES2 to OpenGL

    - Remove some unused GLES3 builder code.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    d6b7e66 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5ef6450 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6f9fa74 View commit details
    Browse the repository at this point in the history
  23. Always accept title-case driver names to make the OpenGL project sett…

    …ing work
    
    - Mark the driver name setting as requiring a project restart.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    d781c8e View commit details
    Browse the repository at this point in the history
  24. Rename GLES_<platform>_ENABLED defines to OPENGL_<platform>_ENABLED

    This also enables building OpenGL for Windows.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    80361cf View commit details
    Browse the repository at this point in the history
  25. Replace platform-specific OpenGL defines with OPENGL_ENABLED

    This is consistent with `VULKAN_ENABLED`.
    Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    e724dbf View commit details
    Browse the repository at this point in the history
  26. Fix OpenGL initialization on Windows

    clayjohn authored and Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    fc043bc View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1204e32 View commit details
    Browse the repository at this point in the history
  28. Use OpenGL 3.3 Core Profile (#7)

    clayjohn authored and Calinou committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    32b3bf7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    d5c32e8 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    7001781 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Hide renderer selection dropdown until OpenGL support is more mature

    The renderer can still be changed in the Project Settings or using
    the `--rendering-driver opengl` command line argument.
    Calinou committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    582c18a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34bf390 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d357e7f View commit details
    Browse the repository at this point in the history