[haiku-development] Re: Hardware cursor help needed, radeon_hd or VESA or both

  • From: looncraz <looncraz@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 26 Nov 2012 10:04:49 -0800

It's a separate specification. But I recall reading it, and it's really just faking it, it's just things to call to remove and put back the cursor in the framebuffer... So we'd still need to track the cursor state anyway. search for vesa vci hardware cursor. FranÃois.

I found an *OLD* driver that does it, though the code isn't very clear for me ATM.

http://solvbe.cvs.sourceforge.net/viewvc/solvbe/vdd/int33h.cpp?revision=1.4&view=markup

It appears to be doing what I expected, though:

1. Request memory region from graphics memory.
2. Copy cursor bitmap into that memory
3. Tell video card where cursor goes
4. Tell video card cursor is visible

The video card does the overlay work, which makes it a real hardware cursor... unless I'm simply missing something...

I'll see if I can find a better driver or make do with this to get it working in VMWare...

Thanks!

--The loon

Other related posts: