Re: 最新版の修正情報で気になったもの

投稿ツリー


このトピックの投稿一覧へ

通常 Re: 最新版の修正情報で気になったもの

msg# 1.26
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2013/12/14 10:23
完全無欠猫  長老 居住地: 兵庫  投稿数: 750
気になったもの:
SHA-1: ce893552c359d11cfa93709f239a3c93f4cdb244
* Image cache rewrite to using generic movie cache

Summary:
Behaves very much the same as cache for Movie Clip datablock:
- Image now have `MovieCache *cache` field which replaced
 legacy `ListBase ibufs`.

 This allows image datablock to easily keep of image
 buffers which are owned by itself. This field isn't
 saved to the file and getting restored on undo steps.

 However, cache limit is global for movies, sequences
 and image datablocks now. So overall cached image buffers
 size will not go above cache limit size in user
 preferences.

- Image buffers which are marked as BITMAPDIRTY will never
 be freed from the cache.

- Added utility function to iterate over image buffers
 saved in movie cache.

- Movie cache cleanup check callback now have ImBuf argument
 which can be used in a condition of cleanup.

- Added some utility functions which replaces legacy ibufs
 iterations with image cache iteration which happens from
 inside a lock.

- Fixed `image_mem_size()` which was only counting one of
 the buffers if both float and byte buffer present.

Additional notes:

- `BKE_image_get_first_ibuf()` is rather stupid, but direct
 access to ibufs->first was also the same stupid idea.

 Would consider avoid this function is another project.

- There are some places which doesn't look threadsafe, but
 they already were not so much threadsafe anyway before.

 So think not a big deal with solving this later.

Finally solves infinite memory usage by image sequences! :)


SHA-1: 5a91df32713b7ad9be6befa7124b31890063d91b
* Implement GPU-side dither

Summary:
Uses some magic pseudo-random which is actually a
texture coordinate hashing function.

TODOs:
- Dither noise is the same for all the frames.
- It's different from Floyd's dither we've been
 using before.
- Currently CPU and GPU dithering used different
 implementation. Ideally we need to use the same
 dither in CPU.

投票数:4 平均点:7.50

  条件検索へ


ログイン

ユーザ名:

パスワード:



パスワード紛失

クイックリンク

2021/07/01版
●Blender.org
BlenderFoundation
- Blenderのダウンロード
- 公式チュート等
- 公式マニュアル(和訳)

●ニュース(英文)
BlenderNation

●Blenderコミュニティ
blenderartists.org

●Blender Q&A
- Blender Stack Exchange

●テストビルド
Buildbot(自動生成)


●開発関連
公式開発サイト
Blender開発blog
Blender Wiki