Lines Matching refs:internalformat
402 tex->internalformat = format;
1057 GLenum target, GLint level, GLenum internalformat,
1075 switch (internalformat) {
1121 if (internalformat == GL_ETC1_RGB8_OES) {
1161 surface->data, surface->stride, internalformat);
1167 GLenum target, GLint level, GLint internalformat,
1180 if (format != (GLenum)internalformat) {
1258 if (!tex->internalformat || tex->direct) {
1263 if (format != tex->internalformat) {
1314 GLenum target, GLint level, GLenum internalformat,
1323 if (internalformat<GL_ALPHA || internalformat>GL_LUMINANCE_ALPHA) {
1347 switch (internalformat) {
1361 format = internalformat;
1367 switch (internalformat) {
1370 format = internalformat;
1442 if (!tex->internalformat) {