grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub_video_blit_bitmap - mouse pointer implementation.


From: Melki Christian (consultant)
Subject: grub_video_blit_bitmap - mouse pointer implementation.
Date: Tue, 24 Sep 2013 07:39:10 +0000

Hi.

I'm trying to draw a mouse pointer in GRUB. My problem is that the mouse is a 
little bit special.
I would like to draw that bitmap last and ask damaged bitmaps to do refresh 
when refreshing the mouse pointer.
But GRUB does not work that way (Or have I misunderstood? I'd prefer not to 
refresh all bitmaps!)
So what I would temporarily want is a way to copy framebuffer data for the 
mouse-driver to store when undoing the damage.
This probably won't work in all situations, but it's still better than nothing.
GRUB has no functions to extract framebuffer data into a bitmap for the higer 
levels to use later.
So far I have a fully working mouse but it leaves "snail trails" on other 
bitmaps. :)
Does anyone have any hints?

/Christian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]