Blender V5.3
partial_update.cc File Reference
#include <mutex>
#include <optional>
#include "IMB_imbuf_types.hh"
#include "IMB_partial_update.hh"
#include "BLI_bit_vector.hh"
#include "BLI_math_base_c.hh"
#include "BLI_mutex.hh"
#include "BLI_rect.hh"
#include "BLI_vector.hh"
#include "MEM_guardedalloc.h"
#include "atomic_ops.h"

Go to the source code of this file.

Classes

struct  blender::imbuf::partial_update::Changeset
struct  blender::imbuf::partial_update::Tracker

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::imbuf
namespace  blender::imbuf::partial_update

Functions

static int blender::imbuf::partial_update::chunk_number_for_pixel (int pixel_offset)
static Tracker & blender::imbuf::partial_update::tracker_ensure (ImBuf *ibuf)
static bool blender::imb_track_updates (const ImBuf *ibuf)
void blender::IMB_partial_update_free (ImBuf *ibuf)
Update collect API
imbuf::ChangesetID blender::IMB_partial_update_changeset_id_next ()
imbuf::ChangesetID blender::IMB_partial_update_changeset_id_current ()
void blender::IMB_partial_update_flush (ImBuf *ibuf)
imbuf::partial_update::Changes blender::IMB_partial_update_collect (ImBuf *ibuf, imbuf::ChangesetID last_changeset_id)
Update marking API
void blender::IMB_partial_update_mark_region (ImBuf *ibuf, const rcti &region)
void blender::IMB_partial_update_mark_full (ImBuf *ibuf)
void blender::IMB_mark_dirty (ImBuf *ibuf)

Variables

constexpr int blender::imbuf::partial_update::MAX_HISTORY_LEN = 4
static uint64_t blender::imbuf::partial_update::g_change_id_counter = 0