Jump to content

Control Progress Bar for Plugin with RenderingSchedule None

Recommended Posts

I'm working on an effect plugin which doesn't work with any of the parallel rendering schedules, so I use:


new EffectOptions() { RenderingSchedule = EffectRenderingSchedule.None }


If the plugin takes a significant amount of time the progress bar is stuck in its "Initializing" state until the effect is complete. Is it possible to submit progress manually to the progress bar?

Link to comment
Share on other sites

11 hours ago, mccreery said:

Is it possible to submit progress manually to the progress bar?


Unfortunately, this is not currently possible.

My Content Aware Fill plugin uses a hack to work around this limitation when the effect dialog is open, but it will show no progress in other cases.

Rendering is performed in OnSetRenderInfo and the dialog subscribes to a progress event that it shows in its own progress bar.



Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...