From fa7eb56c84f2e338ed5ff62dfb79e6bf513ddcdb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 13 Jan 2008 18:39:09 +0000 Subject: Greyscale library: * Defer application of lcd linearisation + gamma in buffered mode to the actual update. This simplifies the update function (grey_update() and grey_update_rect() now are just calls to grey_ub_gray_bitmap_part()), and makes DRMODE_COMPLEMENT work properly. * Make the simulator version work and behave more similar to the target version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16080 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/grey.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/plugins/lib/grey.h') diff --git a/apps/plugins/lib/grey.h b/apps/plugins/lib/grey.h index 84b6687..4fc47e1 100644 --- a/apps/plugins/lib/grey.h +++ b/apps/plugins/lib/grey.h @@ -155,14 +155,10 @@ struct _grey_info #endif unsigned long flags; /* various flags, see #defines */ struct plugin_api *rb; /* plugin API pointer */ -#ifndef SIMULATOR unsigned char *values; /* start of greyscale pixel values */ unsigned char *phases; /* start of greyscale pixel phases */ -#endif unsigned char *buffer; /* start of chunky pixel buffer (for buffered mode) */ unsigned char gvalue[256]; /* calculated brightness -> greyvalue table */ - int fg_val; /* current foreground value */ - int bg_val; /* current background value */ int fg_brightness; /* current foreground brightness */ int bg_brightness; /* current background brightness */ int drawmode; /* current draw mode */ -- cgit v1.1