Blender
V3.3
|
#include <image_buffer_cache.hh>
Public Member Functions | |
ImBuf * | ensure_float_buffer (ImBuf *image_buffer) |
void | reset_usage_flags () |
void | mark_used (const ImBuf *image_buffer) |
void | remove_unused_buffers () |
void | clear () |
Definition at line 52 of file image_buffer_cache.hh.
|
inline |
Definition at line 112 of file image_buffer_cache.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::clear().
Referenced by IMAGE_InstanceData::update_image_usage().
Definition at line 57 of file image_buffer_cache.hh.
References ImBuf::flags, IB_rectfloat, IMB_allocImBuf(), IMB_float_from_rect(), ImBuf::mall, ImBuf::planes, ImBuf::rect_float, ImBuf::x, and ImBuf::y.
Definition at line 93 of file image_buffer_cache.hh.
|
inline |
Definition at line 103 of file image_buffer_cache.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::remove_and_reorder(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by blender::draw::image_engine::ScreenSpaceDrawingMode< TextureMethod >::draw_finish().
|
inline |
Definition at line 86 of file image_buffer_cache.hh.
References buffer.
Referenced by blender::draw::image_engine::ScreenSpaceDrawingMode< TextureMethod >::cache_image().