-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
88 changed files
with
35,944 additions
and
663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env python | ||
|
||
Import("env") | ||
|
||
if env["platform"] in ["haiku", "osx", "windows", "linuxbsd"]: | ||
# Thirdparty source files | ||
thirdparty_dir = "#thirdparty/glad/" | ||
thirdparty_sources = [ | ||
"glad.c", | ||
] | ||
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] | ||
|
||
env.Prepend(CPPPATH=[thirdparty_dir]) | ||
|
||
env.Append(CPPDEFINES=["GLAD_ENABLED"]) | ||
env.Append(CPPDEFINES=["GLES_OVER_GL"]) | ||
|
||
env_thirdparty = env.Clone() | ||
env_thirdparty.disable_warnings() | ||
env_thirdparty.add_source_files(env.drivers_sources, thirdparty_sources) | ||
|
||
# Godot source files | ||
env.add_source_files(env.drivers_sources, "*.cpp") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env python | ||
|
||
Import("env") | ||
|
||
env.add_source_files(env.drivers_sources, "*.cpp") | ||
|
||
SConscript("shaders/SCsub") |
Oops, something went wrong.