Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
DTextureObjectManager.cpp36 if (mMipmaps) in ~EGLTextureObject()
45 mMipmaps = 0; in init()
83 mMipmaps = (GGLSurface*)malloc(numLods * sizeof(GGLSurface)); in allocateMipmaps()
84 if (!mMipmaps) in allocateMipmaps()
87 memset(mMipmaps, 0, numLods * sizeof(GGLSurface)); in allocateMipmaps()
94 if (mMipmaps) { in freeMipmaps()
96 if (mMipmaps[i].data) { in freeMipmaps()
97 free(mMipmaps[i].data); in freeMipmaps()
100 free(mMipmaps); in freeMipmaps()
101 mMipmaps = 0; in freeMipmaps()
[all …]
DTextureObjectManager.h60 bool hasMipmaps() const { return mMipmaps!=0; } in hasMipmaps()
69 GGLSurface *mMipmaps; variable