-
Notifications
You must be signed in to change notification settings - Fork 104
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
FFI interface for Linux framebuffer (eink-oriented for now) #96
Commits on Nov 1, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 86e71e0 - Browse repository at this point
Copy the full SHA 86e71e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd8cb62 - Browse repository at this point
Copy the full SHA bd8cb62View commit details -
we won't likely use it, it is full of bitops, thus pretty slow
Configuration menu - View commit details
-
Copy full SHA for 220143e - Browse repository at this point
Copy the full SHA 220143eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dab4f9 - Browse repository at this point
Copy the full SHA 0dab4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 097fbb1 - Browse repository at this point
Copy the full SHA 097fbb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38e223 - Browse repository at this point
Copy the full SHA f38e223View commit details
Commits on Nov 11, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 8e358fc - Browse repository at this point
Copy the full SHA 8e358fcView commit details -
blitbuffer with much more optimized blitting
this introduces the ability to implement n:m bpp optimized blitting. This allows for a major speedup. Comes with implementation especially for from/to 4bpp blitbuffer blitting.
Configuration menu - View commit details
-
Copy full SHA for c883db4 - Browse repository at this point
Copy the full SHA c883db4View commit details -
use blitbuffer API for conversion
now that blitbuffer API for A8 format exists, we can use the output of mupdf directly.
Configuration menu - View commit details
-
Copy full SHA for e738d11 - Browse repository at this point
Copy the full SHA e738d11View commit details -
adapt blitbuffer API test to deletion of RGB16 format
RGB16 was dropped since it won't likely be used. Reflect this by removing the according test routine.
Configuration menu - View commit details
-
Copy full SHA for 81b7f08 - Browse repository at this point
Copy the full SHA 81b7f08View commit details -
Configuration menu - View commit details
-
Copy full SHA for b46debd - Browse repository at this point
Copy the full SHA b46debdView commit details
Commits on Nov 18, 2013
-
4bpp handling was a bit adapted so rotated 4bpp can now be handled easier
Configuration menu - View commit details
-
Copy full SHA for f42960e - Browse repository at this point
Copy the full SHA f42960eView commit details
Commits on Nov 20, 2013
-
remove test function from blitbuffer.lua
tests are now in our test suite
Configuration menu - View commit details
-
Copy full SHA for 7d1693a - Browse repository at this point
Copy the full SHA 7d1693aView commit details
Commits on Nov 26, 2013
-
Add FFI implementation of drawcontext
Drawcontext was a bunch of accessor methods to a C struct. We can do this easily with FFI.
Configuration menu - View commit details
-
Copy full SHA for 4bfb317 - Browse repository at this point
Copy the full SHA 4bfb317View commit details -
Switch method to get drawcontext struct pointers from Lua
This change is backwards compatible - it will still work for the old way of passing Lua userdata objects.
Configuration menu - View commit details
-
Copy full SHA for e3adb63 - Browse repository at this point
Copy the full SHA e3adb63View commit details -
remove Lua header inclusion from drawcontext.h
drawcontext.h now only serves to provide the declaration of the drawcontext struct.
Configuration menu - View commit details
-
Copy full SHA for c8cd5d3 - Browse repository at this point
Copy the full SHA c8cd5d3View commit details -
Major rework of blitbuffer.lua (again...)
Optimized blitting is removed for now. 4bpp buffer handling is greatly simplified by using Color4{L,U}:set(...) methods. Inversion and rotation are now done by setting according flags for blitbuffers. Flag storage is done in the "allocated" uint8_t struct variable of the classic blitbuffer struct which is still unchanged (and thus compatible to "classic" C blitbuffers as they were before going to FFI). It is quite fast even without optimized blitting routines. Nevertheless, the method to implement optimized routines is still present, so optimized routines could be created later on. It is probably not wise, though, to focus on 4bpp to much now that we can work with other formats, too. For a lot of rendering, we still do 24bpp or 8bpp to 4bpp conversion in C land, then another 4bpp to 8bpp or 16bpp conversion in Lua/FFI when blitting to the framebuffer. This could further be reduced to one conversion (if at all).
Configuration menu - View commit details
-
Copy full SHA for 42fd834 - Browse repository at this point
Copy the full SHA 42fd834View commit details -
Adaptions and bugfixes for SDL framebuffer emulation
Now properly does rotation.
Configuration menu - View commit details
-
Copy full SHA for e65a081 - Browse repository at this point
Copy the full SHA e65a081View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb9e5de - Browse repository at this point
Copy the full SHA eb9e5deView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7414cf - Browse repository at this point
Copy the full SHA d7414cfView commit details -
both methods didn't take inversion into account. Now their implementation respects inversion.
Configuration menu - View commit details
-
Copy full SHA for bc00e46 - Browse repository at this point
Copy the full SHA bc00e46View commit details -
do not build old einkfb, blitbuffer and drawcontext modules use the FFI implementations in koreader-base wrapper
Configuration menu - View commit details
-
Copy full SHA for 5105979 - Browse repository at this point
Copy the full SHA 5105979View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c80d60 - Browse repository at this point
Copy the full SHA 3c80d60View commit details