Re: [Mesa-dev] [PATCH 04/10] egl: Unhide functionality in _eglInitSync()

2014-02-18 Thread Chia-I Wu
On Tue, Feb 18, 2014 at 5:02 PM, Juha-Pekka Heikkilä wrote: > On Tue, Feb 18, 2014 at 9:40 AM, Chia-I Wu wrote: >> On Tue, Feb 18, 2014 at 12:21 AM, Juha-Pekka Heikkila >> wrote: >>> _eglInitResource() was used to memset entire _EGLSync by >>> writing more than size of pointed target. This does

Re: [Mesa-dev] [PATCH 04/10] egl: Unhide functionality in _eglInitSync()

2014-02-18 Thread Juha-Pekka Heikkilä
On Tue, Feb 18, 2014 at 9:40 AM, Chia-I Wu wrote: > On Tue, Feb 18, 2014 at 12:21 AM, Juha-Pekka Heikkila > wrote: >> _eglInitResource() was used to memset entire _EGLSync by >> writing more than size of pointed target. This does work >> as long as Resource is the first element in _EGLSync, >> th

Re: [Mesa-dev] [PATCH 04/10] egl: Unhide functionality in _eglInitSync()

2014-02-17 Thread Chia-I Wu
On Tue, Feb 18, 2014 at 12:21 AM, Juha-Pekka Heikkila wrote: > _eglInitResource() was used to memset entire _EGLSync by > writing more than size of pointed target. This does work > as long as Resource is the first element in _EGLSync, > this patch fixes such dependency. _EGLSync is a subclass of _