Qingping Hou
768e7e12e2
bug fix: getPitch should return line_length/2
12 years ago
Qingping Hou
88f0bb1dca
add getPitch method to einkfb.c
12 years ago
Qingping Hou
21abe6b110
adapt refresh type code in fillMxcfbUpdateData
...
just to keep consistent with the old refresh type, i.e.
0 for full refresh and 1 for partial
12 years ago
Qingping Hou
b1256c98fc
add more comments
12 years ago
Qingping Hou
267c5b16fc
set refresh type on eink update in fillMxcfbUpdateData
12 years ago
Qingping Hou
e80987c430
rename mxcfb_update_data51 to mxcfb_update_data
...
as suggested by eureka@mobileread:
http://www.mobileread.com/forums/showthread.php?p=2337061#post2337061
12 years ago
eureka
15e0af2857
update mxcfb_alt_buffer_data struct, added MXCFB_SEND_UPDATE51
...
* mxcfb_alt_buffer_data is modified according to amazon's source
* use MXCFB_SEND_UPDATE51 instead of magic raw number for update
12 years ago
Qingping Hou
334f680598
use proper eink update function for KT
12 years ago
kai771
77a322f45f
Implements Kindle screen rotate on emulator
...
Conflicts:
einkfb.c
12 years ago
Qingping Hou
a43d1f7ae2
add kindlePaperWhite support for einkfb module
12 years ago
Qingping Hou
6102dc622f
bug fixes for shadow framebuffer implementation
12 years ago
Qingping Hou
165585ecea
fix typo in einkfb.c
12 years ago
Qingping Hou
81a846f32f
properly free and unmap memory in closeFrameBuffer
12 years ago
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.
12 years ago
Qingping Hou
937a91c297
fix fb:getOrientation method, adjust mode numbering
...
also use it in screen.lua
12 years ago
Qingping Hou
aaa6b38ef3
add getOrientation method for einkfb module
12 years ago
Qingping Hou
fba5ce51bd
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code
12 years ago
Qingping Hou
b122e41351
k4 8bpp framebuffer support
12 years ago
Kefu Chai
869c7b573f
remove dependency on <linux/fb.h>
12 years ago
HW
ec905a5a13
fixed various bugs in pointer handling
13 years ago
Qingping Hou
a24fca5b5c
mod: simulate full screen update in SDL emulator
13 years ago
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.
13 years ago
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.
13 years ago
HW
41aa17082b
reworked screen update emulation to support ranges
13 years ago
HW
b49b776962
changed meaning of eink refresh function arguments
...
now they specify width/height instead of bottom right coordinates
13 years ago
HW
485890f0fd
fixed bug (oversight in refactoring framebuffer)
13 years ago
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
13 years ago
HW
a02ae3a460
Added kerning for rendering text
13 years ago
HW
b38b75298a
fixed blitting for uneven horizontal offsets/dests
13 years ago
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.
13 years ago
HW
2414a4b9ec
fixed bugs: initialization in einkfb.c, cache aging
13 years ago
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.
13 years ago
HW
7fafc61bb8
debug output leftover removed
13 years ago
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.
13 years ago
HW
0c24e3c7e0
initial project, basic reader working
13 years ago