Home
last modified time | relevance | path

Searched refs:numLods (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/opengl/libagl/
DTextureObjectManager.cpp81 const int numLods = 31 - gglClz(max(w,h)); in allocateMipmaps() local
82 if (numLods <= 0) in allocateMipmaps()
85 mMipmaps = (GGLSurface*)malloc(numLods * sizeof(GGLSurface)); in allocateMipmaps()
89 memset(mMipmaps, 0, numLods * sizeof(GGLSurface)); in allocateMipmaps()
90 mNumExtraLod = numLods; in allocateMipmaps()