summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_x11.c
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2015-05-01 01:16:24 +0200
committerAxel Davy <axel.davy@ens.fr>2015-05-11 19:31:44 +0200
commit4cd546df82c557b9a765e40db2f96c4faa299846 (patch)
tree42337a927c0e466ccbbebde32c243cdf58bb9d71 /src/egl/drivers/dri2/platform_x11.c
parentfb0960a14bd6980aa63deef45ec3cf1ab99bcf0a (diff)
downloadexternal_mesa3d-4cd546df82c557b9a765e40db2f96c4faa299846.zip
external_mesa3d-4cd546df82c557b9a765e40db2f96c4faa299846.tar.gz
external_mesa3d-4cd546df82c557b9a765e40db2f96c4faa299846.tar.bz2
egl/wayland: Implement DRI_PRIME support
When the server gpu and requested gpu are different: . They likely don't support the same tiling modes . They likely do not have fast access to the same locations Thus we do: . render to a tiled buffer we do not share with the server . Copy the content at every swap to a buffer with no tiling that we share with the server. This is similar to the glx dri3 DRI_PRIME implementation. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/egl/drivers/dri2/platform_x11.c')
0 files changed, 0 insertions, 0 deletions