Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Robert Osfield
Hi Eron, I'm not a windows developer so can only comment in general. My thought is that it could well be an issue with the windowing systems addition of the shadow not playing well with double of the OpenGL window with the drivers you are using. I kinda doubt there there will be an option we

Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Schmidt, Richard
Hi, we are having the same issues here and I think the problem is related to multithreading. One solution may be to sync your drawing thread to the drawing of windows or to sync the swap operation in double buffered mode. I don't know if that helps, it's just a guess. Richard

Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Simon Hammett
No it's not multi threading. My single threaded non OSG apps do the same, and that's with my OpenGl rendering code called in response to WM_PAINT. It's something to do with the back buffer swap overwriting the screen without being properly synchronised with GDI but I've never had time to

Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Eron Steger
- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Simon Hammett Sent: December-15-08 5:04 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon Robert is quite correct; it's nothing

Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Simon Hammett
Robert is quite correct; it's nothing to do with OSG. (nor your driver version) My raw OpenGl programs have the same problem and so do quite a few other none OSG programs. I've never been bothered enough to investigate myself though. A quick dirty solution is just to disable screen updates when

Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Simon Hammett
Curious. Could you provide a really stripped down program which doesn't have dodgy menus? mfc / atl or raw win32, as I don't have any other GUI toolkits setup. I can make one out of my programs but you've already looked at one wrong program so another wrong one isn't going to help... 2008/12/15

Re: [osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-15 Thread Eron Steger
The issue seems like it may be with vsync. When I setup my video card to enable vertical sync by default, the problem is a lot less pronounced (arguably good enough not to worry about). I'm guessing the programs that seemed to work were explicitly enabling vertical sync. I believe I've

[osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-14 Thread Eron Steger
When menu shadows in Windows XP are enabled, I get a flickering artifact where some menu shadows overlaps with the area being rendered. This happens with the build in examples, such as osglogo.exe. I'm allowing the osgViewer module to create the window, using the OSG_WINDOW environment