GrCopyArea all 0s
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- c, linux
Direzione di ricerca
Partire dalla chiamata a GrCopyArea e seguirla fino a rasteropGeneralLow, usando la configurazione del framebuffer a 1 bit segnalata e il pitch sorgente 8 rispetto al pitch destinazione 16 come dettagli per la riproduzione. Riprodurre il backup e il ripristino del popup sulla configurazione i.MX6 UL, quindi verificare che il raster sotto il popup venga ripristinato invece di essere riempito di zeri.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi, I have an embedded Linux application that was previously using Microwin v0.91 (2005) and running on an old Arm CPU.
Now I'm porting the project to a new system (i.MX6 UL, armv7l) using the latest version of microwin.
My source code is well tested (>15 years of life) and was previously running without issues.
I have spent a few days adjusting the build config for this new system and the graphic library works as expected, APART from an issue that can be troublesome. We draw popups on our display and we need to backup the raster below the popup with GrCopyArea and restore it back after the popup gets deleted. Unfortunately, GrCopyArea seems not to work: it copies 0s to the raster when we try to restore the area below the popup, therefore after the popup is deleted we get a black spot below it.
I have debugged this and can't find anything wrong (from my little understanding of microwin guts). I reached one of the low level functions (rasteropGeneralLow) and can't see anything wrong (like a failed assert, a return before really copying the data, etc). The only thing I noticed is that the source and dest pitch are different: src pitch 8, dst pitch 16
What could be wrong?
The display is 1 bit only (the pixels can be on/off). These are some of the important fields in the config file:
SCREEN_PIXTYPE = MWPF_PALETTE
SCREEN_DEPTH = 1
SCREEN = FB
SCREEN_WIDTH = 128
SCREEN_HEIGHT = 64
MICROWIN = N
NANOX = Y
NUKLEARUI = N
NX11 = N
ENGINE = N
TINYWIDGETS = N
LINK_APP_INTO_SERVER = Y
HAVE_SHAREDMEM_SUPPORT = Y
- Lingua principale
- C
- Stelle
- 864
- Fork
- 114
- Merge medio
- 1g 4h
- PR unite (30g)
- 3
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 ghaerr/microwindows
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ghaerr/microwindows#182 · 1 commento ·
-
Running in no mmu linux ?Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ghaerr/microwindows#166 · 22 commenti ·
-
nxterm arrow keys problemAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ghaerr/microwindows#164 · 7 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ghaerr/microwindows#162 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
ghaerr/microwindows#161 · 2 commenti ·
Tutte le issue di ghaerr/microwindows
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dfa1/rocksdb-ffm#292 ·
I maintainer di solito rispondono entro 1 giorno
-
SPIDevice selects an active-high device as soon as it is createdForse già presa @mikeysklar l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
adafruit/circuitpython#11869 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
gnif/LookingGlass#1352 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno