forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[FIXED] Graphics Issues.. weird.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
MikeDX



Joined: 19 Oct 2005
Posts: 30

PostPosted: Mon Nov 07, 2005 7:35 am    Post subject: [FIXED] Graphics Issues.. weird. Reply with quote

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
View user's profile Send private message
danzel



Joined: 04 Nov 2005
Posts: 182

PostPosted: Mon Nov 07, 2005 8:37 am    Post subject: Reply with quote

throw an image up on http://www.imageshack.us/

Danzel.
Back to top
View user's profile Send private message
MikeDX



Joined: 19 Oct 2005
Posts: 30

PostPosted: Mon Nov 07, 2005 9:02 am    Post subject: Reply with quote

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
View user's profile Send private message
MikeDX



Joined: 19 Oct 2005
Posts: 30

PostPosted: Mon Nov 07, 2005 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Paco



Joined: 09 Oct 2005
Posts: 54

PostPosted: Mon Nov 07, 2005 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message
MikeDX



Joined: 19 Oct 2005
Posts: 30

PostPosted: Mon Nov 07, 2005 8:03 pm    Post subject: Reply with quote

Thanks Paco, that is perfect

sceKernelDcacheWritebackAll(); was the one I needed!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group