[haiku-development] ConstrainClippingRegion, BeOS Compatibility

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 17 Mar 2008 16:21:57 +0100

Hi all,

trying to track down the redraw issues of Firefox on Haiku, I have written 
a little test application for ContrainClippingRegion() in combination with 
SetOrigin(). Both BeOS (ZETA) app_server are broken in this regard. If you 
do this in your implementation of BView::Draw():

SetOrigin(someOrigin);
ConstrainClippingRegion(&someRegion);

FillRect(someRect);

...the part(s) of the rect which are drawn to the screen are seemingly 
random, unless the entire view is drawn. 

Other related posts: