Home
last modified time | relevance | path

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

/frameworks/base/opengl/libagl/
DTextureObjectManager.cpp38 if (mMipmaps) in ~EGLTextureObject()
47 mMipmaps = 0; in init()
85 mMipmaps = (GGLSurface*)malloc(numLods * sizeof(GGLSurface)); in allocateMipmaps()
86 if (!mMipmaps) in allocateMipmaps()
89 memset(mMipmaps, 0, numLods * sizeof(GGLSurface)); in allocateMipmaps()
96 if (mMipmaps) { in freeMipmaps()
98 if (mMipmaps[i].data) { in freeMipmaps()
99 free(mMipmaps[i].data); in freeMipmaps()
102 free(mMipmaps); in freeMipmaps()
103 mMipmaps = 0; in freeMipmaps()
[all …]
DTextureObjectManager.h60 bool hasMipmaps() const { return mMipmaps!=0; } in hasMipmaps()
69 GGLSurface *mMipmaps; variable