Skip to content

OpenGL UI (on top of #50 OpenGL backgrounds & cursor)#52

Open
morganchristiansson wants to merge 7 commits into
Return-To-The-Roots:masterfrom
morganchristiansson:gl2-ui
Open

OpenGL UI (on top of #50 OpenGL backgrounds & cursor)#52
morganchristiansson wants to merge 7 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.

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.

1 participant