aquabsd.alps: Offload framebuffer rendering to windows from the vga
device
#10
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.
Before the
aquabsd.alps.win
device existed as it does now, I needed a way to test theaquabsd.alps.vga
device as an X11 client, so I wrote a quick backend (the X11 backend) which just created a window and drew to it using the MIT-SHM extension. Now thataquabsd.alps.win
exists, this means there's a lot of redundant code between the two; this PR aims to merge the X11 backend ofaquabsd.alps.vga
intoaquabsd.alps.win
.The advantages of this are:
aquabsd.alps.win
, as they may now benefit from proper framebuffer support (e.g. for platforms which don't have the graphical acceleration capabilities to create EGL contexts in windows usingaquabsd.alps.ogl
).aquabsd.alps.win
API for the OGL & FB backends rather than two different ones.What needs to be done:
aquabsd.alps.vga
device. (I'm not yet sure how I want this to work; should it be completely removed and theaquabsd_vga
backend somehow merged intoaquabsd.alps.win
, should it be a replacement device foraquabsd.alps.win
, ...?)aquabsd.alps.vga
anymore (depends how I decide the above point is gonna work).aquabsd.alps.vga
.