]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Add edge information about odd things, such as bounces, resizes and non-standard...
[movit] / effect_chain.h
index e6e2d723ef255081348da80d232fcb30f2f40715..0abd51805793a2d40b4b9fd0f5394a056bad7dc0 100644 (file)
@@ -115,8 +115,6 @@ private:
        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);
@@ -125,6 +123,10 @@ private:
        // 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;