Hi,
https://www.imgtec.com/forum/forum_posts.asp?TID=955
<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
>This it is taking .5 seconds
>This is taking 1 second for the first execution, the actual rotation taking only 1ms
Hi,
https://www.imgtec.com/forum/forum_posts.asp?TID=955
<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Hi,
are you creating a FBO for every render?
Reuse it for consequent renders and just make sure to clear the contents (glClear(GL_COLOR_BUFFER_BIT)).
Try to use the texture streaming mechanism if it is available on your platform.
It will allow you to use YUV textures without having to perform the conversion in your application.
Have you tried rotating the image on the CPU? A glReadPixels() will stall the CPU and synchronize with the GPU which you would normally try to avoid at all costs.
As you are only (?) doing a simple rotation you might find software rendering to be faster as all operations are done on the CPU (minimal/no stalling).
But you would have to test to see if the performance is better with software rendering than with GPU rendering.
If you could post your code or send it to devtech@imgtec.com we could have a closer look and give more specific performance recommendations. marco2011-03-22 10:22:37
Hi,
© Imagination Technologies Limited. All rights reserved.
Privacy Policy – Terms & Conditions – Trademarks – Cookies