Lines Matching defs:compressed

1209     * compressed texture images can be updated.  But, that restriction may be
1210 * relaxed for particular compressed formats. At this time, all the
1211 * compressed formats supported by Mesa allow sub-textures to be updated
1212 * along compressed block boundaries.
1382 * target can be compressed. Otherwise it returns either GL_INVALID_OPERATION
1396 target_can_be_compresed = GL_TRUE; /* true for any compressed format so far */
1657 * Return expected size of a compressed texture.
1958 /* additional checks for compressed textures */
1963 "glTexImage%dD(target can't be compressed)", dimensions);
2056 reason = "compressed paletted textures must be 2D";
2099 /* No compressed formats support borders at this time */
2537 "glCopyTexImage%dD(target can't be compressed)", dimensions);
2971 * \param compressed only GL_TRUE for glCompressedTexImage1D/2D/3D calls.
2972 * \param format the user's image format (only used if !compressed)
2973 * \param type the user's image type (only used if !compressed)
2977 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims,
2984 const char *func = compressed ? "glCompressedTexImage" : "glTexImage";
2993 if (compressed)
3026 if (compressed) {
3041 /* Here we convert a cpal compressed image into a regular glTexImage2D
3045 if (ctx->API == API_OPENGLES && compressed && dims == 2) {
3063 if (compressed) {
3065 * texture format since we'll never transcode the user's compressed
3168 if (compressed) {
3194 teximage_err(struct gl_context *ctx, GLboolean compressed, GLuint dims,
3200 teximage(ctx, compressed, dims, NULL, target, level, internalFormat, width, height,
3206 teximage_no_error(struct gl_context *ctx, GLboolean compressed, GLuint dims,
3212 teximage(ctx, compressed, dims, NULL, target, level, internalFormat, width, height,
5031 "%s(compressed texture)", function);
5398 /* no 1D compressed textures at this time */
5441 * compressed internal formats."
5443 /* this will catch any invalid compressed format token */