nanogui: Thread: alternative to  GrDrawImageToFit()


[<<] [<] Page 1 of 1 [>] [>>]
Subject: alternative to  GrDrawImageToFit()
From: kiran wesley ####@####.####
Date: 23 Feb 2006 12:50:03 +0000
Message-Id: <20060223125138.12373.qmail@web8802.mail.in.yahoo.com>

hi
Is there any alternative to  GrDrawImageToFit();
 Because it is taking so much time(causing delay
between changing images) to 
draw an image into the specified window width and
height.  
thanks


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Subject: Re: [nanogui] alternative to  GrDrawImageToFit()
From: "Greg Haerr" ####@####.####
Date: 24 Feb 2006 02:37:30 +0000
Message-Id: <135e01c638eb$2b683f00$6401a8c0@winXP>

: Is there any alternative to GrDrawImageToFit();
: Because it is taking so much time(causing delay
: between changing images) to 
: draw an image into the specified window width and
: height. 

Yes, you can decode the image yourself, and then
call GrArea().  Another approach would be to
decode once into an offscreen pixmap, then
use GrCopyArea().

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.