Re: [Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y [v2]

2017-06-26 Thread Emil Velikov
On 22 June 2017 at 20:14, Ben Crocker wrote: > In swrastGetDrawableInfo, set *x and *y, not just *w and *h; > this fixes a crash later in drisw_update_tex_buffer when the > (formerly) uninitialized x and y values are used to construct > an address in a call to llvmpipe_transfer_map. > > Fixes cras

Re: [Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y

2017-06-22 Thread Ben Crocker
Hi Emil et al., - Original Message - > From: "Emil Velikov" > To: "Ben Crocker" > Cc: "ML mesa-dev" , "Eric Engestrom" > > Sent: Thursday, June 22, 2017 11:11:32 AM > Subject: Re: [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y > > Hi Ben, > > On 21 June 2017 at 16:55, Ben Crocke

[Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y [v2]

2017-06-22 Thread Ben Crocker
In swrastGetDrawableInfo, set *x and *y, not just *w and *h; this fixes a crash later in drisw_update_tex_buffer when the (formerly) uninitialized x and y values are used to construct an address in a call to llvmpipe_transfer_map. Fixes crash in Piglit test "spec@egl 1.4@eglcreatepbuffersurface an

Re: [Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y

2017-06-22 Thread Emil Velikov
Hi Ben, On 21 June 2017 at 16:55, Ben Crocker wrote: > In swrastGetDrawableInfo, set *x and *y, not just *w and *h; > this fixes a crash later in drisw_update_tex_buffer when the > (formerly) uninitialized x and y values are used to construct > an address in a call to llvmpipe_transfer_map. > > F

[Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y

2017-06-21 Thread Ben Crocker
In swrastGetDrawableInfo, set *x and *y, not just *w and *h; this fixes a crash later in drisw_update_tex_buffer when the (formerly) uninitialized x and y values are used to construct an address in a call to llvmpipe_transfer_map. Fixes crash in Piglit test "spec@egl 1.4@eglcreatepbuffersurface an