All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akihiko Odaki <akihiko.odaki@gmail.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu Developers <qemu-devel@nongnu.org>
Subject: Re: [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES
Date: Sat, 20 Feb 2021 14:50:14 +0900	[thread overview]
Message-ID: <CAMVc7JV5Q-Ms=oy1-4897_u9haW2hZj67aA0UAfbkvbofzB1vg@mail.gmail.com> (raw)
In-Reply-To: <20210219141446.ne2mutkfa5pa2dhu@sirius.home.kraxel.org>

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
>


  reply	other threads:[~2021-02-20  5:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19  9:48 [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES Akihiko Odaki
2021-02-19 14:14 ` Gerd Hoffmann
2021-02-20  5:50   ` Akihiko Odaki [this message]
2021-03-11 12:51 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMVc7JV5Q-Ms=oy1-4897_u9haW2hZj67aA0UAfbkvbofzB1vg@mail.gmail.com' \
    --to=akihiko.odaki@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.