[Mesa-dev] [PATCH] mesa: Enable EXT_compressed_ETC1_RGB8_sub_texture
Ilia Mirkin
imirkin at alum.mit.edu
Wed Feb 1 18:02:42 UTC 2017
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Tue, Jan 24, 2017 at 7:39 AM, Plamena Manolova
<plamena.manolova at intel.com> wrote:
> Since we already have the functionality in place and games
> like Game of Thrones seem to depend on this extension, I
> think it makes sense to enable it by making it part of
> the extension string even though it's still a draft:
>
> https://www.khronos.org/registry/gles/extensions/EXT/EXT_compressed_ETC1_RGB8_sub_texture.txt
>
> Note: OES_compressed_ETC1_RGB8_sub_texture seems to be listed
> in gl2ext.h, but there's no documentation for it in the KHR
> registry
>
> Signed-off-by: Plamena Manolova <plamena.manolova at intel.com>
> ---
> src/mesa/main/extensions_table.h | 1 +
> src/mesa/main/teximage.c | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
> index 91918c2..c06f784 100644
> --- a/src/mesa/main/extensions_table.h
> +++ b/src/mesa/main/extensions_table.h
> @@ -199,6 +199,7 @@ EXT(EXT_buffer_storage , ARB_buffer_storage
> EXT(EXT_clip_cull_distance , ARB_cull_distance , x , x , x , 30, 2016)
> EXT(EXT_color_buffer_float , dummy_true , x , x , x , 30, 2013)
> EXT(EXT_compiled_vertex_array , dummy_true , GLL, x , x , x , 1996)
> +EXT(EXT_compressed_ETC1_RGB8_sub_texture , OES_compressed_ETC1_RGB8_texture , x , x , ES1, ES2, 2014)
> EXT(EXT_copy_image , OES_copy_image , x , x , x , 30, 2014)
> EXT(EXT_copy_texture , dummy_true , GLL, x , x , x , 1995)
> EXT(EXT_depth_bounds_test , EXT_depth_bounds_test , GLL, GLC, x , x , 2002)
> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
> index bc3b76a..69f4107 100644
> --- a/src/mesa/main/teximage.c
> +++ b/src/mesa/main/teximage.c
> @@ -1322,7 +1322,6 @@ static bool
> compressedteximage_only_format(const struct gl_context *ctx, GLenum format)
> {
> switch (format) {
> - case GL_ETC1_RGB8_OES:
> case GL_PALETTE4_RGB8_OES:
> case GL_PALETTE4_RGBA8_OES:
> case GL_PALETTE4_R5_G6_B5_OES:
> --
> 2.4.3
>
More information about the mesa-dev
mailing list