[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES
From: |
Akihiko Odaki |
Subject: |
Re: [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES |
Date: |
Sat, 20 Feb 2021 14:50:14 +0900 |
2021年2月19日(金) 23:14 Gerd Hoffmann <kraxel@redhat.com>:
>
> On Fri, Feb 19, 2021 at 06:48:03PM +0900, Akihiko Odaki wrote:
> > OpenGL ES does not support conversion from the given data format
> > to the internal format with glTexImage2D.
> >
> > Use the given data format as the internal format, and ignore
> > the given alpha channels with GL_TEXTURE_SWIZZLE_A in case the
> > format contains alpha channels.
>
> Hmm. Do you know what effect this has performance-wise?
> Is it maybe useful to not convert for desktop gl too?
I have no idea about performance, but I am concerned about
compatibility. OpenGL 4.6 core profile does not support GL_BGRA, which
is aliased as GL_BGRA_EXT by epoxy, as internalformat. I also tested
with Intel HD Graphics 3000/Mesa 20.3.4 but it didn't work.
>
> take care,
> Gerd
>