Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-09-04 Thread Lepton Wu
On Tue, Aug 27, 2019 at 7:35 PM Lepton Wu wrote: > > On Tue, Aug 27, 2019 at 7:14 PM Lepton Wu wrote: > > > > On Thu, Aug 15, 2019 at 3:31 PM Mauro Rossi wrote: > > > > > > Hi Lepton, > > > > > > On Thu, Aug 15, 2019 at 9:58 PM Lepton Wu wrote: > > >> > > >> That's interesting. The android

Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-08-27 Thread Lepton Wu
On Tue, Aug 27, 2019 at 7:14 PM Lepton Wu wrote: > > On Thu, Aug 15, 2019 at 3:31 PM Mauro Rossi wrote: > > > > Hi Lepton, > > > > On Thu, Aug 15, 2019 at 9:58 PM Lepton Wu wrote: > >> > >> That's interesting. The android frame work will hard coded to use > >> RGBA_ and set it as window

Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-08-27 Thread Lepton Wu
On Thu, Aug 15, 2019 at 3:31 PM Mauro Rossi wrote: > > Hi Lepton, > > On Thu, Aug 15, 2019 at 9:58 PM Lepton Wu wrote: >> >> That's interesting. The android frame work will hard coded to use >> RGBA_ and set it as window format here: >> >>

Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-08-16 Thread Lepton Wu
OK, Actually android-x86 has a "workaround" at android side to enable BRGA here:

Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-08-15 Thread Mauro Rossi
Hi Lepton, On Thu, Aug 15, 2019 at 9:58 PM Lepton Wu wrote: > That's interesting. The android frame work will hard coded to use > RGBA_ and set it as window format here: > > > https://android.googlesource.com/platform/frameworks/native/+/refs/heads/master/opengl/libs/EGL/eglApi.cpp#738 > >

Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-08-15 Thread Ilia Mirkin
Without commenting on Android-specific issues, of which I'm blissfully unaware, all NVIDIA G80+ (i.e. DX10+) GPUs support both RGBA8 and BGRA8 for display and color rendering: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/nouveau/dispnv50/base507c.c#n206

Re: [Mesa-dev] Concern about proposed patch "egl/android: remove HAL_PIXEL_FORMAT_BGRA_8888 support"

2019-08-15 Thread Lepton Wu
That's interesting. The android frame work will hard coded to use RGBA_ and set it as window format here: https://android.googlesource.com/platform/frameworks/native/+/refs/heads/master/opengl/libs/EGL/eglApi.cpp#738 Do you have a custom version of android which do different code here? For