nanogui@linuxhacker.org
nanogui@linuxhacker.org
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
nanogui@linuxhacker.org