mavenized JavaFrameBuffer providing direct-write BufferedImage backed by linux framebuffer#2
Open
esialb wants to merge 80 commits intottww:masterfrom
Open
mavenized JavaFrameBuffer providing direct-write BufferedImage backed by linux framebuffer#2esialb wants to merge 80 commits intottww:masterfrom
esialb wants to merge 80 commits intottww:masterfrom
Conversation
Conflicts: framebuffer/src/main/c/FrameBuffer.c framebuffer/src/main/java/org/tw/pi/framebuffer/FrameBuffer.java
…eature/api-modification
This reverts commit b6b4aa8.
…e written value differs from the cache. Only read from the cache.
|
This is so cool, thank you so much :) |
Author
|
Yikes, looks like this pull request kept following a branch after I submitted it. I'll have to fix that. |
|
Is it good to checkout? I was going to work with this sometime today if you need something cleaned up |
Author
|
Yeah it works just fine. There's just a raspberry pi clock in src/test/java that I was developing for my five year old, which added a ton of commits unrelated to mavenization. |
|
Oh no prob, thanks again :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I forked this project, stole a bunch of the JNI, but everything else is a near total rewrite.
It builds using Apache Maven, and works great on my raspberry pi with one of those TFT displays on /dev/fb1.
Provides a java.awt.image.BufferedImage whose DataBuffer provides direct and immediate read/write access to the linux framebuffer; no more background threads flushing writes since all changes are immediate.
Sample use is to grab a java.awt.Graphics from a FrameBufferedImage and start painting pretty pictures on your pi's TFT.
Should in theory work fine on other linux systems using framebuffer devices, but only tested with a raspberry pi 2, model b.