|
| static bool | blender::imb_is_grayscale_texture_format_compatible (const ImBuf *ibuf) |
| static void | blender::imb_gpu_get_format (const ImBuf *ibuf, bool high_bitdepth, bool use_grayscale, gpu::TextureFormat *r_texture_format) |
| static const char * | blender::imb_gpu_get_swizzle (const ImBuf *ibuf) |
| bool | blender::IMB_gpu_get_compressed_format (const ImBuf *ibuf, gpu::TextureFormat *r_texture_format) |
| template<typename T> |
| static void | blender::imb_gpu_extract_first_channel (const T *src, const int channels, const int stride, const int w, const int h, T *r_gray) |
| static GPUTextureConversion | blender::imb_gpu_texture_conversion (const ImBuf *ibuf, const bool is_grayscale, const bool store_premultiplied) |
| static void | blender::get_gpu_texture_data (ImBuf *source_buffer, const int2 src_offset, const int2 src_size, const std::optional< int2 > scaled_size, const bool premultiplied_alpha, const bool is_grayscale, GPUTextureUpload &r_upload) |
| static void | blender::imb_gpu_texture_default_init (gpu::Texture *tex, const ImBuf *ibuf) |
| static void | blender::imb_gpu_texture_default_init_mipmap (gpu::Texture *tex) |
| static void | blender::imb_gpu_texture_default_init_array (gpu::Texture *tex) |
| gpu::Texture * | blender::IMB_touch_gpu_texture (const char *name, ImBuf *ibuf, int w, int h, int layers, bool use_high_bitdepth, bool use_grayscale) |
| void | blender::IMB_update_gpu_texture_sub (gpu::Texture *tex, ImBuf *ibuf, int x, int y, int z, int w, int h, bool use_grayscale, bool use_premult) |
| gpu::Texture * | blender::IMB_create_gpu_texture (const char *name, ImBuf *ibuf, GPUTextureCreateFlags flags) |
| static int2 | blender::imb_gpu_mipmap_modified_chunks_size (gpu::Texture *tex) |
| static void | blender::imb_gpu_mipmap_modified_chunks_mark (MutableBitSpan modified_chunks, const int2 size, const rcti &bounds) |
| static int2 | blender::imb_gpu_texture_update_offset_size (int2 &offset, const int2 size, const int2 limit, const int2 full) |
| static void | blender::imb_gpu_texture_update_region (gpu::Texture *tex, ImBuf *ibuf, const bool store_premultiplied, int x, int y, int w, int h, const int layer, const int2 tile_offset, const int2 tile_size, rcti &r_bounds) |
| void | blender::IMB_gpu_texture_apply_partial_update (gpu::Texture *tex, ImBuf *ibuf, bool store_premultiplied, const imbuf::partial_update::Changes &changes, int layer=-1, int2 tile_offset=int2(0), int2 tile_size=int2(0)) |
| static void | blender::imb_gpu_texture_apply_partial_updates (ImBuf *ibuf, const bool use_premult) |
| gpu::Texture * | blender::IMB_acquire_gpu_texture (const char *name, ImBuf *ibuf, GPUTextureCreateFlags texture_create_flags, bool try_only=false) |
| gpu::TextureFormat | blender::IMB_gpu_get_texture_format (const ImBuf *ibuf, bool high_bitdepth, bool use_grayscale) |
| void | blender::IMB_free_gpu_textures (ImBuf *ibuf) |
| void | blender::IMB_assign_gpu_texture (ImBuf *ibuf, gpu::Texture *texture) |
| void | blender::IMB_gpu_clamp_half_float (ImBuf *image_buffer) |