[Mesa-dev] [PATCH] mesa: allow EXT_texture_compression_s3tc on ES2
Ilia Mirkin
imirkin at alum.mit.edu
Thu Oct 18 16:21:23 UTC 2018
Have you verified that this works OK on GLES2? This extension enables
online compression, which isn't normally available in GLES, and I
wouldn't be surprised if the current mesa TexImage handlers prevent
it.
-ilia
On Thu, Oct 18, 2018 at 11:05 AM Erik Faye-Lund
<erik.faye-lund at collabora.com> wrote:
>
> The extension is written against both GL 1.2 and GLES 2.0, so let's
> also enable it on GLES 2.0.
>
> Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
> ---
> src/mesa/main/extensions_table.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
> index 09bf923bd0e..47db1583135 100644
> --- a/src/mesa/main/extensions_table.h
> +++ b/src/mesa/main/extensions_table.h
> @@ -278,7 +278,7 @@ EXT(EXT_texture_buffer , OES_texture_buffer
> EXT(EXT_texture_compression_dxt1 , ANGLE_texture_compression_dxt , GLL, GLC, ES1, ES2, 2004)
> EXT(EXT_texture_compression_latc , EXT_texture_compression_latc , GLL, x , x , x , 2006)
> EXT(EXT_texture_compression_rgtc , ARB_texture_compression_rgtc , GLL, GLC, x , x , 2004)
> -EXT(EXT_texture_compression_s3tc , EXT_texture_compression_s3tc , GLL, GLC, x , x , 2000)
> +EXT(EXT_texture_compression_s3tc , EXT_texture_compression_s3tc , GLL, GLC, x , ES2, 2000)
> EXT(EXT_texture_cube_map , ARB_texture_cube_map , GLL, x , x , x , 2001)
> EXT(EXT_texture_cube_map_array , OES_texture_cube_map_array , x , x , x , 31, 2014)
> EXT(EXT_texture_edge_clamp , dummy_true , GLL, x , x , x , 1997)
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list