--- nono/vm/tvram.h 2026/04/29 17:04:36 1.1.1.3 +++ nono/vm/tvram.h 2026/04/29 17:04:39 1.1.1.4 @@ -51,6 +51,13 @@ class TVRAMDevice // XXX 実際には縦がこれ以上になる可能性はある std::atomic atomic_dirty[1024] {}; struct tvram tvram {}; + + // レンダリング時に使う変換テーブル + static uint32 deptable[256]; + + // RGB24 形式(3バイト)を4バイトあるいは SSE なら 16バイト単位で + // 書き込むための1ライン分の中間バッファ。 + ALIGNAS_IF_X86(16) uint32 rb[768]; }; extern std::unique_ptr gTVRAM;