vl/compositor: implement error handling
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Tue, 3 Jan 2017 10:47:45 +0000 (16:17 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 3 Jan 2017 11:02:15 +0000 (12:02 +0100)
commitcee5af93ee5ea9e3c4dd19047952fec6bcfed2b6
tree9000fa43de9c2b34c90e49dd14a21bd4fb625003
parent1a83e9892dd4b3a1895ede1b2d3d5fac01d56dc3
vl/compositor: implement error handling

pipe_buffer_map and pipe_buffer_create may return NULL

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h