Streaming, copy queue, texture pools and a shader cache that survives rebuilds
Textures and staging cut from 64 MB blocks; a kept view per page section and page lists read again until the title has filled them in; the GPU side told when streamed bytes land; results fetched over the copy queue (VICTORY_RELAY_COPY=1); the write-watch journal behind a reader-writer lock; the shader cache keyed by the translator's sources and `victory shaders`; helper lanes as in upstream 1733 (VICTORY_HELPER_OWN). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7f166af4f3
commit
9fea7434cd
20 files changed
+1629
-232
No files matched your search
@@ -2001,7 +2001,7 @@ impl Shadow {
|
||||
*h = merged;
|
||||
}
|
||||
if differs != 0 {
|
||||
crate::watch::writing(start + at, n);
|
||||
crate::watch::landing(start + at, n);
|
||||
crate::host::write_mapped((start + at) as *mut u8, title.as_ptr(), n);
|
||||
written += n;
|
||||
}
|
||||
@@ -2090,7 +2090,7 @@ impl Shadow {
|
||||
if !merge_piece(now, held, title) {
|
||||
return 0;
|
||||
}
|
||||
crate::watch::writing(start + at, n);
|
||||
crate::watch::landing(start + at, n);
|
||||
crate::host::write_mapped((start + at) as *mut u8, title.as_ptr(), n);
|
||||
n
|
||||
}
|
||||
@@ -2618,7 +2618,7 @@ impl Shadow {
|
||||
*o = merged;
|
||||
}
|
||||
if differs != 0 {
|
||||
crate::watch::writing(start + at, n);
|
||||
crate::watch::landing(start + at, n);
|
||||
crate::host::write_mapped((start + at) as *mut u8, title.as_ptr(), n);
|
||||
written = n;
|
||||
}
|
||||
@@ -2693,7 +2693,7 @@ impl Shadow {
|
||||
if !mapped || !changed {
|
||||
return 0;
|
||||
}
|
||||
crate::watch::writing(start + at, n);
|
||||
crate::watch::landing(start + at, n);
|
||||
crate::host::write_mapped((start + at) as *mut u8, title.as_ptr(), n);
|
||||
n
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user