2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
kai771
3f6bea1220 Implements Kindle screen rotate on emulator 2012-11-16 22:21:59 +01:00
Kefu Chai
0e561c610a remove dependency on <linux/fb.h> 2012-06-09 21:56:19 +08:00
HW
ec905a5a13 fixed various bugs in pointer handling 2012-04-16 22:51:13 +02:00
Qingping Hou
a24fca5b5c mod: simulate full screen update in SDL emulator 2012-03-31 21:09:06 +08:00
HW
8869c52c31 fix a Lua 5.0 syntax that was deprecated in 5.1
luaL_reg is now renamed to luaL_Reg. Lua 5.2 does not know about
the old name anymore, Lua 5.1.x had backward compatibility.
2012-03-19 19:11:32 +01:00
Qingping Hou
319826c385 mod: screen rotation implemented by ioctl
Now you get a instance rotate :) With only one bug.
I have to restore to previous rotation state of the
native system after exists. Because the native system
does poll the new rotation state that changed by ioctl.

Currently, I don't know how to force the native system
to detect the changes.
2012-03-09 18:34:56 +08:00
HW
41aa17082b reworked screen update emulation to support ranges 2011-12-08 23:43:37 +01:00
HW
b49b776962 changed meaning of eink refresh function arguments
now they specify width/height instead of bottom right coordinates
2011-12-08 00:38:12 +01:00
HW
485890f0fd fixed bug (oversight in refactoring framebuffer) 2011-12-02 23:14:07 +01:00
HW
f739baff5f moved blitting over to blitbuffer API
the framebuffer "object" now has a "member" that exposes the blitbuffer
API for the framebuffer pixmap. This allows to reuse blitting & Co for
blitbuffer-to-blitbuffer operations
2011-12-02 01:31:13 +01:00
HW
a02ae3a460 Added kerning for rendering text 2011-12-01 16:11:43 +01:00
HW
b38b75298a fixed blitting for uneven horizontal offsets/dests 2011-12-01 14:28:10 +01:00
HW
f307264fb6 added freetype text rendering (still buggy)
this allows to render glyphs and also brings a simple
engine for rendering UTF-8 strings onto the framebuffer.
blitting to uneven offset is implemented here, too, but
needs more work and is still buggy.

In the end, this will allow for a simple GUI.
2011-12-01 01:35:53 +01:00
HW
2414a4b9ec fixed bugs: initialization in einkfb.c, cache aging 2011-11-20 23:01:22 +01:00
HW
c2dd2d9897 switched blitbuffer to 4bpp (from 8bpp alpha + 8bpp gray)
this should allow to cache more, bigger pixmaps. We'll need this for
zoomed-in pages.
2011-11-20 21:29:59 +01:00
HW
7fafc61bb8 debug output leftover removed 2011-11-17 00:04:15 +01:00
HW
2a789efefb changed/enabled reader device emulation
The sources can now conditionally compile emulation code
for the e-ink framebuffer and input events.
It uses SDL for doing that, so you need this installed
if you want to use emulation (you do not need it if you're
only compiling for the e-ink device).
This allows for rapid testing of new code.
2011-11-16 23:50:00 +01:00
HW
0c24e3c7e0 initial project, basic reader working 2011-11-14 18:30:16 +01:00