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