X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=f0138a99d48bd5a6783f6357229f37fa3d5b03d7;hp=b51c2bb56cc0d97222ddf7ca99c98d5d8988df38;hb=07f3e1e29554ef3dc559ec6c0daf08bfca983122;hpb=0b13d5089c5967a7a5706f20c1fbb6e98ca40f72 diff --git a/effect_chain.h b/effect_chain.h index b51c2bb..f0138a9 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -175,6 +175,11 @@ private: // Output the current graph to the given file in a Graphviz-compatible format; // only useful for debugging. void output_dot(const char *filename); + std::vector get_labels_for_edge(const Node *from, const Node *to); + void output_dot_edge(FILE *fp, + const std::string &from_node_id, + const std::string &to_node_id, + const std::vector &labels); // Some of the graph algorithms assume that the nodes array is sorted // topologically (inputs are always before outputs), but some operations @@ -224,8 +229,7 @@ private: GLuint fbo; std::vector phases; - GLenum format; - unsigned bytes_per_pixel, num_dither_bits; + unsigned num_dither_bits; bool finalized; };