remove debug code
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Tue, 28 Dec 2010 07:45:45 +0000 (16:45 +0900)
committerHyoyoung Chang <hyoyoung.chang@samsung.com>
Tue, 28 Dec 2010 07:45:45 +0000 (16:45 +0900)
src/scrcapture.c

index 99a37b8..5607416 100644 (file)
@@ -81,16 +81,12 @@ Eina_Bool capture_current_screen(void *data)
        capimginfo->imgdata = malloc(sizeof(char) * (width*height*4) + 1);
        capimginfo->eo = evas_object_image_add(ad->evas);
 
-       DTRACE("capture current screen 1 - w=%d,h=%d\n", width, height);
-
        char *scrimage = NULL;
        scrimage = scrcapture_capture_screen_by_xv_ext(width, height);
        if (scrimage)
                memcpy(capimginfo->imgdata, scrimage, width*height*4);
        scrcapture_release_screen_by_xv_ext(scrimage);
 
-       DTRACE("capture current screen 2\n");
-
        if (scrimage == NULL || capimginfo->eo == NULL || capimginfo->imgdata == NULL) 
        {
                DTRACE("screen capture fail\n");
@@ -101,16 +97,12 @@ Eina_Bool capture_current_screen(void *data)
                return EINA_FALSE;
        }
 
-       DTRACE("capture current screen 3\n");
-
        evas_object_image_data_set(capimginfo->eo, NULL);
        evas_object_image_size_set(capimginfo->eo, width, height);
        evas_object_image_data_set(capimginfo->eo, capimginfo->imgdata);
        evas_object_image_data_update_add(capimginfo->eo, 0, 0, width, height);
        evas_object_resize(capimginfo->eo, width, height);
 
-       DTRACE("capture current screen 4\n");
-
        ecore_idler_add(_scrcapture_capture_postprocess, capimginfo);
 
        return EINA_TRUE;