Re: [Mesa-dev] [PATCH 10/15] gbm: Create a DRI image for dumb buffers, too.

2013-11-20 Thread Thomas Hellstrom
Hi! As discussed also offline, this is not a good thing to do, for the following reasons: 1) The bo handle does not necessarily represent a gem object. Calling gem_flink on such a handle is illegal. 2) Dumb bos and BO_USE_RENDERING may be totally different objects. It's incorrect to assume t

[Mesa-dev] [PATCH 10/15] gbm: Create a DRI image for dumb buffers, too.

2013-07-20 Thread Christopher James Halse Rogers
We want this so we can hand out CPU-mappable buffers to clients, but still use EGL in the server to composite said buffers. --- src/gbm/backends/dri/gbm_dri.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backe