Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard

This commit is contained in:
Oleg Romashin 2012-03-24 18:08:06 -04:00
parent 05a2547e1b
commit fc68786498

View File

@ -603,7 +603,6 @@ GLContext::CanUploadNonPowerOfTwo()
bool bool
GLContext::WantsSmallTiles() GLContext::WantsSmallTiles()
{ {
#ifdef MOZ_WIDGET_ANDROID
// We must use small tiles for good performance if we can't use // We must use small tiles for good performance if we can't use
// glTexSubImage2D() for some reason. // glTexSubImage2D() for some reason.
if (!CanUploadSubTextures()) if (!CanUploadSubTextures())
@ -616,9 +615,6 @@ GLContext::WantsSmallTiles()
// Don't use small tiles otherwise. (If we implement incremental texture upload, // Don't use small tiles otherwise. (If we implement incremental texture upload,
// then we will want to revisit this.) // then we will want to revisit this.)
return false; return false;
#else
return false;
#endif
} }
// Common code for checking for both GL extensions and GLX extensions. // Common code for checking for both GL extensions and GLX extensions.