Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-26 Thread Chad Versace
On 08/25/2011 11:19 PM, Chia-I Wu wrote: > On Fri, Aug 26, 2011 at 2:05 PM, Chia-I Wu wrote: >> On Fri, Aug 26, 2011 at 12:55 PM, Chad Versace wrote: >>> [CC'ing krh because I learned much of this from him, so may have some >>> insight to share with us.] >>> >>> On 08/25/2011 08:14 PM, Chia-I Wu

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-26 Thread Kristensen, Kristian H
On Fri, Aug 26, 2011 at 2:05 AM, Chia-I Wu wrote: > On Fri, Aug 26, 2011 at 12:55 PM, Chad Versace wrote: >> [CC'ing krh because I learned much of this from him, so may have some >> insight to share with us.] >> >> On 08/25/2011 08:14 PM, Chia-I Wu wrote: >>> On Fri, Aug 26, 2011 at 4:09 AM, Chad

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-26 Thread Chia-I Wu
On Fri, Aug 26, 2011 at 8:36 PM, Kristensen, Kristian H wrote: [snip] >> There is no pixmap in Android so it can be ignored.  As for pbuffers, >> which I plan to support as a follow-on commit, it works pretty much >> the same as the windows except that the back buffer is also allocated >> by EGL.

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-25 Thread Chia-I Wu
On Fri, Aug 26, 2011 at 2:05 PM, Chia-I Wu wrote: > On Fri, Aug 26, 2011 at 12:55 PM, Chad Versace wrote: >> [CC'ing krh because I learned much of this from him, so may have some >> insight to share with us.] >> >> On 08/25/2011 08:14 PM, Chia-I Wu wrote: >>> On Fri, Aug 26, 2011 at 4:09 AM, Chad

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-25 Thread Chia-I Wu
On Fri, Aug 26, 2011 at 12:55 PM, Chad Versace wrote: > [CC'ing krh because I learned much of this from him, so may have some > insight to share with us.] > > On 08/25/2011 08:14 PM, Chia-I Wu wrote: >> On Fri, Aug 26, 2011 at 4:09 AM, Chad Versace wrote: >>> On 08/24/2011 06:20 PM, Chia-I Wu wro

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-25 Thread Chad Versace
[CC'ing krh because I learned much of this from him, so may have some insight to share with us.] On 08/25/2011 08:14 PM, Chia-I Wu wrote: > On Fri, Aug 26, 2011 at 4:09 AM, Chad Versace wrote: >> On 08/24/2011 06:20 PM, Chia-I Wu wrote: >>> On Thu, Aug 25, 2011 at 8:58 AM, Chad Versace wrote: >>

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-25 Thread Chia-I Wu
On Fri, Aug 26, 2011 at 4:09 AM, Chad Versace wrote: > On 08/24/2011 06:20 PM, Chia-I Wu wrote: >> On Thu, Aug 25, 2011 at 8:58 AM, Chad Versace wrote: >> Comments below. >> >> On 08/23/2011 08:10 PM, Chia-I Wu wrote: > Add platform_android.c that supports _EGL_PLAFORM_ANDROID.  It works

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-25 Thread Chad Versace
On 08/24/2011 06:20 PM, Chia-I Wu wrote: > On Thu, Aug 25, 2011 at 8:58 AM, Chad Versace wrote: > Comments below. > > On 08/23/2011 08:10 PM, Chia-I Wu wrote: Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works with drm_gralloc, where back buffers of windows are backed

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-24 Thread Chia-I Wu
On Thu, Aug 25, 2011 at 8:58 AM, Chad Versace wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Comments below. > > On 08/23/2011 08:10 PM, Chia-I Wu wrote: >> Add platform_android.c that supports _EGL_PLAFORM_ANDROID.  It works >> with drm_gralloc, where back buffers of windows are bac

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-24 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Comments below. On 08/23/2011 08:10 PM, Chia-I Wu wrote: > Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works > with drm_gralloc, where back buffers of windows are backed by GEM > objects. > > In Android a native window has a queue

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-24 Thread Benjamin Franzke
2011/8/24 Chia-I Wu : > On Wed, Aug 24, 2011 at 7:01 PM, Benjamin Franzke > wrote: >> 2011/8/24 Chia-I Wu : >>> Add platform_android.c that supports _EGL_PLAFORM_ANDROID.  It works >>> with drm_gralloc, where back buffers of windows are backed by GEM >>> objects. >>> >>> In Android a native window

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-24 Thread Chia-I Wu
On Wed, Aug 24, 2011 at 7:01 PM, Benjamin Franzke wrote: > 2011/8/24 Chia-I Wu : >> Add platform_android.c that supports _EGL_PLAFORM_ANDROID.  It works >> with drm_gralloc, where back buffers of windows are backed by GEM >> objects. >> >> In Android a native window has a queue of back buffers all

Re: [Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-24 Thread Benjamin Franzke
2011/8/24 Chia-I Wu : > Add platform_android.c that supports _EGL_PLAFORM_ANDROID.  It works > with drm_gralloc, where back buffers of windows are backed by GEM > objects. > > In Android a native window has a queue of back buffers allocated by the > server, through drm_gralloc.  For each frame, EGL

[Mesa-dev] [PATCH 2/3] egl_dri2: add support for Android

2011-08-23 Thread Chia-I Wu
Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works with drm_gralloc, where back buffers of windows are backed by GEM objects. In Android a native window has a queue of back buffers allocated by the server, through drm_gralloc. For each frame, EGL needs to dequeue the next bac