|
KiCad PCB EDA Suite
|
GPU texture per bitmap, keyed on the image KIID so redrawing reuses the upload. More...
Public Attributes | |
| RHI_TextureHandle | texture |
| size_t | bytes = 0 |
| texture memory, which can be less than the image takes | |
| uint64_t | lastUse = 0 |
| use counter for LRU eviction | |
| uint32_t | groupRefs = 0 |
| quads of cached groups drawing this texture | |
| std::array< uint64_t, 2 > | contentHash {} |
GPU texture per bitmap, keyed on the image KIID so redrawing reuses the upload.
The texture is the original image, which keeps its KIID only while its pixels are unchanged.
Definition at line 836 of file gal_modern.h.
| size_t KIGFX::GAL_MODERN::BITMAP_CACHE_ENTRY::bytes = 0 |
texture memory, which can be less than the image takes
Definition at line 839 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::DrawBitmap().
| std::array<uint64_t, 2> KIGFX::GAL_MODERN::BITMAP_CACHE_ENTRY::contentHash {} |
Definition at line 842 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::DrawBitmap().
| uint32_t KIGFX::GAL_MODERN::BITMAP_CACHE_ENTRY::groupRefs = 0 |
quads of cached groups drawing this texture
Definition at line 841 of file gal_modern.h.
| uint64_t KIGFX::GAL_MODERN::BITMAP_CACHE_ENTRY::lastUse = 0 |
use counter for LRU eviction
Definition at line 840 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::DrawBitmap().
| RHI_TextureHandle KIGFX::GAL_MODERN::BITMAP_CACHE_ENTRY::texture |
Definition at line 838 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::DrawBitmap().