summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorNayan Deshmukh <[email protected]>2017-01-11 22:27:13 +0530
committerChristian König <[email protected]>2017-01-17 11:51:50 +0100
commit0ef17d76bbbc9506d50138f1b4d79db8ef08ad6d (patch)
tree8160ae3f190f1463f4f8ba51ed98838a3bfca921 /src/gallium/state_trackers
parent9fe9db8031f4979fde0849855c6aca1a83432f4e (diff)
vl/dri3: use external texture as back buffers(v4)
dri3 allows us to send handle of a texture directly to X so this patch allows a state tracker to directly send its texture to X to be used as back buffer and avoids extra copying v2: use clip width/height to display a portion of the surface v3: remove redundant variables, fix wrapping, rename variables handle vaapi path v3.1: we need clip_width/height for every frame so we don't need to maintain it for each buffer instead use a global variable v4: In case of single gpu we can cache the buffers as applications use constant number of buffer and we can avoid calls to present extension for every frame Reviewed and Suggested-by: Leo Liu <[email protected]> Acked-by: Christian König <[email protected]> Tested-by: Andy Furniss <[email protected]> Signed-off-by: Nayan Deshmukh <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions