|
Blender V5.3
|
#include <BKE_paint_bvh_pixels.hh>
Public Member Functions | |
| CopyPixelTile (image::TileNumber tile_number) | |
| void | build_seam_tile_map (const int2 resolution) |
| void | copy_pixels (ImBuf &tile_buffer, IndexRange group_range) const |
| void | print_compression_rate () const |
Static Public Member Functions | |
| static int | seam_tile_index (const int2 source, const int seam_tiles_x) |
Public Attributes | |
| image::TileNumber | tile_number |
| Vector< CopyPixelGroup > | groups |
| Vector< DeltaCopyPixelCommand > | command_deltas |
| Map< int, IndexRange > | seam_tile_to_groups |
Definition at line 184 of file BKE_paint_bvh_pixels.hh.
|
inline |
Definition at line 195 of file BKE_paint_bvh_pixels.hh.
References tile_number.
| void blender::bke::pbvh::pixels::CopyPixelTile::build_seam_tile_map | ( | const int2 | resolution | ) |
Definition at line 513 of file pbvh_pixels_copy.cc.
References build_seam_tile_map(), groups, blender::bke::pbvh::pixels::SEAM_TILE_BITS, seam_tile_index(), blender::bke::pbvh::pixels::SEAM_TILE_SIZE, seam_tile_to_groups, and tile.
Referenced by build_seam_tile_map(), and blender::bke::pbvh::pixels::copy_update().
| void blender::bke::pbvh::pixels::CopyPixelTile::copy_pixels | ( | ImBuf & | tile_buffer, |
| IndexRange | group_range ) const |
Definition at line 593 of file pbvh_pixels_copy.cc.
References blender::BLI_assert(), blender::ImBuf::byte_data_for_write(), blender::ImBuf::channels, command_deltas, blender::bke::pbvh::pixels::copy_pixels(), copy_pixels(), blender::ImBuf::float_data(), blender::ImBuf::float_data_for_write(), groups, and blender::ImBuf::x.
Referenced by copy_pixels().
| void blender::bke::pbvh::pixels::CopyPixelTile::print_compression_rate | ( | ) | const |
Definition at line 610 of file pbvh_pixels_copy.cc.
References command_deltas, groups, print_compression_rate(), blender::gpu::shader::metadata::printf, and tile_number.
Referenced by print_compression_rate().
|
inlinestatic |
Definition at line 197 of file BKE_paint_bvh_pixels.hh.
References blender::bke::pbvh::pixels::SEAM_TILE_BITS.
Referenced by build_seam_tile_map(), and blender::bke::pbvh::pixels::Rows::pack_into().
| Vector<DeltaCopyPixelCommand> blender::bke::pbvh::pixels::CopyPixelTile::command_deltas |
Definition at line 187 of file BKE_paint_bvh_pixels.hh.
Referenced by copy_pixels(), blender::bke::pbvh::pixels::Rows::pack_into(), and print_compression_rate().
| Vector<CopyPixelGroup> blender::bke::pbvh::pixels::CopyPixelTile::groups |
Definition at line 186 of file BKE_paint_bvh_pixels.hh.
Referenced by build_seam_tile_map(), copy_pixels(), blender::bke::pbvh::pixels::Rows::pack_into(), and print_compression_rate().
| Map<int, IndexRange> blender::bke::pbvh::pixels::CopyPixelTile::seam_tile_to_groups |
The groups used by each seam tile, as an index range into groups which is sorted by seam tile.
Definition at line 193 of file BKE_paint_bvh_pixels.hh.
Referenced by build_seam_tile_map().
| image::TileNumber blender::bke::pbvh::pixels::CopyPixelTile::tile_number |
Definition at line 185 of file BKE_paint_bvh_pixels.hh.
Referenced by CopyPixelTile(), and print_compression_rate().