X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=0abd51805793a2d40b4b9fd0f5394a056bad7dc0;hp=e6e2d723ef255081348da80d232fcb30f2f40715;hb=45636792070587fb38cc84927f4e3d9c2ce8bd33;hpb=367d5fc610b4111fbf036b0d32becee9118403b2 diff --git a/effect_chain.h b/effect_chain.h index e6e2d72..0abd518 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -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 &inputs); - // Create a GLSL program computing the given effects in order. Phase *compile_glsl_program(const std::vector &inputs, const std::vector &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;