Changes between Version 1 and Version 2 of Ticket #7050, comment 4


Ignore:
Timestamp:
Dec 31, 2010, 9:07:33 AM (14 years ago)
Author:
jackburton

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7050, comment 4

    v1 v2  
    11The bug only shows up when direct mode is enabled.
    2 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.
     2I think what happens is that BGLView::FrameResized() and BGLView::DirectConnected() are interacting in bad ways:
     3FrameResized() is triggered asynchronously by a BMessage, while DirectConnected() is called by releasing a semaphore by the app_server (still asynchronously, though).
    34In 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).