231 const char *filepath,
248 unsigned int size_y);
253 #define ICON_RENDER_DEFAULT_HEIGHT 32
struct PreviewImage * BKE_previewimg_id_ensure(struct ID *id)
bool BKE_previewimg_id_supports_jobs(const struct ID *id)
void BKE_icon_id_delete(struct ID *id)
struct ImBuf * BKE_icon_imbuf_get_buffer(int icon_id) ATTR_WARN_UNUSED_RESULT
void BKE_previewimg_cached_release(const char *name)
void(* DrawInfoFreeFP)(void *drawinfo)
struct PreviewImage * BKE_previewimg_create(void)
struct PreviewImage * BKE_previewimg_cached_thumbnail_read(const char *name, const char *filepath, int source, bool force_update)
int BKE_icon_imbuf_create(struct ImBuf *ibuf) ATTR_WARN_UNUSED_RESULT
void BKE_previewimg_ensure(struct PreviewImage *prv, int size)
void BKE_previewimg_id_free(struct ID *id)
struct ImBuf * BKE_icon_geom_rasterize(const struct Icon_Geom *geom, unsigned int size_x, unsigned int size_y)
struct PreviewImage * BKE_previewimg_cached_get(const char *name)
void BKE_previewimg_free(struct PreviewImage **prv)
struct Icon_Geom * BKE_icon_geom_from_file(const char *filename)
bool BKE_icon_delete(int icon_id)
void BKE_previewimg_id_copy(struct ID *new_id, const struct ID *old_id)
void BKE_previewimg_freefunc(void *link)
struct Icon_Geom * BKE_icon_geom_from_memory(uchar *data, size_t data_len)
void BKE_icons_deferred_free(void)
void BKE_icon_set(int icon_id, struct Icon *icon)
void BKE_icon_changed(int icon_id)
void BKE_previewimg_clear(struct PreviewImage *prv)
struct PreviewImage * BKE_previewimg_copy(const struct PreviewImage *prv)
struct Icon * BKE_icon_get(int icon_id)
void BKE_previewimg_blend_read(struct BlendDataReader *reader, struct PreviewImage *prv)
struct PreviewImage ** BKE_previewimg_id_get_p(const struct ID *id)
int BKE_icon_gplayer_color_ensure(struct bGPDlayer *gpl)
struct PreviewImage * BKE_previewimg_cached_ensure(const char *name)
void BKE_icons_free(void)
void BKE_previewimg_clear_single(struct PreviewImage *prv, enum eIconSizes size)
struct PreviewImage * BKE_previewimg_id_get(const struct ID *id)
int BKE_icon_preview_ensure(struct ID *id, struct PreviewImage *preview)
bool BKE_icon_delete_unmanaged(int icon_id)
int BKE_icon_geom_ensure(struct Icon_Geom *geom)
void BKE_previewimg_deferred_release(struct PreviewImage *prv)
void BKE_previewimg_finish(struct PreviewImage *prv, int size)
void BKE_icon_geom_invert_lightness(struct Icon_Geom *geom)
void BKE_previewimg_blend_write(struct BlendWriter *writer, const struct PreviewImage *prv)
void BKE_previewimg_id_custom_set(struct ID *id, const char *filepath)
struct ImBuf * BKE_previewimg_to_imbuf(struct PreviewImage *prv, int size)
bool BKE_previewimg_is_finished(const struct PreviewImage *prv, int size)
int BKE_icon_id_ensure(struct ID *id)
int BKE_icon_ensure_studio_light(struct StudioLight *sl, int id_type)
void BKE_icons_init(int first_dyn_id)
#define ATTR_WARN_UNUSED_RESULT
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
SyclQueue void void size_t num_bytes void
static const pxr::TfToken preview("preview", pxr::TfToken::Immortal)
unsigned char(* colors)[4]
unsigned char(* coords)[2]
DrawInfoFreeFP drawinfo_free