nanogui: alternative to GrDrawImageToFit()
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