mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 18:13:23 +09:00
[MG_Backend] (Disaggregated): P5e tx2 - name the two entries that actually stamp the sync handle
- ResolveTextureTwin is the lookup WITHOUT the sync and does not stamp it; the comment said it did.
This commit is contained in:
@@ -1945,7 +1945,8 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
// with a handle noted syncs from the record and tolerates a null frontend object,
|
||||
// one without it is the monolith-glue half and reads the object as it always did.
|
||||
//
|
||||
// Stamped by SyncTextureToBackendByHandle / ResolveTextureTwin and never cleared:
|
||||
// Stamped by SyncTextureToBackendByHandle and SyncMipmapsToBackendByHandle - the two
|
||||
// entries that HAVE a handle - and never cleared afterwards:
|
||||
// a slot recycled to {s, g+1} RESETS the twin (SlotTables.h's forward-Gen rule), so
|
||||
// a stale handle cannot outlive the object it names.
|
||||
MG_Pipe::MGPipeHandle m_pushedSyncHandle = MG_Pipe::kMGPipeNullHandle;
|
||||
|
||||
Reference in New Issue
Block a user