FreeCalypso > hg > fc-selenite
view src/cs/drivers/drv_app/r2d/lcds/PC_CSAMPLE/r2d_task_init_i.c @ 194:a18bf8df5fab
aci_pei.c: sync with Magnetite for (MMI != 0)
There was a change in Magnetite aci3 for (MMI != 0) configuration;
this config does not exist in Selenite, but this change is being
pulled in as a sync in order to keep the diff between Magnetite
and Selenite to a minimum.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 May 2020 07:21:43 +0000 |
parents | b6a5e36de839 |
children |
line wrap: on
line source
/* Used by refresh task to extract bytes from the framebuffer */ #define R2D_MB_PRIM_SIZE 2000 extern UINT32 r2d_p_refresh_buffer[4*R2D_WIDTH*R2D_MWHEIGHT]; static void r2d_refresh_task_init(void) { INT16 i; UINT32 *p; uwire_init_lcd(); p=r2d_p_refresh_buffer; for(i=0;i<4*R2D_WIDTH*R2D_MWHEIGHT;i++) { *p++=0; } } 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; }