<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 19, 2017 at 6:40 AM, Daniel Stone <span dir="ltr"><<a href="mailto:daniels@collabora.com" target="_blank">daniels@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Louis-Francis Ratté-Boulianne <<a href="mailto:lfrb@collabora.com">lfrb@collabora.com</a>><br>
<br>
Some DRI image properties weren't properly duplicated in the<br>
new image. Some properties are still missing, but I'm not<br>
certain if there was a good reason to let them out in the first<br>
place.<br>
<br>
Signed-off-by: Louis-Francis Ratté-Boulianne <<a href="mailto:lfrb@collabora.com">lfrb@collabora.com</a>><br>
Reviewed-by: Daniel Stone <<a href="mailto:daniels@collabora.com">daniels@collabora.com</a>><br>
Signed-off-by: Daniel Stone <<a href="mailto:daniels@collabora.com">daniels@collabora.com</a>><br>
---<br>
src/mesa/drivers/dri/i965/<wbr>intel_screen.c | 3 +++<br>
1 file changed, 3 insertions(+)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_screen.c b/src/mesa/drivers/dri/i965/<wbr>intel_screen.c<br>
index ad081f0658..bc2bba00b6 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_screen.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_screen.c<br>
@@ -868,6 +868,9 @@ intel_dup_image(__DRIimage *orig_image, void *loaderPrivate)<br>
image->tile_y = orig_image->tile_y;<br>
image->has_depthstencil = orig_image->has_depthstencil;<br>
image->data = loaderPrivate;<br>
+ image->dma_buf_imported = orig_image->dma_buf_imported;<br>
+ image->aux_offset = orig_image->aux_offset;<br>
+ image->aux_pitch = orig_image->aux_pitch;<br>
<br>
memcpy(image->strides, orig_image->strides, sizeof(image->strides));<br>
memcpy(image->offsets, orig_image->offsets, sizeof(image->offsets));<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.14.1<br>
<br>
</font></span></blockquote></div><br></div>