Commit graph

24 commits

Author SHA1 Message Date
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
bb3ed3cda9 Use the central IDATA_ATTR define.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:09:11 +00:00
Jens Arnold
3291ae6bfa A couple of optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:21:21 +00:00
Jens Arnold
a142d4d79f Graphics: Lowlevel block function are in IRAM now as they're called often. Switched the masking logic for better readability. Draw modes and lowlevel function types are now defined for all platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6952 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 18:42:24 +00:00
Jens Arnold
7f8cc3f1c6 Ooops...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:33:36 +00:00
Jens Arnold
576908d36a Third part of graphics api rework. Some small but effective optimisations. Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 01:39:50 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
492424bce0 H1x0: Reordered lcd init sequence to match the datasheet, including the recommended pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6897 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:28:55 +00:00
Jens Arnold
1224d578e8 Oops, the XYZ_PIXEL() macros are used elsewhere, so bring them back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6860 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 01:06:24 +00:00
Jens Arnold
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
24a1f94cd7 Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 23:06:06 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
6a556c1740 Preparations for implementing the new graphics api: Ordered lcd bitmap driver defines, variables and functions by function groups. Centralised some definitions, code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:53:54 +00:00
Jens Arnold
ba7dccf15a Fixed graphical glitch occuring in flipped lcd mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6738 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 20:02:05 +00:00
Christian Gmeiner
c6ec0f48a5 moved lcd_getstringsize into font.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6321 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 12:47:16 +00:00
Jens Arnold
0dfc90e70d Made iRiver simulator builds work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5895 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 01:06:14 +00:00
Linus Nielsen Feltzing
8e6619bf1d iRiver: faster screen updates with lcd frame buffer in IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5864 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 11:11:25 +00:00
Jens Arnold
a048ff4c67 The can be more scrolling lines on iRiver...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5835 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 11:15:56 +00:00
Linus Nielsen Feltzing
23756ed5e8 Changed default contrast, aligned thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5801 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:31:46 +00:00
Linus Nielsen Feltzing
f4702040d6 iRiver: Proper LCD init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5669 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 00:00:55 +00:00
Jens Arnold
cced503712 The current lcd_bitmap() implementation is safe for enabling partial font height drawing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5590 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:43:10 +00:00
Jens Arnold
b3303d7022 iRiver fix: The larger LCD_HEIGHT needs larger area fill bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5588 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:16:59 +00:00
Linus Nielsen Feltzing
0b959cf8be iRiver: Now sets the LCD RESET pin correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5412 a1c6a512-1295-4272-9138-f99709370657
2004-11-16 19:18:09 +00:00
Linus Nielsen Feltzing
2a83ce5ddd New LCD driver for iRiver H100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5352 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 06:54:03 +00:00