X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fguicast%2Fbcsynchronous.h;h=ba347b784189a0a8c05296690aeeb347c9e0a65f;hb=8ca6d1b8ee0a3e687c57f76e793d1b1688a426f2;hp=0afb610e1b1cde0d4fae516c22f68ddf9ab2e496;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/guicast/bcsynchronous.h b/cinelerra-5.0/guicast/bcsynchronous.h index 0afb610e..ba347b78 100644 --- a/cinelerra-5.0/guicast/bcsynchronous.h +++ b/cinelerra-5.0/guicast/bcsynchronous.h @@ -146,31 +146,8 @@ public: #endif }; -class BC_Synchronous; - -class BC_SynchGarbage : public Thread -{ -public: - BC_SynchGarbage(BC_Synchronous*sync); - ~BC_SynchGarbage(); - - void send_garbage(BC_SynchronousCommand *command); - void handle_garbage(); - void start(); - void run(); - void quit(); - void stop(); - - BC_Synchronous *synchronous; - Condition *more_garbage; - Mutex *garbage_lock; - ArrayList garbage; - int done; -}; - class BC_Synchronous : public Thread { - BC_SynchGarbage *sync_garbage; public: BC_Synchronous(); virtual ~BC_Synchronous(); @@ -180,7 +157,6 @@ public: friend class BC_PBuffer; friend class BC_Pixmap; friend class BC_Texture; - friend class BC_SynchGarbage; void quit(); // Must be called after constructor to create inherited objects. @@ -266,7 +242,6 @@ private: Mutex *lock_sync; void sync_lock(const char *cp=0); - void sync_lock(Display *display, const char *cp); void sync_unlock(); void get_display_sync(Display *display, const char *cp); @@ -282,7 +257,7 @@ private: int done; // Command stack ArrayList commands; - int is_running; + int is_started; // The window the opengl context is currently bound to. // Set by BC_WindowBase::enable_opengl. BC_WindowBase *current_window;