summaryrefslogtreecommitdiff
path: root/src/sna/sna_video.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-29 11:19:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-29 11:22:37 +0100
commit0dd20381364aabede2e1306945abe21d57c1d7b4 (patch)
tree875be6db3c8860f33065e71d49f0fc2c1d7db145 /src/sna/sna_video.h
parent902ce98df10c221e136c416f981c3a2730410415 (diff)
sna: Resize an existing framebuffer if possible
Sometimes we may have a compatible scanout cached, but of the wrong size. Instead of throwing away the memory and creating a new scanout from scratch, allow us to just resize the old scanout by destroying and recreating its associated framebuffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video.h')
0 files changed, 0 insertions, 0 deletions