Node *normalize_to_linear_gamma(Node *input);
Node *normalize_to_srgb(Node *input);
- void draw_vertex(float x, float y, const std::vector<Effect *> &inputs);
-
// Create a GLSL program computing the given effects in order.
Phase *compile_glsl_program(const std::vector<Node *> &inputs,
const std::vector<Node *> &effects);
// that depends on it (whenever possible).
void construct_glsl_programs(Node *output);
+ // Output the current graph to the given file in a Graphviz-compatible format;
+ // only useful for debugging.
+ void output_dot(const char *filename);
+
unsigned width, height;
ImageFormat output_format;