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

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

allow cairo to use window instead of framebuffer #391

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

Comments

@catfact
Copy link
Collaborator

@catfact catfact 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants