1

Does anyone know if it is possible to use NPOT textures on Android's OpenGL ES renderer?

Brad Larson
  • 169,393
  • 45
  • 393
  • 567
clamp
  • 31,604
  • 74
  • 198
  • 296

2 Answers2

7

Yes, for OpenGL ES 2.0, NPOT textures are supported in the core specification with some limitations in wrap modes, and 3D textures. The limitations are lifted when using the GL_OES_texture_npot extension.

For OpenGL ES 1.x, there is no extension to support NPOT textures.

Dr. Snoopy
  • 52,950
  • 7
  • 111
  • 130
2

It appears that Froyo does has a NPOT implementation for OpenglES 1.1. However, so far I can not get UI to displace with proper aspectio. I think Froyo has issue with this implemenation, based on a quick review of the code. Gingerbread has updated a better design like Apple's method, but I can get Gingerbread to work yet. I am having very hard time making Android to work for HW ES 1.1 that needed NPOT work-around. Has any one out there got NPOT to work with HW Opengl 1.1 with Froyo/Gingerbread ?

Jimmcwin

user622409
  • 21
  • 1