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

Framebuffer #1543

Open
wants to merge 99 commits into
base: master
Choose a base branch
from
Open

Framebuffer #1543

wants to merge 99 commits into from

Conversation

piranna
Copy link
Contributor

@piranna piranna commented Mar 22, 2020

Updated support for Linux framebuffer. This is build on top of #1540 and is the most complete and complex of the pull-request I've send (basically agregates all the changes), having abstracted ScreenBackend class, updated FbDev support, VSync, double buffering, and also is capable of detect the actual driver features.

Posible improvements would be to try to use double buffering and flip buffers by default (the most performance optimal alternative), and maybe remove the code to notify when paint operations have ocurred, this was from a previous try before being able to enable VSync, but could be useful too, so I left it.

The code is fully working and updated, but maybe there's too much changes to review at once. You can check and merge the other pull-request first one-by-one, so changes on this one will be smaller. You can see the full relationship between all of them at https://github.com/piranna/node-canvas/network.

  • Have you updated CHANGELOG.md?

…r to review and

approve. It's a squashed version with the final code, for references on the
development history and commit logs go to the original issue.
…ations

Painting operations are `fill()`, `stroke()`, `addPage()`, `putImageData()`
and `drawImage()`.
# Conflicts:
#	.travis.yml
#	package.json
#	test/canvas.test.js
#	test/image.test.js
# Conflicts:
#	.travis.yml
#	package.json
#	test/canvas.test.js
#	test/image.test.js
# Conflicts:
#	.travis.yml
#	package.json
#	test/canvas.test.js
#	test/image.test.js
# Conflicts:
#	src/Canvas.cc
# Conflicts:
#	src/Canvas.cc
@piranna
Copy link
Contributor Author

piranna commented Oct 17, 2020

Code sync'ed with latest master branch and all tests are fixed and passing in all platforms. Can this pull-request be reviewed and merged? :-)

@piranna piranna mentioned this pull request Aug 15, 2021
@piranna
Copy link
Contributor Author

piranna commented Sep 23, 2021

Can this pull-request be reviewed and merged? :-)

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.

None yet

1 participant