| View previous topic :: View next topic |
| Author |
Message |
MikeDX
Joined: 19 Oct 2005 Posts: 30
|
Posted: Mon Nov 07, 2005 7:35 am Post subject: [FIXED] Graphics Issues.. weird. |
|
|
Hey people. I've just about completed porting Bruno's Mikie Emulator to the PSP. It works great.
However. There seems to be an issue with some sort of tearing (not vsync related) when displaying graphics.
I would attach a screenshot but this forum doesnt seem to allow it. Any offer on image hosting or anything?
I'm happy to send our binaries for people to test if they can help.
Last edited by MikeDX on Tue Nov 08, 2005 2:43 am; edited 1 time in total |
|
| Back to top |
|
 |
danzel
Joined: 04 Nov 2005 Posts: 182
|
|
| Back to top |
|
 |
MikeDX
Joined: 19 Oct 2005 Posts: 30
|
Posted: Mon Nov 07, 2005 9:02 am Post subject: |
|
|
Righto... now where was that screencap code I saw...
Hmm.. anybody got any screencap code that I can use from within the app itself? dumping the output of my buffer to a file results in "perfect" graphics.
failing that, anybody got a camera that they can take a photo of - If i send them a binary. |
|
| Back to top |
|
 |
MikeDX
Joined: 19 Oct 2005 Posts: 30
|
Posted: Mon Nov 07, 2005 9:43 am Post subject: |
|
|
ok now this is even more weird
If I call my drawsprites() function twice, it seems the problem doesnt occur..
is there some kind of write-delay that I need to be aware of??? |
|
| Back to top |
|
 |
Paco
Joined: 09 Oct 2005 Posts: 54
|
Posted: Mon Nov 07, 2005 10:50 am Post subject: |
|
|
| MikeDX wrote: | ok now this is even more weird
If I call my drawsprites() function twice, it seems the problem doesnt occur..
is there some kind of write-delay that I need to be aware of??? |
Possibly, the GE chip can't read stuff from the CPU's cache, so try calling sceKernelDcacheWriteback() (check name in header files). Alternatively, you can write your vertex buffers to uncached memory. _________________ Paco |
|
| Back to top |
|
 |
MikeDX
Joined: 19 Oct 2005 Posts: 30
|
Posted: Mon Nov 07, 2005 8:03 pm Post subject: |
|
|
Thanks Paco, that is perfect
sceKernelDcacheWritebackAll(); was the one I needed! |
|
| Back to top |
|
 |
|