nanogui: bitmap efficiency


Previous by date: 20 Feb 2002 10:40:23 -0000 Problems with Portrait mode, Emmanuel Blot
Next by date: 20 Feb 2002 10:40:23 -0000 chainies fonts in microwindows., safiudeen Ts
Previous in thread:
Next in thread:

Subject: bitmap efficiency
From: "Emmanuel Blot" ####@####.####
Date: 20 Feb 2002 10:40:23 -0000
Message-Id: <C4986887AFD0FE4FAB6D5EB312E9BDD34B468B@ncemx.smart-fusion.com>

Hi,

What is the most efficient call to NanoX in order to copy/display a raw bitmap, that has not been generated by Nano-X ?

Would it be better to use "GrArea" or "GrDrawImageBits" ?
Does the answer depend on the bpp of the image and/or the screen device ?

I would also suggest to add a sanity check [maybe optional if the performances are critical] in GrArea on the "width" value: if this value is zero, Nano-X crashed with a FPU exception (divide by zero, indeed).

Thanks,
Emmanuel.


Previous by date: 20 Feb 2002 10:40:23 -0000 Problems with Portrait mode, Emmanuel Blot
Next by date: 20 Feb 2002 10:40:23 -0000 chainies fonts in microwindows., safiudeen Ts
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.