Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display buffer not being displayed after flip #28

Closed
elisha464 opened this issue Nov 26, 2013 · 3 comments
Closed

display buffer not being displayed after flip #28

elisha464 opened this issue Nov 26, 2013 · 3 comments

Comments

@elisha464
Copy link
Contributor

when issuing a flip command to the RSX thread, the display buffer that is being saved on local main memory is not being displayed, for example, png test is writing directly to the local main memory allocated display buffers (0, 1 for double buffering) and when its doing flip the buffer are not shown

@AlexAltea
Copy link
Contributor

Has this issue something to do with the problems described in this comment? DHrpcs3@9d5b138#commitcomment-4646043

@elisha464
Copy link
Contributor Author

no, I mean this

issue
the sample is allocating memory in local main memory (0xc0000000) and set it as a display buffer (lets call it buffer 0)
it allocates another one right after it (can't remember the address, anyway, lets call it buffer 1)
the sample writes to these buffers directly (i.e. buffer0[y*width + x] = color in a loop)
when a call to a flip command occurs (e.g. flip(buffer 0)) the contents of the buffer should be present (like in the raw image viewer), instead you see a black screen, not good :/

@elisha464
Copy link
Contributor Author

works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants