1

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

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
clamp
  • 33,000
  • 75
  • 203
  • 299

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
  • 55,122
  • 7
  • 121
  • 140
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