30 other.source_buffer =
nullptr;
31 other.float_buffer =
nullptr;
43 this->source_buffer = other.source_buffer;
44 this->float_buffer = other.float_buffer;
46 other.source_buffer =
nullptr;
47 other.float_buffer =
nullptr;
66 if (item.source_buffer == image_buffer) {
68 return item.float_buffer;
96 if (item.source_buffer == image_buffer) {
106 if (!cache_[i].is_used) {
void IMB_float_from_rect(struct ImBuf *ibuf)
struct ImBuf * IMB_allocImBuf(unsigned int x, unsigned int y, unsigned char planes, unsigned int flags)
Contains defines and structs used throughout the imbuf module.
void remove_and_reorder(const int64_t index)
void IMB_freeImBuf(ImBuf *UNUSED(ibuf))
ccl_global float * buffer
void remove_unused_buffers()
ImBuf * ensure_float_buffer(ImBuf *image_buffer)
void mark_used(const ImBuf *image_buffer)
virtual ~FloatImageBuffer()
FloatImageBuffer & operator=(FloatImageBuffer &&other) noexcept
FloatImageBuffer(FloatImageBuffer &&other) noexcept
FloatImageBuffer(ImBuf *source_buffer, ImBuf *float_buffer)