I'm creating texture:
Code: Select all
Ogre::TexturePtr rttTexture =
Ogre::TextureManager::getSingleton().createManual(
"RttTex",
Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
Ogre::TEX_TYPE_2D,
mOgreRenderWnd->getWidth(), mOgreRenderWnd->getHeight(),
0,
Ogre::PF_R8G8B8A8,
Ogre::TU_RENDERTARGET,
0,
false,
4);
As I understand, on Android texture with fsaa setup here: GLES2Texture::_createSurfaceList. So, I loged it. FSAA is 4, that's correct. So, i confused, because I doesn't see result of this fsaa.
This code(in GLES2Texture::_createSurfaceList) called a single time with mFSAA=4:
Code: Select all
GLES2HardwarePixelBuffer *buf = OGRE_NEW GLES2TextureBuffer(mName,
getGLES2TextureTarget(),
mTextureID,
width, height, depth,
GLES2PixelUtil::getClosestGLInternalFormat(mFormat, mHwGamma),
GLES2PixelUtil::getGLOriginDataType(mFormat),
static_cast<GLint>(face),
mip,
static_cast<HardwareBuffer::Usage>(mUsage),
doSoftware && mip == 0, mHwGamma, mFSAA);