[haiku-development] Re: Implement Begin- and EndRectTracking() in the app_server

  • From: Vivek Roy <vivekroyandroid@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 29 Mar 2017 22:59:36 +0530

Hi Stephan,

I was trying to look into the code of the DrawingEngine and see how the
mouse cursor is rendered. I ended up at HWInterface.


I intended to refactor the code so that instead of the mouse-cursor being
something special which is handled directly by the DrawingEngine, there is
instead an anonymous layer of "overlays" composited onto the screen
contents in the "transfer to visible buffer" stage. The code would be
changed to handle any number of "overlays" and the mouse cursor and
tracking rect would just be two examples.


As far as understood, to refactor the code so that the mouse cursor is not
a special case, we need to make changes to the HWInterface.cpp in the
app_server. Tell me if I am wrong and there is some other file which you
intended to refactor for this functionality (or maybe more than one file
needs to be changed).

Thanks,
Vivek

Other related posts: