|
Krita Source Code Documentation
|
#include <kis_canvas_updates_compressor.h>
Public Member Functions | |
| bool | putUpdateInfo (KisUpdateInfoSP info) |
| void | takeUpdateInfo (KisUpdateInfoList &list) |
Private Attributes | |
| QMutex | m_mutex |
| KisUpdateInfoList | m_updatesList |
Definition at line 18 of file kis_canvas_updates_compressor.h.
| bool KisCanvasUpdatesCompressor::putUpdateInfo | ( | KisUpdateInfoSP | info | ) |
We should always remove the overridden update and put 'info' to the end of the queue. Otherwise, the updates will become reordered and the canvas may have tiles artifacts with "outdated" data
Definition at line 9 of file kis_canvas_updates_compressor.cpp.
References m_mutex, and m_updatesList.
| void KisCanvasUpdatesCompressor::takeUpdateInfo | ( | KisUpdateInfoList & | list | ) |
Definition at line 41 of file kis_canvas_updates_compressor.cpp.
References KIS_SAFE_ASSERT_RECOVER, m_mutex, and m_updatesList.
|
private |
Definition at line 25 of file kis_canvas_updates_compressor.h.
|
private |
Definition at line 26 of file kis_canvas_updates_compressor.h.