forked from len0rd/rockbox
Greyscale library: Plugins can now put the management structure in IRAM for higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
43cc03457d
commit
a72499a125
15 changed files with 110 additions and 90 deletions
|
|
@ -44,6 +44,7 @@ static int redfactor = 1, greenfactor = 2, bluefactor = 3;
|
|||
static int redphase = 0, greenphase = 50, bluephase = 100;
|
||||
/* lower chance of gray at regular intervals */
|
||||
#else
|
||||
GREY_INFO_STRUCT
|
||||
static unsigned char colours[256]; /* Smooth transition of shades */
|
||||
static unsigned char greybuffer[LCD_HEIGHT*LCD_WIDTH]; /* off screen buffer */
|
||||
static unsigned char *gbuf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue