adding image metadata notification capabilities to image cache

This commit is contained in:
jmr0 2015-12-15 19:35:25 -05:00
parent d1ff330ba8
commit 167ffa7a95
15 changed files with 269 additions and 63 deletions

View file

@ -7,7 +7,7 @@ use piston_image::{self, DynamicImage, GenericImage, ImageFormat};
use stb_image::image as stb_image2;
use util::vec::byte_swap;
pub use msg::constellation_msg::{Image, PixelFormat};
pub use msg::constellation_msg::{Image, ImageMetadata, PixelFormat};
// FIXME: Images must not be copied every frame. Instead we should atomically
// reference count them.