Skip to content

OpenGL UI components - #52

Merged
Flamefire merged 40 commits into
Return-To-The-Roots:masterfrom
morganchristiansson:gl2-ui
Jul 8, 2026
Merged

OpenGL UI components#52
Flamefire merged 40 commits into
Return-To-The-Roots:masterfrom
morganchristiansson:gl2-ui

Conversation

@morganchristiansson

Copy link
Copy Markdown
Contributor

Draw all UI components with OpenGL.
Keeps UI component SDL_Surface for a smaller PR but avoids 4K penalty of uploading a 4K 32bit 33MB surface each frame 2GB per second. Only small component surfaces are uploaded each frame.
Splash, main menu and options screens are entirely OpenGL.

Replacing SDL_Surface in each component with OpenGL to be addressed in future PR.
Terrain editor Surf_Map remains 2D/SDL/SGE in this branch.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants