Color management: get rid of original byte buffer partial update

It was only used by opengl render and in fact it needed just to
set DISPLAY_BUFFER_INVALID flag for the image buffer.

In theory it wouldn't make any change to opengl render speed
(because this change just moved rect_from_float from color
management code to image save code). And could not see any speed
changes on my laptop.
This commit is contained in:
Sergey Sharybin
2013-12-18 15:20:07 +06:00
parent 6f4515b614
commit 6e77dfeb1a
5 changed files with 6 additions and 28 deletions

View File

@@ -171,7 +171,7 @@ void ViewerOperation::updateImage(rcti *rect)
{
IMB_partial_display_buffer_update(this->m_ibuf, this->m_outputBuffer, NULL, getWidth(), 0, 0,
this->m_viewSettings, this->m_displaySettings,
rect->xmin, rect->ymin, rect->xmax, rect->ymax, false);
rect->xmin, rect->ymin, rect->xmax, rect->ymax);
this->updateDraw();
}