Skip to content

Feature/graphics abstraction - #392

Draft
toloudis wants to merge 34 commits into
feature/volumecache-pr12-reviewer-guidancefrom
feature/graphics-abstraction
Draft

Feature/graphics abstraction#392
toloudis wants to merge 34 commits into
feature/volumecache-pr12-reviewer-guidancefrom
feature/graphics-abstraction

Conversation

@toloudis

@toloudis toloudis commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

This PR introduces a gfxapi interface layer (Backend, IRenderWindow, Framebuffer, IGLContext, IGestureRenderer, IGraphicsDevice) and a concrete gfxOpenGL backend, replacing direct OpenGL/Qt-GL usage throughout the app and renderlib. It reworks GL-context ownership (new QtGLContext/RendererGLContext/HeadlessGLContext), moves the selection buffer into the gesture renderer, and routes framebuffer/clear operations through the new abstraction.

All opengl calls should now be inside of renderlib/gfxOpenGL, and all Qt dependencies removed from renderlib.

@toloudis
toloudis force-pushed the feature/graphics-abstraction branch from b06670c to bd2db0d Compare August 16, 2026 20:41
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.

refactor: graphics abstraction layer

1 participant