i965/dri: Store the screen associated with the image
authorBen Widawsky <ben@bwidawsk.net>
Thu, 20 Oct 2016 21:51:53 +0000 (14:51 -0700)
committerBen Widawsky <ben@bwidawsk.net>
Tue, 21 Mar 2017 21:48:11 +0000 (14:48 -0700)
commitfc1e9f0cb221b9b41f7bea2f83991910a2afe82b
tree0a1547ea8b60c55de3a714171158b3bd676b234d
parent2a16de9e4bb7d2f0e67fab42eb3f8a667393d04d
i965/dri: Store the screen associated with the image

I intend to need to get to the devinfo structure, and storing the screen
is an easy way to do that.

It seems to be the consensus that you cannot share an image between
multiple screens.

Scape-goat: Rob Clark <robdclark@gmail.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_image.h
src/mesa/drivers/dri/i965/intel_screen.c