<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>GraphicsWindowWin32 Minimize Console Flood</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=484011118-31072008><FONT face=Arial
size=2>Looks like this code reports possibly several different errors, all using
the same routine, which uses osg::notify(WARN) under the hood. As a workaround,
try setting your notify level to FATAL.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=484011118-31072008><FONT face=Arial
size=2> -Paul</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=484011118-31072008></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
osg-users-bounces@lists.openscenegraph.org
[mailto:osg-users-bounces@lists.openscenegraph.org] <B>On Behalf Of
</B>Argentieri, John-P63223<BR><B>Sent:</B> Thursday, July 31, 2008 11:27
AM<BR><B>To:</B> osg-users@openscenegraph.org<BR><B>Subject:</B> Re:
[osg-users] GraphicsWindowWin32 Minimize Console Flood<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008>Paul,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008>I tried this on OSG 2.6 RC1 built in VC7.1 using
CMake 2.6. When I do the exact same thing you describe here, I get the
following output repeating:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008>Error: [Screen #0]
GraphicsWindowWin32::swapBuffersImplementation() - Unable to<BR>swap display
buffers</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008>Right now, I am not able to dedicate any time to
producing fixes for OSG. You see, I can't stop writing my own bugs!
:)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008>Thanks,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=747062117-31072008>John</SPAN></FONT></DIV><FONT face=Arial
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
osg-users-bounces@lists.openscenegraph.org
[mailto:osg-users-bounces@lists.openscenegraph.org] <B>On Behalf Of </B>Paul
Martz<BR><B>Sent:</B> Thursday, July 31, 2008 11:13 AM<BR><B>To:</B>
'OpenSceneGraph Users'<BR><B>Subject:</B> Re: [osg-users] GraphicsWindowWin32
Minimize Console Flood<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2>First of all, fixes are gleefully accepted. :-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2>Secondly, which console are you referring to? If I run cmd.exe, enter
'osgviewer cow.osg', hit the 'f' key to go to windowed mode, then minimize the
window, I see no messages in the cmd.exe window.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2>Please provide steps for reproduction (or better yet, see the first
paragraph...).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2> -Paul</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125240915-31072008><FONT face=Arial
size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
osg-users-bounces@lists.openscenegraph.org
[mailto:osg-users-bounces@lists.openscenegraph.org] <B>On Behalf Of
</B>Argentieri, John-P63223<BR><B>Sent:</B> Thursday, July 31, 2008 8:49
AM<BR><B>To:</B> osg-users@openscenegraph.org<BR><B>Subject:</B> [osg-users]
GraphicsWindowWin32 Minimize Console Flood<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello osg gang.</FONT> </P>
<P><FONT face=Arial size=2>I'm sure that I'm not the only one that would
like to see this --</FONT> </P>
<P><FONT face=Arial size=2>How about fixing GraphicsWindowWin32 when it is
minimized to stop flooding the console in OSG 2.6? The console currently
gets flooded with makeCurrent/swapBuffers failed messages if the window is
minimized.</FONT></P>
<P><FONT face=Arial size=2>It's not as exciting as KDTree implementations,
but a lot of people actually use a Microsoft OS. I'm sure you guys will fix
it sooner or later, like you did with the texture compression in osgconv on
windows. It's just that I'd like to see it sooner because some of our osg
based projects are nearing completion.</FONT></P>
<P><FONT face=Arial size=2>Thanks to all for a superb and free API,</FONT>
<BR><B><FONT face=Arial size=2>John Argentieri</FONT></B> <BR><B><FONT
face=Arial size=2>Software Engineer</FONT></B> <BR><B><FONT face=GDCorp
color=#0000ff size=1>GENERAL DYNAMICS</FONT></B> <BR><B><FONT face=Arial
color=#0000ff size=2>C4 Systems</FONT><FONT face=GDCorp color=#0000ff
size=1> </FONT></B><BR><B><FONT face=Arial
size=2>John.Argentieri@gdc4s.com</FONT></B> </P>
<P><B><FONT face=Arial size=1>"This email message is for the sole use of the
intended recipient(s) and may contain GDC4S confidential or privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not an intended recipient, please contact the sender
by reply email and destroy all copies of the original
message.</FONT></B><FONT face=Arial
size=1>"</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>