Lines Matching defs:compressed
1230 * compressed texture images can be updated. But, that restriction may be
1231 * relaxed for particular compressed formats. At this time, all the
1232 * compressed formats supported by Mesa allow sub-textures to be updated
1233 * along compressed block boundaries.
1403 * target can be compressed. Otherwise it returns either GL_INVALID_OPERATION
1417 target_can_be_compresed = GL_TRUE; /* true for any compressed format so far */
1678 * Return expected size of a compressed texture.
1978 /* additional checks for compressed textures */
1983 "glTexImage%dD(target can't be compressed)", dimensions);
2076 reason = "compressed paletted textures must be 2D";
2119 /* No compressed formats support borders at this time */
2534 "glCopyTexImage%dD(target can't be compressed)", dimensions);
2906 * \param compressed only GL_TRUE for glCompressedTexImage1D/2D/3D calls.
2907 * \param format the user's image format (only used if !compressed)
2908 * \param type the user's image type (only used if !compressed)
2912 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims,
2918 const char *func = compressed ? "glCompressedTexImage" : "glTexImage";
2928 if (compressed)
2957 if (compressed) {
2971 /* Here we convert a cpal compressed image into a regular glTexImage2D
2975 if (ctx->API == API_OPENGLES && compressed && dims == 2) {
2996 if (compressed) {
2998 * texture format since we'll never transcode the user's compressed
3100 if (compressed) {
3126 teximage_err(struct gl_context *ctx, GLboolean compressed, GLuint dims,
3132 teximage(ctx, compressed, dims, target, level, internalFormat, width, height,
3138 teximage_no_error(struct gl_context *ctx, GLboolean compressed, GLuint dims,
3144 teximage(ctx, compressed, dims, target, level, internalFormat, width, height,
4416 "%s(compressed texture)", function);
4783 /* no 1D compressed textures at this time */
4813 /* this will catch any invalid compressed format token */