[Mesa-dev] [PATCH] glx/dri3: Provide error diagnostics when DRI3 allocation fails

2014-09-30 Thread Keith Packard
Matt Turner writes: > Reviewed-by: Matt Turner > > Should we add a Cc: for the stable branch? Also seems like a good plan. I've added that and pushed. -- keith.packard at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: applicat

[Mesa-dev] [PATCH] glx/dri3: Provide error diagnostics when DRI3 allocation fails

2014-09-30 Thread Matt Turner
On Tue, Sep 30, 2014 at 8:09 PM, Keith Packard wrote: > Instead of just segfaulting in the driver when a buffer allocation fails, > report error messages indicating what went wrong so that we can debug things. > > As a simple example, chromium wraps Mesa in a sandbox which doesn't allow > access t

[PATCH] glx/dri3: Provide error diagnostics when DRI3 allocation fails

2014-09-30 Thread Keith Packard
Instead of just segfaulting in the driver when a buffer allocation fails, report error messages indicating what went wrong so that we can debug things. As a simple example, chromium wraps Mesa in a sandbox which doesn't allow access to most syscalls, including the ability to create shared memory s