vl/buffers: extract vl_video_buffer_adjust_size helper
authorChristian König <christian.koenig@amd.com>
Tue, 15 Dec 2015 10:51:44 +0000 (11:51 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 12 Jan 2016 12:28:16 +0000 (13:28 +0100)
commit52ca9a9b8bf9c3991a82d7039d7a35955ad774b8
tree259d72c07ff073f72606bec2bcc7234b39611793
parent8479782361ab58eeacee7f81b18d9597553859ce
vl/buffers: extract vl_video_buffer_adjust_size helper

Useful for the state trackers as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/vl/vl_video_buffer.c
src/gallium/auxiliary/vl/vl_video_buffer.h