-
Notifications
You must be signed in to change notification settings - Fork 75
Make the modern GL renderer compatible with OpenGL 2.0/OpenGL ES 2.0 #252
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
Merged
Merged
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
669b230
gles2 take 2??
cobaltgit 98d72c2
remove remnants
cobaltgit c3c4f3e
forgot to guard some vertex array calls...
cobaltgit 4f93c84
less hacky GLES2 fallback...but
cobaltgit 151f9b8
glDestroy: guard deletevertexarrays
cobaltgit 75acecf
better GLES 3 check
cobaltgit dedafbf
stuff
cobaltgit bffe4a9
(hackily) stub out shaders on gles2
cobaltgit 549ec8e
fix VAO check for GLES3
cobaltgit dc607af
better gles3 check
cobaltgit 2330cce
fix sdl2/3 sharting the bed when compiling a shader in gles3 mode
cobaltgit aa41496
slim shady
cobaltgit ced0235
power of two texparameteri
cobaltgit 3e1cde9
blegh
cobaltgit dd7f5ed
fixy fixy
cobaltgit 48190c6
force off VAOs for GLES2 for now and move up SDL GLES2 fallback
cobaltgit e611047
try bring back VAOs for GLES2 systems that have the VAO extension
cobaltgit 6ec0c73
also add vao extension to GLES glad
cobaltgit 3006ad1
remember you're semicolons
cobaltgit 592cd27
gate fallback vao functions behind gles
cobaltgit 6e94ec5
better vao check + fix web build
cobaltgit 69da76c
stuff
cobaltgit 477b947
society if the web build was dropped
cobaltgit ab65a08
screw you *unfalls your back*
cobaltgit 532dd46
and here
cobaltgit 5d8c823
Make the modern GL renderer compatible with OpenGL 2.1
cobaltgit c6b1b06
Merge pull request #3 from cobaltgit/modern-gl2
cobaltgit f2cea3d
fix glfw2
cobaltgit 8fb010e
fix web
cobaltgit 561c68f
)
cobaltgit 32992ca
FBO runtime check
cobaltgit eb33b72
wip: check for gles at runtime instead of compile-time
cobaltgit f4548bd
gles runtime check except it doesn't work
cobaltgit 8be83ca
fix build, make shaders work with opengl 3.0
cobaltgit e7ddcfd
remove unused gl funcs
cobaltgit 6e8cbe1
fix glfw2
cobaltgit da1d85b
what
cobaltgit a98d7c1
cobalt poopensharten
cobaltgit 6674181
wipe ENABLE_GLES from the face of the earth...still need to fix the p…
cobaltgit f3f4a8c
proper gl runtime fallback blegh someone test glfw2 with both renderers
cobaltgit c4c6a5e
glfw3: use the damn title
cobaltgit 26d4ba1
match glfw gl context errors to sdl
cobaltgit 7d680e8
shithousery to get opengl 2.0 shaders working
cobaltgit 5d3fc4a
blegh
cobaltgit 24516c4
safeStrdup
cobaltgit 0bbc770
merge upstream
cobaltgit b72df77
manually reset GL attributes on SDL 2.0.0/2.0.1
cobaltgit 7b15b18
merge again grrr
cobaltgit e6cbd3d
use SDL_VERSION_ATLEAST
cobaltgit dacb734
only reset touched attributes
cobaltgit 0470041
cleanup
cobaltgit 9925b61
DNDEBUG
cobaltgit 3bf7c2d
stuff
cobaltgit 7355e7c
better fbo check
cobaltgit 5a1399c
nvm
cobaltgit 1140d52
no guard
cobaltgit 0f3d3f0
get rid of stray ifdefs in glfw2
cobaltgit c83e886
camelCase
cobaltgit 2c02a2d
GLFW_OPENGL_ES_API
cobaltgit ff53dcf
GLFW_CLIENT_API
cobaltgit e24f1ba
remove gles from glfw2
cobaltgit 65ec943
camelcase
cobaltgit 58705d0
cleanup
cobaltgit fdf6c5c
dedent
cobaltgit 861783e
fix legacy-gl
cobaltgit bd823cd
software
cobaltgit a1dba77
stuff
cobaltgit eac0579
stuff, use glgetstringi for opengl 3+
cobaltgit 4ecdd79
-werror count your days
cobaltgit c526a58
grrrr
cobaltgit 575d7c5
what
cobaltgit 4677521
stupid wasm target
cobaltgit 0df732c
i am literally half-asleep doing this
cobaltgit 6f3ca20
crapple
cobaltgit 8068993
ufo: *flies past*
cobaltgit 79a5b19
sdl3 fix stoopid
cobaltgit 777b3d8
remove core profile, better fbo/vao checks
cobaltgit 7d515cd
also remove core from glfw2 for the <5 people who use that windowing …
cobaltgit 395ffd3
remove possibly unused defines
cobaltgit c48ce24
comment
cobaltgit 82362f9
legacy-gl: bail if FBOs unsupported
cobaltgit 5c4b620
legacy-gl: change fbo error message
cobaltgit 558bb2f
fix ps3
cobaltgit 6ee0c55
shut up and merge: gaiden
cobaltgit 8d7cea8
fix ps3 2: electric boogaloo
cobaltgit 7a14b4a
fix compilers older than myself
cobaltgit 7492a2d
cast mallocs
cobaltgit 78eca22
forgot one
cobaltgit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.