]> git.sesse.net Git - nageru/commit
Make the ImageInput cache store textures, not images.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 18 May 2019 09:26:33 +0000 (11:26 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 May 2019 22:43:56 +0000 (00:43 +0200)
commit533f00a9b992d06767737f9db236b4cf76b9c124
tree62306e8141152d84a8acd7fb980b5f830883e726
parent7163b3183566e477057943dd2f325d4984a76eef
Make the ImageInput cache store textures, not images.

This saves on a lot of texture memory when the same image is used
in multiple chains, but perhaps more importantly, will allow us to
decouple ImageInputs from which images they show later.
nageru/image_input.cpp
nageru/image_input.h
nageru/main.cpp
nageru/mixer.cpp
nageru/mixer.h
nageru/ref_counted_texture.h [new file with mode: 0644]