client: what native draws for a UI image whose texture failed to load
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript, wasm
Direzione di ricerca
Start in resources.ts, where a manifest-absent image is sent to missing and its quad is left blank, and compare that with the native path described in the issue (CTextBoard_SetTexturePath, CIFWnd_RenderTexturedFace, CIFWnd_RenderBackgroundTexture). The first open question is the UI texture stage-0 colour/alpha state, which the issue says is not yet traced, so it must be traced before any port change. Done means the device calls before 0x53F584 are documented and the port draws the same for an absent image, with a test, or the issue is closed with the trace showing native draws nothing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found while tracing #3407 in the v1.150 client.
The port draws nothing for a UI image the build lacks (resources.ts: a manifest-absent image goes to missing and its quad is blank). Native keeps drawing the face:
CTextBoard_SetTexturePath0x53FF00 storesResourceManager_GetTextureByPath's result at +0xD8 (null for a missing file) and sets the path flag +0xFC.CIFWnd_RenderTexturedFace0x5405DF draws when +0xFC is set, whether or not the texture loaded.CIFWnd_RenderBackgroundTexture0x53F4E1→0x53F4F8 binds +0xD8 as is (null included) and draws the quad (0x53F584).
So with no texture, native draws the quad with no texture bound. What that looks like (vertex colour, white or black) depends on the texture stage state the UI sets for stage 0, which hasn't been traced yet.
Done when
- The UI's stage-0 colour/alpha ops are traced (the device calls before 0x53F584), so we know what a null-texture quad shows in native.
- The port draws the same for an absent image, with a test. If native shows nothing, close with that trace instead.
- Lingua principale
- Go
- Stelle
- 97
- Fork
- 61
- Merge medio
- 4h 14m
- PR unite (30g)
- 913
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opensro-dev/opensro
-
area: client enhancement priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
opensro-dev/opensro#3681 ·
I maintainer di solito rispondono entro 1 giorno
-
area: client bug priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opensro-dev/opensro#3228 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Format one minified client file with dprint (ongoing: one file per PR)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea: client enhancement good first issue priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
opensro-dev/opensro#1 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: server bug priority: medium
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
opensro-dev/opensro#3687 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ops bug priority: high
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
opensro-dev/opensro#3685 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di opensro-dev/opensro
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
unbound-force/gaze#353 ·
I maintainer di solito rispondono entro 1 giorno
-
bug cross-seed ready-for-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
OneBusAway/maglev#2102 ·
I maintainer di solito rispondono entro 2 giorni
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Waiting start: the fixed 503 body says another instance holds the lease when that may not be soAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
Judgment-Pack/judgment-pack-gateway#474 ·
I maintainer di solito rispondono entro 1 giorno