[haiku-bugs] Re: [Haiku] #7050: BGLView /OpenGL resize bug when direct mode is enabled (was: BGLView /OpenGL resize bug)

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Fri, 31 Dec 2010 08:36:48 -0000

#7050: BGLView /OpenGL resize bug when direct mode is enabled
------------------------------+------------------------------
  Reporter:  jackburton       |        Owner:  korli
      Type:  bug              |       Status:  new
  Priority:  normal           |    Milestone:  R1
 Component:  Kits/OpenGL Kit  |      Version:  R1/Development
Resolution:                   |     Keywords:
Blocked By:                   |  Has a Patch:  0
  Platform:  All              |     Blocking:
------------------------------+------------------------------

Comment (by jackburton):

 I think what happens is that BGLView::FrameResized() and
 BGLView::DirectConnected() are interacting in bad ways: FrameResized() is
 triggered asynchronously, while DirectConnected() is called synchronously.
 And in fact, the bug only shows up when direct mode is enabled.
 In both these functions we change some member variables which are closely
 connected and depends one on the other (fBounds and the direct_buffer_info
 stuff).

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #7050: BGLView /OpenGL resize bug when direct mode is enabled (was: BGLView /OpenGL resize bug) - jackburton