Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Tapani Pälli
eedesktop.org Subject: Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa On 05/17/2017 11:09 AM, Gao, Chun wrote: I know EXT_texture_sRGB is desktop OpenGL extension. On Android-IA and ChromeOS ARC++, the game https://play.google.com/store/apps/details?id=com.e

Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Tapani Pälli
ongoing. -Original Message- From: Palli, Tapani Sent: Wednesday, May 17, 2017 4:35 PM To: Gao, Chun ; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa On 05/17/2017 11:09 AM, Gao, Chun wrote: I know EXT_texture_sRGB is

Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Gao, Chun
Thanks for your comments. Are we working on GL_EXT_sRGB, or is there any plan for that? -Original Message- From: Palli, Tapani Sent: Wednesday, May 17, 2017 4:35 PM To: Gao, Chun ; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non

Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Tapani Pälli
pport is added, then this game should start to work OK. -Original Message- From: Palli, Tapani Sent: Wednesday, May 17, 2017 3:36 PM To: Gao, Chun ; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa IMO this is not co

Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Gao, Chun
Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa IMO this is not correct. Are you having problems with some application? For Android games Mesa should already return true for the previous check (ANGLE_texture_compression_dxt) and things should work OK. The check you are touching is desktop specific be

Re: [Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Tapani Pälli
IMO this is not correct. Are you having problems with some application? For Android games Mesa should already return true for the previous check (ANGLE_texture_compression_dxt) and things should work OK. The check you are touching is desktop specific because EXT_texture_sRGB is available only

[Mesa-dev] [PATCH] mesa: Allow MESA_FORMAT_LAYOUT_S3TC in non-desktop mesa

2017-05-17 Thread Gao Chun
As s3tc formats are used in many Android games, desktop mesa check should be removed for MESA_FORMAT_LAYOUT_S3TC. --- src/mesa/main/glformats.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 4f240206ff45..e4f283c4df