Speed-up gfxterm by saving intermediate results in index+alpha

format.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-05-04 13:58:30 +02:00
1 parent 0fb356a385
commit 92323d1fb0
6 files changed
+613 -121

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ grub_virtual_screen_setup (unsigned int x, unsigned int y,
grub_video_create_render_target (&text_layer,
virtual_screen.width,
virtual_screen.height,
GRUB_VIDEO_MODE_TYPE_RGB
GRUB_VIDEO_MODE_TYPE_INDEX_COLOR
| GRUB_VIDEO_MODE_TYPE_ALPHA);
if (grub_errno != GRUB_ERR_NONE)
return grub_errno;