From f35d2124c36f8d39a953b76620e081b79c2faffd Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 14 Oct 2018 23:08:07 +0200 Subject: moved newlib specific stuff and similar into ./interface/ --- video/compositor.c | 61 +++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 28 deletions(-) (limited to 'video') diff --git a/video/compositor.c b/video/compositor.c index 3751c05..645900e 100644 --- a/video/compositor.c +++ b/video/compositor.c @@ -349,43 +349,48 @@ double sqroot(double n){ void compositor_set_background(char *ppm_raw_filename) { -// uint64_t t=timer_get_ms()/333; - /* - klog("loading bg..."); - fd bg=mount_file_open(ppm_raw_filename); - - uint32_t i=0; + // TODO: think about funny things to do with timer and update + // some generated / or modified bg regularly // + // uint64_t t=timer_get_ms()/333; // - for(int y=0;y