Does HardwareRenderer require a specific EGL Configuration?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Does HardwareRenderer require a specific EGL Configuration?

Kyle Russell
It looks like android.view.HardwareRenderer$Gl20Renderer requires a very specific framebuffer (RGBA8888) when choosing an EGL configuration (https://android.googlesource.com/platform/frameworks/base/+/b361b3043bb351ab175ae1ff3dae4de9fe31d42b/core/java/android/view/HardwareRenderer.java).

Does this mean Android devices must provide an RGBA8888 formatted framebuffer in order to take advantage of hardware acceleration?

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/wBbEwhjqe50J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Does HardwareRenderer require a specific EGL Configuration?

Romain Guy

Hi,

You are correct. It may also require a stencil buffer in the future.

On Dec 4, 2012 7:45 AM, "Kyle Russell" <[hidden email]> wrote:
It looks like android.view.HardwareRenderer$Gl20Renderer requires a very specific framebuffer (RGBA8888) when choosing an EGL configuration (https://android.googlesource.com/platform/frameworks/base/+/b361b3043bb351ab175ae1ff3dae4de9fe31d42b/core/java/android/view/HardwareRenderer.java).

Does this mean Android devices must provide an RGBA8888 formatted framebuffer in order to take advantage of hardware acceleration?

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/wBbEwhjqe50J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.