[haiku-commits] Re: haiku: hrev45219 - src/add-ons/accelerants/radeon_hd headers/private/graphics/radeon_hd

  • From: looncraz <looncraz@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 29 Jan 2013 18:49:51 -0800



Sure!  send me your diff's and i'll try to tie them in somehow.

Man.. there just aren't enough hours in the day :)

 -- Alex




Fantastic!


Okay, you'll want to apply the following patch before anything else:

http://files.looncraz.net/Add-hardware-cursor-2.patch

This should probably be put into the main repository as it addresses a number of issues others had.
( see http://dev.haiku-os.org/ticket/9261 )

Next, the actual radeon_hd work I've actually managed to accomplish:
http://files.looncraz.net/radeon_hd_hwcursor.patch

Please note you will not need to support legacy cursors - only bitmap cursors. You'll get legacy cursor support for free thanks to the first patch listed.

The driver changes show a 1x1 white dot - which moves correctly - and is, indeed, being drawn by the video card. I'm missing something somewhere that will make it work with the 22x22 cursors in Haiku (radeon hd always uses a 64x64 cursor internally).

I was playing around with passing different memory locations to try and get different results with no luck - even tried prying a full 1MB of the frame buffer for the cursor... I think that is where things stand right now...

Thank you for your hard work!  And again for taking this up :-)

--The loon

Other related posts: