X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginserver.h;h=fd01f396a0c5e9154a4f3e73c766754b9dd21d8e;hp=16c2c5cb6a6c9a1e752703e6a1dbb459a98b1411;hb=HEAD;hpb=0e6cf5b52d1ebce9272270144bcf43df4683507e diff --git a/cinelerra-5.1/cinelerra/pluginserver.h b/cinelerra-5.1/cinelerra/pluginserver.h index 16c2c5cb..2b58f06c 100644 --- a/cinelerra-5.1/cinelerra/pluginserver.h +++ b/cinelerra-5.1/cinelerra/pluginserver.h @@ -76,7 +76,6 @@ public: class PluginGUIs : public ArrayList { - int next_id; MWindow *mwindow; public: PluginGUIs(MWindow *mwindow); @@ -170,7 +169,7 @@ public: KeyFrame* get_keyframe(); // Apply new settings from the plugin GUI. Called by PluginClient::send_configure_change // Used in keyframe spanning mode. - void apply_keyframe(KeyFrame *src); + void apply_keyframe(Plugin *plugin, KeyFrame *src); // Create new theme object. Used by theme plugins. Theme* new_theme(); @@ -216,6 +215,7 @@ public: void set_use_opengl(int value, VideoDevice *vdevice); // Plugin must call this before performing OpenGL operations. int get_use_opengl(); + int to_ram(VFrame *vframe); // Called from plugin client // Returns 1 if a GUI is open so OpenGL routines can determine if @@ -274,7 +274,7 @@ public: // Called by MWindow to cause GUI to display void render_gui(void *data); void render_gui(void *data, int size); -// PluginClientFrames queuing to gui frame_buffer +// PluginClientFrames queuing to gui client_frames void send_reset_gui_frames(); void reset_gui_frames(); void render_gui_frames(PluginClientFrames *frames); @@ -368,6 +368,7 @@ public: // client origin int plugin_type; + int plugin_id; // buffers int64_t out_buffer_size; // size of a send buffer to the plugin @@ -431,8 +432,6 @@ public: // Pointer to keyframe when plugin is not available KeyFrame *keyframe; AttachmentPoint *attachment; -// Storage of keyframes and GUI status - Plugin *plugin; // Storage of session parameters EDL *edl;