mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 05:46:06 -04:00
--User changes
Allow for setting rendering thread priorities from the command line and final render dialog. Currently only implemented on Windows. Show estimated time left on the final render dialog. Sort palette list by name, instead of by index in the palette file. Sorting can be flipped by clicking the column headers of the palette table. --Code changes Remove unnecessary connect() statement in Variations tab.
This commit is contained in:
@ -28,6 +28,7 @@ RendererBase::RendererBase()
|
||||
m_LastIter = 0;
|
||||
m_LastIterPercent = 0;
|
||||
m_InteractiveFilter = FILTER_LOG;
|
||||
m_Priority = eThreadPriority::NORMAL;
|
||||
m_ProcessState = NONE;
|
||||
m_ProcessAction = FULL_RENDER;
|
||||
m_InRender = false;
|
||||
@ -546,6 +547,15 @@ void RendererBase::BytesPerChannel(size_t bytesPerChannel)
|
||||
/// <returns>The number of channels per pixel in the output image</returns>
|
||||
size_t RendererBase::NumChannels() const { return m_NumChannels; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get/set the priority used for the CPU rendering threads.
|
||||
/// This does not affect OpenCL rendering.
|
||||
/// </summary>
|
||||
/// <param name="priority">The priority to use for the CPU rendering threads</param>
|
||||
eThreadPriority RendererBase::Priority() const { return m_Priority; }
|
||||
void RendererBase::Priority(eThreadPriority priority) { m_Priority = priority; }
|
||||
|
||||
/// <summary>
|
||||
/// Get the type of filter to use for preview renders during interactive rendering.
|
||||
/// Using basic log scaling is quicker, but doesn't provide any bluring.
|
||||
|
Reference in New Issue
Block a user