diff options
author | marha <marha@users.sourceforge.net> | 2013-09-02 09:05:37 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-09-02 09:05:37 +0200 |
commit | 9e382b6be0e81397f18ec0b733a2e88dc3465a33 (patch) | |
tree | a192d9a8a7362c6396ddfba9f7d51ae826fc1844 /mesalib/src | |
parent | 5ebbc3a366287b631775ed3e17537580d380db8a (diff) | |
download | vcxsrv-9e382b6be0e81397f18ec0b733a2e88dc3465a33.tar.gz vcxsrv-9e382b6be0e81397f18ec0b733a2e88dc3465a33.tar.bz2 vcxsrv-9e382b6be0e81397f18ec0b733a2e88dc3465a33.zip |
fontconfig libX11 mesa pixman git update 2 Sep 2013
libX11 commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411
pixman commit 02906e57bd801e20b3094ca348fad563c6b5a922
fontconfig commit d2bb1a8381ba50dce79a487cd82087ca57fdcb68
mesa commit da33347131ff88a3b7979aea2031ce6f34319ed0
Diffstat (limited to 'mesalib/src')
-rw-r--r-- | mesalib/src/mesa/main/texformat.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/mesalib/src/mesa/main/texformat.c b/mesalib/src/mesa/main/texformat.c index c2f925723..d3aa47736 100644 --- a/mesalib/src/mesa/main/texformat.c +++ b/mesalib/src/mesa/main/texformat.c @@ -239,11 +239,9 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, * 1D ARRAY textures in S3TC format. */ if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) { - if (ctx->Extensions.EXT_texture_compression_s3tc || - ctx->Extensions.ANGLE_texture_compression_dxt) + if (ctx->Mesa_DXTn) RETURN_IF_SUPPORTED(MESA_FORMAT_RGB_DXT1); - if (ctx->Extensions.TDFX_texture_compression_FXT1) - RETURN_IF_SUPPORTED(MESA_FORMAT_RGB_FXT1); + RETURN_IF_SUPPORTED(MESA_FORMAT_RGB_FXT1); } RETURN_IF_SUPPORTED(MESA_FORMAT_RGB888); RETURN_IF_SUPPORTED(MESA_FORMAT_XRGB8888); @@ -252,11 +250,9 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, case GL_COMPRESSED_RGBA_ARB: /* We don't use texture compression for 1D and 1D array textures. */ if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) { - if (ctx->Extensions.EXT_texture_compression_s3tc || - ctx->Extensions.ANGLE_texture_compression_dxt) + if (ctx->Mesa_DXTn) RETURN_IF_SUPPORTED(MESA_FORMAT_RGBA_DXT3); /* Not rgba_dxt1, see spec */ - if (ctx->Extensions.TDFX_texture_compression_FXT1) - RETURN_IF_SUPPORTED(MESA_FORMAT_RGBA_FXT1); + RETURN_IF_SUPPORTED(MESA_FORMAT_RGBA_FXT1); } RETURN_IF_SUPPORTED(MESA_FORMAT_RGBA8888); RETURN_IF_SUPPORTED(MESA_FORMAT_ARGB8888); @@ -553,12 +549,14 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, RETURN_IF_SUPPORTED(MESA_FORMAT_SARGB8); break; case GL_COMPRESSED_SRGB_EXT: - RETURN_IF_SUPPORTED(MESA_FORMAT_SRGB_DXT1); + if (ctx->Mesa_DXTn) + RETURN_IF_SUPPORTED(MESA_FORMAT_SRGB_DXT1); RETURN_IF_SUPPORTED(MESA_FORMAT_SRGB8); RETURN_IF_SUPPORTED(MESA_FORMAT_SARGB8); break; case GL_COMPRESSED_SRGB_ALPHA_EXT: - RETURN_IF_SUPPORTED(MESA_FORMAT_SRGBA_DXT3); /* Not srgba_dxt1, see spec */ + if (ctx->Mesa_DXTn) + RETURN_IF_SUPPORTED(MESA_FORMAT_SRGBA_DXT3); /* Not srgba_dxt1, see spec */ RETURN_IF_SUPPORTED(MESA_FORMAT_SRGBA8); RETURN_IF_SUPPORTED(MESA_FORMAT_SARGB8); break; |