FreeCalypso > hg > fc-selenite
diff src/cs/drivers/drv_app/r2d/lcds/ColorPC/r2d_task_init_i.c @ 0:b6a5e36de839
src/cs: initial import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 04:39:26 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cs/drivers/drv_app/r2d/lcds/ColorPC/r2d_task_init_i.c Sun Jul 15 04:39:26 2018 +0000 @@ -0,0 +1,22 @@ +/* Used by refresh task to extract bytes from the +framebuffer */ + + +#define R2D_MB_PRIM_SIZE (4000) + +static void r2d_refresh_task_init(void) +{ +} + +static void r2d_refresh_task_kill(void) +{ +} + +static void r2d_dithering_init(void) +{ + R2D_MALLOC(r2d_mb_id,UINT32,sizeof(UINT32)*4,r2d_g_dithering_matrix); + r2d_g_dithering_matrix[0]=0; + r2d_g_dithering_matrix[1]=2; + r2d_g_dithering_matrix[2]=3; + r2d_g_dithering_matrix[3]=1; +}