From: Jones, J. A. <jos...@lm...> - 2005-05-25 20:18:24
|
Hi, What kind of error would this produce? We're have some trouble with our Windows install of Chromium 1.8. We have it installed on an SGI IRIX 6.5, and two Windows XP machines. On the SGI if we do the 'python crdemo.conf atlantis' or 'python crdemo.conf atlantis tilesort' things work fine. On the XP machines if we do 'python crdemo.conf atlantis' things work fine, but if we do 'python crdemo.conf atlantis tilesort', the GLUT frame and render frame comes up and then Windows pops up and says some memory can't be written to. Is this a different problem? (hopefully a known one) Here is the crdemo.conf file that was used: # Copyright (c) 2001, Stanford University # All rights reserved # # See the file LICENSE.txt for information on redistributing this software. import sys sys.path.append( '../server' ) from mothership import * if len(sys.argv) > 3 or len(sys.argv) < 2: print 'Usage: %s <demo> [spu]' % sys.argv[0] sys.exit(-1) demo = sys.argv[1] if len(sys.argv) == 3: clientspuname = sys.argv[2] else: clientspuname = 'pack' server_spu = SPU( 'render' ) client_spu = SPU( clientspuname ) W = 500 H = 500 server_spu.Conf( 'window_geometry', [0, 0, W, H] ) server_spu.Conf( 'swap_master_url', "" ) server_node = CRNetworkNode( ) server_node.AddSPU( server_spu ) if (clientspuname == 'tilesort' ): server_node.AddTile( 0, 0, W, H ) client_node = CRApplicationNode( ) client_node.AddSPU( client_spu ) client_spu.AddServer( server_node, 'tcpip' ) client_node.SetApplication( demo ) client_node.StartDir( crbindir ) cr = CR() cr.MTU( 1024*1024 ) cr.AddNode( client_node ) cr.AddNode( server_node ) cr.Go() Thanks, Archie -----Original Message----- From: chr...@li... [mailto:chr...@li...] On Behalf Of Brian Paul Sent: Wednesday, May 25, 2005 1:15 PM To: ma...@co... Cc: chr...@li...; ast...@co...; gor...@co... Subject: Re: [Chromium-dev] Typo in renderspu_wgl.c ma...@co... wrote: > Hi all, > > I think I've spotted a bug in renderspu_wgl.c near line 252 and line 270. > > The bad code: > render_spu.ws.wglDescribePixelFormat( hdc, pixelformat, sizeof(ppfd), > ppfd ); > > Better code: > render_spu.ws.wglDescribePixelFormat( hdc, pixelformat, sizeof(*ppfd), > ppfd ); > > The error near line 270 is similar... > > DescribePixelFormat expects the size of the pixelformat structure (~40 > bytes), not the size of the pointer (4 bytes)! I've checked in the change. Thanks. -Brian ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ Chromium-dev mailing list Chr...@li... https://lists.sourceforge.net/lists/listinfo/chromium-dev |