How to anti-alias images shown as 2D textures?

glGenerateMipmaps() is limited for texture formats.

You may render the texture into FBO with MSAA support by HW.

Damn, this is getting complicated…

Could you please elaborate a bit on how to setup FBO? I already have window creation code and MSAA code but I am not sure whether I need to change something there or not.

Another thing I need to know is how to select SSAA mode (ATI) and how to change filter type (Box, Narrow Tent, Wide Tent, Edge Detect) programmatically from my application? Is it possible at all?

EDIT:

In case I want to use glGenerateMipmaps(), what is the proper way to specify hint (nicest/fastest)?

Just in case that someone asks the same question:

TEXTURE_2D target can be non-power-of-two, therefore, you can use mipmaps with NPOT textures.

Intel’s OpenGL driver doesn’t export glGenerateMipmaps() so the filtering won’t work on Intel graphics if implemented using that API.