Home | History | Annotate | Download | only in libagl

Lines Matching refs:mipmap

197                 "specifying mipmap level %d, but # of level is %d",
200 GGLSurface& mipmap = editMip(level);
201 if (mipmap.data)
202 free(mipmap.data);
204 mipmap.data = (GGLubyte*)malloc(size);
205 if (!mipmap.data) {
206 memset(&mipmap, 0, sizeof(GGLSurface));
211 mipmap.version = sizeof(GGLSurface);
212 mipmap.width = w;
213 mipmap.height = h;
214 mipmap.stride = s;
215 mipmap.format = format;
216 mipmap.compressedFormat = compressedFormat;