diff --git a/src/newgal/fbcon/fbvideo.c b/src/newgal/fbcon/fbvideo.c index 3fb6d835..5db4a5aa 100644 --- a/src/newgal/fbcon/fbvideo.c +++ b/src/newgal/fbcon/fbvideo.c @@ -856,7 +856,7 @@ static GAL_Surface *FB_SetVideoMode(_THIS, GAL_Surface *current, #endif /* create shadow screen */ - this->hidden->shadow_screen = GAL_CreateRGBSurface (GAL_SWSURFACE, + this->hidden->shadow_screen = GAL_CreateRGBSurface (GAL_HWSURFACE, current->w, current->h, current->format->BitsPerPixel, current->format->Rmask, current->format->Gmask, diff --git a/src/newgal/shadow/shadow.c b/src/newgal/shadow/shadow.c index 4f979850..c4e6336a 100644 --- a/src/newgal/shadow/shadow.c +++ b/src/newgal/shadow/shadow.c @@ -577,13 +577,11 @@ static void schedule_updaters(_THIS, RECT *dirty_rc) int h = RECTHP(dirty_rc); int i; - /* always use updaters if (h < this->hidden->nr_updaters || (w * h) < MIN_PIXELS_USING_UPDATER) { shadow_fb_ops.refresh(_shadowfbheader, this->hidden->realfb_info, dirty_rc); return; } - */ /* partition the dirty rectangle horizontally */ int span = h / (this->hidden->nr_updaters); @@ -720,9 +718,10 @@ static int create_extra_updaters(_THIS) } pthread_attr_destroy(&attr); + /* for (int i = 0; i < this->hidden->nr_updaters; i++) { sem_post(&this->hidden->sync_sem); - } + }*/ return 0; }