[haiku-bugs] Re: [Haiku] #9457: API for Obtaining Cursor Shape Bitmap and Change Notification

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Feb 2013 10:19:51 -0000

#9457: API for Obtaining Cursor Shape Bitmap and Change Notification
----------------------------------+----------------------------
   Reporter:  AGMS                |      Owner:  axeld
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:  cursor, vnc
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by jackburton):

 Replying to [comment:1 axeld]:

 > And finally, having dirty rects would definitely be faster -- to improve
 user responsiveness, you could still prioritize (or even divide) those
 rectangles.

 Indeed. There should be an api (in BScreen, I guess), where an application
 can subscribe to these drawing events, and the app_server would send a
 BMessage with a list of BRects which have been touched by drawing
 operations. I think this has been proposed eons ago (also by me and Marc
 Flerackers, IIRC :-) ) but we never managed to implement this.
 The "hard" part would be avoid slowing down drawing in app_server while
 sending the messages. Having a dedicated thread which sends the messages
 would be the best option, probably.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9457#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: