nanogui: What am I doing wrong? Images not displayed....


Previous by date: 7 Dec 2005 15:37:16 +0000 What am I doing wrong? Images not displayed...., Yan Seiner
Next by date: 7 Dec 2005 15:37:16 +0000 Re: Problem in installing MicroWindows over frame buffer., Greg Haerr
Previous in thread: 7 Dec 2005 15:37:16 +0000 What am I doing wrong? Images not displayed...., Yan Seiner
Next in thread:

Subject: Re: [nanogui] What am I doing wrong? Images not displayed....
From: Alex Holden ####@####.####
Date: 7 Dec 2005 15:37:16 +0000
Message-Id: <BEE72FFC-2549-46C3-BA3B-4F8E85E01527@linuxhacker.org>

On 7 Dec 2005, at 14:53, Yan Seiner wrote:
>        GrDrawImageToFit(window_id, gc_id, sx,sy, w,h, image_id);
>        sleep(SLEEPTIME);
>        GrDestroyWindow(window_id);
> What is happening is that the viewer sleeps for SLEEPTIME on the  
> green screen, then updates the screen displaying the picture, and  
> then exits....

Do a GrFlush() to force the client to flush its command queue to the  
server before you sleep().

-- 
------------ Alex Holden - http://www.alexholden.net/ ------------
If it doesn't work, you're not hitting it with a big enough hammer




Previous by date: 7 Dec 2005 15:37:16 +0000 What am I doing wrong? Images not displayed...., Yan Seiner
Next by date: 7 Dec 2005 15:37:16 +0000 Re: Problem in installing MicroWindows over frame buffer., Greg Haerr
Previous in thread: 7 Dec 2005 15:37:16 +0000 What am I doing wrong? Images not displayed...., Yan Seiner
Next in thread:


Powered by ezmlm-browse 0.20.