[interfacekit] Re: R3 legacy code in R5 drivers?!?

Rudolf wrote:
> I confirmed that no G400 and Millenium R3 drivers are present on R5: those 
> should be in:
> /boot/beos/system/add_ons/app_server/
> There are still a few there though..
> (Or am I mistaken here??)

I looked in this directory.  All of the add-ons here export the
control_graphics_card call.  One of the add-ons is quite generically
named: "supervga".  It includes a couple of variants of
control_graphics_card: vesa_control_graphics_card and
svga_control_graphics card.  I also note that it is the only add-on in
this directory to use create_area.

If you have access to a G400 or Millenium R3, perhaps you can try
removing this add-on and then running the program that is
supposed to use acceleration.

Also, there is the g400.accelerant in R5.  It also uses create_area.
You may want to try using listarea while using this code to see
if anything interesting is around.

It seems like if you want to implement control_graphics_card
someplace, you'd have to do it in an add-on to the app_server.
Perhaps the accelerant and app_server add-on are
communicating via a shared area, or something like that.

There's also a possibility that you don't need to implement
control_graphics_card, but if you provide the right magic
interface or behavior in your accelerant, than the supervga
add-on will be used.

None of these "designs" seems particularly compelling to me,
actually.

Andrew


Other related posts: