Home | History | Annotate | Download | only in libagl

Lines Matching defs:mipmap

199                 "specifying mipmap level %d, but # of level is %d",
202 GGLSurface& mipmap = editMip(level);
203 if (mipmap.data)
204 free(mipmap.data);
206 mipmap.data = (GGLubyte*)malloc(size);
207 if (!mipmap.data) {
208 memset(&mipmap, 0, sizeof(GGLSurface));
213 mipmap.version = sizeof(GGLSurface);
214 mipmap.width = w;
215 mipmap.height = h;
216 mipmap.stride = s;
217 mipmap.format = format;
218 mipmap.compressedFormat = compressedFormat;