Opened 14 years ago
Last modified 12 years ago
#7050 assigned bug
BGLView /OpenGL resize bug when direct mode is enabled
Reported by: | jackburton | Owned by: | kallisti5 |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/OpenGL Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #6614 | Blocking: | |
Platform: | All |
Description
Launch GLTeapot, grab the resize knob, and start resizing the window very fast lots of times. After a while the application will hang. Reproducible on VirtualBox, didn't try yet on real hardware.
Change History (10)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
I've noticed the same thing happening if you move the window around wildly as well. Grab the window and move it around vigorously. Eventually the teapot will stop rendering inside the view and the app will crash and need to be killed.
follow-up: 5 comment:3 by , 14 years ago
heh, does the teapot image still detach from the windo if you resize after you move it ? I was gonna file a bug report for this months ago but opengl is pretty low on the totem pole as I gather.
comment:4 by , 14 years ago
Summary: | BGLView /OpenGL resize bug → BGLView /OpenGL resize bug when direct mode is enabled |
---|
The bug only shows up when direct mode is enabled. I think what happens is that BGLView::FrameResized() and BGLView::DirectConnected() are interacting in bad ways: FrameResized() is triggered asynchronously by a BMessage, while DirectConnected() is called by releasing a semaphore by the app_server (still asynchronously, though). 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).
follow-up: 6 comment:5 by , 14 years ago
Replying to stargatefan:
heh, does the teapot image still detach from the windo if you resize after you move it ? I was gonna file a bug report for this months ago but opengl is pretty low on the totem pole as I gather.
That has already been reported on #6614.
jackburton, Is it possible that these two issues are related?
comment:6 by , 14 years ago
comment:7 by , 13 years ago
Blocked By: | 6614 added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:8 by , 13 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Reopening, since the symptoms are different (but the cause is the same)
comment:10 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
happens for me as well. When I grab and flail the handle, the teapot window goes black and the window is unresponsive. Rev 40042