2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Qingping Hou
6102dc622f bug fixes for shadow framebuffer implementation 2012-06-23 20:37:33 +08:00
Qingping Hou
165585ecea fix typo in einkfb.c 2012-06-19 11:11:51 +08:00
Qingping Hou
81a846f32f properly free and unmap memory in closeFrameBuffer 2012-06-14 21:03:31 +08:00
Qingping Hou
47ec493da1 implement K4 framebuffer support with shadow blitbuffer
previous implementation make fb.bb has double pitch
compared to other blitbuffer, which leads to segfault
on blitFullFrom method.
2012-06-14 01:43:57 +08:00
Qingping Hou
937a91c297 fix fb:getOrientation method, adjust mode numbering
also use it in screen.lua
2012-06-11 00:09:23 +08:00
Qingping Hou
aaa6b38ef3 add getOrientation method for einkfb module 2012-06-10 23:54:27 +08:00
Qingping Hou
fba5ce51bd Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2012-06-10 21:50:43 +08:00
Qingping Hou
b122e41351 k4 8bpp framebuffer support 2012-06-10 21:50:26 +08:00
Kefu Chai
869c7b573f remove dependency on <linux/fb.h> 2012-06-10 12:39:27 +02: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