gallium/u_blitter: implement mipmap generation
authorMarek Olšák <marek.olsak@amd.com>
Fri, 10 Jun 2016 01:02:24 +0000 (03:02 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 21 Jun 2016 11:52:05 +0000 (13:52 +0200)
commit5fed1122e87d5ba4bad5a777089e70f23095c668
treeeaf6ef9e91df111fc6e5d2a099ad62e9acd7eeca
parent3735a925ef5692c836c4d26d6adee370dae1c2b0
gallium/u_blitter: implement mipmap generation

for pipe_context::generate_mipmap

first move some of the blit code from util_blitter_blit_generic
to a separate function, then use it from util_blitter_generate_mipmap

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h