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

allow cairo to use window instead of framebuffer #391

Open
catfact opened this issue Jun 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@catfact
Copy link
Collaborator

commented Jun 1, 2018

for development / test away from norns hardware.

shouldn't be difficult:

  1. provide alternative function to create cairo surface from window instead of FB:
    https://github.com/catfact/norns/blob/master/matron/src/hardware/screen.c#L66

(specifically, would probably have to first create the window using Xlib functions, then cairo_create_x11_surface - see https://cairographics.org/Xlib/ )

  1. add a preprocessor flag and/or matron argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.