iris: Implement pipe_context::make_resource_shareable

Fixes misrendering with qemu+virgl.

3D-acelerated qemu compresses a gl texture via glTexImage2D, then
exports it with the following calls:
* eglCreateImageKHR
* eglExportDMABUFImageQueryMESA
* eglExportDMABUFImageMESA

Its error-handling code aborts the export if more than a single plane
would be exported from the eglImage.

By implementing this function, compressed textures boil down to a
single uncompressed texture on the eglCreateImageKHR call.
91 jobs for !8591 with fix/iris-eglcreateimage-ccs in 8 seconds (queued for 4 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #6760822
sanity

00:00:08

 
  Container
manual #6760825
aarch64 manual
arm_build
manual #6760826
manual
arm_test-base
manual #6760827
windows shell 1809 mesa manual
windows_build_vs2019
manual #6760823
manual
x86_build-base
manual #6760824
manual
x86_test-base
 
  Container 2
created #6760835
android_build
created #6760838
arm64_test
created #6760839
armhf_test
created #6760832
i386_build
created #6760828
kernel+rootfs_amd64
created #6760829
aarch64
kernel+rootfs_arm64
created #6760830
aarch64
kernel+rootfs_armhf
created #6760833
ppc64el_build
created #6760834
s390x_build
created #6760831
x86_build
created #6760836
x86_test-gl
created #6760837
x86_test-vk
 
  Meson X86 64
created #6760845
meson-clang
created #6760846
meson-clover
created #6760842
meson-clover-testing
created #6760843
meson-gallium
created #6760844
meson-release
created #6760840
meson-testing
created #6760841
meson-testing-asan
created #6760847
meson-vulkan
 
  Build Misc
created #6760848
meson-android
created #6760850
aarch64
meson-arm64
created #6760851
aarch64
meson-arm64-build-test
created #6760849
aarch64
meson-armhf
created #6760854
meson-i386
created #6760857
meson-mingw32-x86_64
created #6760856
kvm
meson-ppc64el
created #6760855
kvm
meson-s390x
created #6760852
windows docker 1809 mesa
meson-windows-vs2019
created #6760853
allowed to fail
scons-win64
 
  Amd
created #6760858
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #6760860
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #6760859
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #6760861
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
 
  Arm
created #6760867
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #6760868
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64
created #6760862
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #6760863
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #6760864
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #6760865
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #6760866
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Freedreno
created #6760879
google-freedreno-db410c
arm64_a306_gles2
created #6760880
google-freedreno-db410c
arm64_a306_gles3
created #6760881
google-freedreno-db410c
arm64_a306_gles3_options
created #6760882
google-freedreno-db820c
arm64_a530_gles2 1/2
created #6760883
google-freedreno-db820c
arm64_a530_gles2 2/2
created #6760884
google-freedreno-db820c
arm64_a530_gles3
created #6760885
google-freedreno-db820c
arm64_a530_gles31
created #6760886
google-freedreno-db820c
arm64_a530_piglit_shader
created #6760873
google-freedreno-cheza
arm64_a630_gl
created #6760870
google-freedreno-cheza
arm64_a630_gles2
created #6760872
google-freedreno-cheza
arm64_a630_gles3
created #6760871
google-freedreno-cheza
arm64_a630_gles31
created #6760874
google-freedreno-cheza
arm64_a630_gles_others
created #6760878
google-freedreno-cheza
arm64_a630_piglit_shader
created #6760869
google-freedreno-cheza
arm64-a630-traces
created #6760875
google-freedreno-cheza
arm64_a630_vk 1/2
created #6760876
google-freedreno-cheza
arm64_a630_vk 2/2
created #6760877
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Raspberrypi
created #6760887
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #6760888
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #6760889
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #6760890
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Software Renderer
created #6760903
lavapipe-vk
created #6760896
llvmpipe-gles2
created #6760891
llvmpipe-piglit-cl
created #6760893
llvmpipe-piglit-glslparser
created #6760892
llvmpipe-piglit-quick_gl
created #6760894
llvmpipe-piglit-quick_shader
created #6760895
llvmpipe-traces
created #6760902
softpipe-gl
created #6760897
softpipe-gles2
created #6760898
softpipe-gles3
created #6760899
softpipe-gles31 1/2
created #6760900
softpipe-gles31 2/2
created #6760901
softpipe-piglit-quick
 
  Layered Backends
created #6760904
windows docker 1809 mesa
test-d3d12-windows
created #6760910
virgl-gl30-on-gl
created #6760911
virgl-gl31-on-gl
created #6760912
virgl-gl32-on-gl
created #6760906
virgl-gles2-on-gl
created #6760908
virgl-gles31-on-gl 1/2
created #6760909
virgl-gles31-on-gl 2/2
created #6760907
virgl-gles3-on-gl
created #6760905
virgl-traces