Skip to content
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

Draft Feature: OpenGL video driver #7744

Draft
wants to merge 35 commits into
base: master
from

Conversation

@michicc
Copy link
Member

michicc commented Sep 16, 2019

This PR provides a video driver that uses OpenGL to transfer the video buffer to the screen, including palette animations.

Right now, the driver is Windows only and tested on hardware I have around (which is mainly recent nVidia). Results on other hardware may vary. Results on others operating systems need implementing first.

This is just a driver backend, NOT a re-implementation of the whole blitter stack, i.e. OpenGL is not used to draw single sprites to the screen. I did add a simple 40bpp-anim blitter, which is basically a 32bpp blitter with "hardware" palette remap support. It could probably be optimised using SSE, just like the regular 32bpp blitters.

Enable driver debug level 3 if you want to verify that you are in fact using the new OpenGL driver.

@michicc

This comment has been minimized.

Copy link
Member Author

michicc commented Sep 16, 2019

And as usual when having done heavy rebasing earlier, the display order of the commits on GitHub is wrong.

@michicc michicc force-pushed the michicc:opengl branch from 3d4e271 to 4b93d31 Sep 17, 2019
michicc added 24 commits Sep 17, 2019
@michicc michicc force-pushed the michicc:opengl branch from 4b93d31 to a27d651 Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.