summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJaroslav Hensl <[email protected]>2026-07-05 15:49:39 +0200
committerJaroslav Hensl <[email protected]>2026-07-05 15:49:39 +0200
commit718b3d51a1532fe1ba2e133cf76186f1a609d35e (patch)
tree72cc067a44c590725f0a00bd76ccddb4e234848d /docs
parent0755608c75c2c0f70978c46ef757746583d6348d (diff)
SVGA updateHEADmain
Diffstat (limited to 'docs')
-rw-r--r--docs/svga-notes.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/svga-notes.txt b/docs/svga-notes.txt
new file mode 100644
index 0000000..c61e8ad
--- /dev/null
+++ b/docs/svga-notes.txt
@@ -0,0 +1,22 @@
+1: GMR_A[wram,ptr1] -> Surface 1
+2: GMR_B[wram,ptr2] -> Surface 2
+3: GMR_C[wram,ptr3] -> Surface 3
+4: FBGMR -> Surface 4
+
+int SVGA_focus(wram_ptr, w, h, bpp); -> GMR id, surface id
+
+
+
+3D:
+ SID = focus(dst_surface);
+ render -> surface SID
+
+Flip or update:
+ SID = focus(wram_ptr)
+ SVGA3dCmdSurfaceCopy: SID -> 4
+ (if cursor && sw cursor) wait
+ sw blit vram
+ cmd update
+
+256 or gamma:
+ sw blit + cmd update