From: jinhyung.jo Date: Mon, 22 Jul 2013 06:51:37 +0000 (+0900) Subject: VIGS : removed the brightness code X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~888 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a324171fff884c9fff0948ffb8bbb4268768f7bb;p=sdk%2Femulator%2Fqemu.git VIGS : removed the brightness code Now the brightness processing is handled by other source(maru_sdl.c or maru_shm.c) Change-Id: I1788c610e17e2b02c52ca20f47a7b90969a0816b Signed-off-by: Jinhyung Jo --- diff --git a/hw/vigs_server.c b/hw/vigs_server.c index e02c39a5d8..317f78a37f 100644 --- a/hw/vigs_server.c +++ b/hw/vigs_server.c @@ -4,9 +4,6 @@ #include "vigs_backend.h" #include "vigs_surface.h" #include "vigs_utils.h" -#ifdef CONFIG_MARU -#include "../tizen/src/hw/maru_brightness.h" -#endif static void vigs_server_surface_destroy_func(gpointer data) { @@ -489,22 +486,7 @@ void vigs_server_update_display(struct vigs_server *server) switch (root_sfc->format) { case vigsp_surface_bgrx8888: case vigsp_surface_bgra8888: -#ifdef CONFIG_MARU - if (brightness_level < BRIGHTNESS_MAX) { - uint32_t level = - brightness_off ? 0 : brightness_tbl[brightness_level]; - for (j = 0; j < root_sfc->ws_sfc->width; ++j) { - *dst++ = ((uint32_t)(*src++) * level) >> 8; - *dst++ = ((uint32_t)(*src++) * level) >> 8; - *dst++ = ((uint32_t)(*src++) * level) >> 8; - *dst++ = ((uint32_t)(*src++) * level) >> 8; - } - } else { -#endif memcpy(dst, src, root_sfc->ws_sfc->width * 4); -#ifdef CONFIG_MARU - } -#endif break; default: assert(false);