Searched refs:numLods (Results 1 – 1 of 1) sorted by relevance
79 const int numLods = 31 - gglClz(max(w,h)); in allocateMipmaps() local80 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()