|
Blender V5.3
|
#include <eevee_shadow_page_ops.bsl.hh>
Public Member Functions | |
| void | page_free (ShadowTileData &tile) |
| void | page_alloc (ShadowTileData &tile) |
| void | page_cache_append (ShadowTileData &tile, uint tile_index) |
| void | page_cache_remove (ShadowTileData &tile) |
| void | page_cache_update_page_ref (uint page_index, uint new_page_index) |
| void | defrag () |
Public Attributes | |
| ShadowPagesInfoData & | pages_infos_buf |
| uint(& | tiles_buf )[] |
| uint(& | pages_free_buf )[] |
| uint2(& | pages_cached_buf )[] |
Operations to move virtual shadow map pages between heaps and tiles. We reuse the blender::vector class denomination.
A page is can be in 3 state (free, cached, acquired). Each one correspond to a different owner.
Definition at line 31 of file eevee_shadow_page_ops.bsl.hh.
|
inline |
Definition at line 164 of file eevee_shadow_page_ops.bsl.hh.
References max_page, page_cache_update_page_ref(), pages_cached_buf, pages_infos_buf, printf, and x.
|
inline |
Definition at line 58 of file eevee_shadow_page_ops.bsl.hh.
References assert, atomicAdd(), index, pages_free_buf, pages_infos_buf, and tile.
|
inline |
Definition at line 76 of file eevee_shadow_page_ops.bsl.hh.
References assert, atomicAdd(), index, pages_cached_buf, pages_infos_buf, tile, and tile_index.
|
inline |
Definition at line 92 of file eevee_shadow_page_ops.bsl.hh.
References assert, index, pages_cached_buf, tile, and x.
|
inline |
Definition at line 108 of file eevee_shadow_page_ops.bsl.hh.
References pages_cached_buf, tile, tile_index, tiles_buf, and uint2::y.
Referenced by defrag().
|
inline |
Definition at line 43 of file eevee_shadow_page_ops.bsl.hh.
References assert, atomicAdd(), index, pages_free_buf, pages_infos_buf, and tile.
| uint2(& eevee::shadow::PageAllocator::pages_cached_buf)[] |
Definition at line 40 of file eevee_shadow_page_ops.bsl.hh.
Referenced by defrag(), page_cache_append(), page_cache_remove(), and page_cache_update_page_ref().
| uint(& eevee::shadow::PageAllocator::pages_free_buf)[] |
Definition at line 37 of file eevee_shadow_page_ops.bsl.hh.
Referenced by page_alloc(), and page_free().
| ShadowPagesInfoData& eevee::shadow::PageAllocator::pages_infos_buf |
Definition at line 32 of file eevee_shadow_page_ops.bsl.hh.
Referenced by defrag(), page_alloc(), page_cache_append(), and page_free().
| uint(& eevee::shadow::PageAllocator::tiles_buf)[] |
Definition at line 35 of file eevee_shadow_page_ops.bsl.hh.
Referenced by page_cache_update_page_ref().