/* these can be plugins */
#include "render.h"
+#include "glxrender.h"
#include "fade.h"
#include <glib.h>
d_screen_t *sc = it->data;
struct timeval tv;
+ if (glxrender_next_timeout(sc, &tv) && time_compare(&tv, now) <= 0)
+ glxrender_timeout(sc, now);
if (render_next_timeout(sc, &tv) && time_compare(&tv, now) <= 0)
render_timeout(sc, now);
if (fade_next_timeout(sc, &tv) && time_compare(&tv, now) <= 0)
d_screen_t *sc = it->data;
struct timeval next_timeout;
+ if (glxrender_next_timeout(sc, &next_timeout)) {
+ if (!ntime || time_compare(&next_timeout, &next) < 0) {
+ next = next_timeout;
+ ++ntime;
+ }
+ }
if (render_next_timeout(sc, &next_timeout)) {
if (!ntime || time_compare(&next_timeout, &next) < 0) {
next = next_timeout;
/* these can be plugins.. */
id = 1;
- render_init(sc, id++);
+ glxrender_init(sc, id++);
+ //render_init(sc, id++);
fade_init(sc, id++);
}
}
/* these can be plugins.. */
fade_free(sc);
- render_free(sc);
+ //render_free(sc);
+ glxrender_free(sc);
}
}