Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
DTextureObjectManager.cpp79 const int numLods = 31 - gglClz(max(w,h)); in allocateMipmaps() local
80 if (numLods <= 0) in allocateMipmaps()
83 mMipmaps = (GGLSurface*)malloc(numLods * sizeof(GGLSurface)); in allocateMipmaps()
87 memset(mMipmaps, 0, numLods * sizeof(GGLSurface)); in allocateMipmaps()
88 mNumExtraLod = numLods; in allocateMipmaps()