commit | 43e2109326d0b3bcf9b2241b054dadeceae33ca5 | [log] [tgz] |
---|---|---|
author | Mathias Fröhlich <Mathias.Froehlich@gmx.net> | Sun Sep 21 08:54:00 2014 +0200 |
committer | Mathias Fröhlich <Mathias.Froehlich@gmx.net> | Tue Sep 30 20:51:02 2014 +0200 |
tree | 8114619f9112f06b984f9c5542b0e31309abfd76 | |
parent | d90ff351f3a3598834f77b9c0723532b3abd3cd5 [diff] |
llvmpipe: Reuse llvmpipes LLVMContext in the draw context. Reuse the LLVMContext already allocated in llvmpipe_context for draw_llvm if ppossible. This should decrease the memory footprint of an llvmpipe context. v2: Fix compile with llvm disabled. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>