Tsev > Xov xwm > Ntsiab lus

CMD_SNAPSHOT - Nqa ib qho Snapshot Ntawm Daim Npo Tam Sim No

Apr 27, 2019

Cov lus txib no ua rau lub tshuab pa roj carbon monoxide yuav tsum siv lub snapshot ntawm qhov screen tam sim no,

thiab sau qhov tshwm sim rau RAM_G ua tus ARGB4 bitmap. Qhov loj ntawm qhov bitmap yog qhov luaj li cas

qhov screen, muab los ntawm REG_HSIZE thiab REG_VSIZE cov npe.

Thaum snapshot txheej txheem, cov zaub yuav tsum yog neeg xiam los ntawm qhov chaw REG_PCLK rau 0 rau

tsis txhob tso zis glitch.

Vim tias tshuab pa hluav taws xob yuav tsum sau qhov tshwm sim rau hauv qhov chaw nyob, qhov

qhov chaw nyob lo lus chaw yuav tsum tsis txhob siv los yog hais los ntawm graphics cav.

C daim ntawv prototype

tsis muaj dabtsis cmd_snapshot (uint32_t ptr);

Cov lus qhia

ptr

Snapshot chaw nyob chaw nyob, hauv RAM_G

image

image