[haiku-bugs] Re: [Haiku] #16502: FillPolygon to view which is child of BBitmap corruption

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 30 Aug 2020 00:54:47 -0000

#16502: FillPolygon to view which is child of BBitmap corruption
------------------------------+-------------------------
  Reporter:  smallstepforman  |      Owner:  nobody
      Type:  bug              |     Status:  new
  Priority:  normal           |  Milestone:  Unscheduled
 Component:  - General        |    Version:  R1/beta2
Resolution:                   |   Keywords:
Blocked By:                   |   Blocking:
  Platform:  All              |
------------------------------+-------------------------

Old description:

I have 2 code paths to draw a BPolygon.  The first one draws directly
from BView::Draw() (via FillPolygon) and works fine .  If I add the same
BView to a BBitmap, then there is occassional corruption when drawing the
BPolygon.  See screenshots.  The grey polygon is done directly via
BView::Draw::FillPolygon.  The coloured polygon is drawn when added to
bitmap (it creates a mask used for compositing).  Saving the BBitmap data
also shows the corruption so it's not the compositing code path.

New description:

 Disregard - I need more sleep.  Please close.

 I have 2 code paths to draw a BPolygon.  The first one draws directly from
 BView::Draw() (via FillPolygon) and works fine .  If I add the same BView
 to a BBitmap, then there is occassional corruption when drawing the
 BPolygon.  See screenshots.  The grey polygon is done directly via
 BView::Draw::FillPolygon.  The coloured polygon is drawn when added to
 bitmap (it creates a mask used for compositing).  Saving the BBitmap data
 also shows the corruption so it's not the compositing code path.

--
Comment (by smallstepforman):

 Please disregard, I need more sleep.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16502#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: