nanogui: GrCopyArea failing with PixMap Source


Previous by date: 18 Aug 2000 09:11:50 -0000 viewml on microwindows, q
Next by date: 18 Aug 2000 09:11:50 -0000 Re: GrCopyArea failing with PixMap Source, Greg Haerr
Previous in thread:
Next in thread: 18 Aug 2000 09:11:50 -0000 Re: GrCopyArea failing with PixMap Source, Greg Haerr

Subject: GrCopyArea failing with PixMap Source
From: Simon Wood ####@####.####
Date: 18 Aug 2000 09:11:50 -0000
Message-Id: <44632C76B97BD211AF6B00805FADCAB202D73753@exchange.saltaire.pace.co.uk>

Hello,
Whilst mucking around I've notice a problem with GrCopyArea.... when I copy from a PixMap to a visible window it fails if the visible destination window is not at location (0,0). I suspect there's something funny about only having one window as GrCopyArea seems to function in other code I have.

The reason for the failure is the protection code in GbBlit (in engine/devdraw.c). GdClipArea seems to return 'CLIP_PARTIAL' (although the destination is the only window!!) and as a result dx, dy check fails and it bombs out of the function.

My temporary fix was to force 'CLIP_PARTIAL' to use the same Blit code as 'CLIP_VISABLE', but this would totally disable any clip detection.

Who's the man...... (Shaft flashback!).... who knows this part of the code, or can someone give me some pointers?
Simon Wood


Previous by date: 18 Aug 2000 09:11:50 -0000 viewml on microwindows, q
Next by date: 18 Aug 2000 09:11:50 -0000 Re: GrCopyArea failing with PixMap Source, Greg Haerr
Previous in thread:
Next in thread: 18 Aug 2000 09:11:50 -0000 Re: GrCopyArea failing with PixMap Source, Greg Haerr


Powered by ezmlm-browse 0.20.