> The nature of my Plugin is such that I need to scale input image to a 
> different size before drawing. What is the best way of scaling textures using 
> OpenGL? I am currently using FBO but I need to know what is the best and 
> fastest way of doing this in OpenGL.

For what value of "best"?  Fastest?  Least memory consumed?  Highest filtering 
quality?

FBO is probably the way to go, but that doesn't actually mean much - do you use 
mipmaps to aide in downsampling?  Are you doing a multi-pass downsample, or a  
single pass?  Are you doing simple bilinear or trilinear filtering, or 
something expensive like lanczos resampling?  Are the images large enough to 
require tiling, or can you always just use a single raster operation to draw 
them?

You should measure the time taken among various methods (FBOs, shared contexts, 
etc), and their "bestness", and chose the one that best fits your goals.

--
Christopher Wright
[email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to