Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Graphics, Gaming, and VR forum
glReadPixels
Jump...
Cancel
Locked
Locked
Replies
12 replies
Subscribers
136 subscribers
Views
9623 views
Users
0 members are here
OpenGL ES
Mali-GPU
Mali-400
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
glReadPixels
Sebastien (OBSOLETE) Baudouin
over 11 years ago
Note: This was originally posted on 9th March 2012 at
http://forums.arm.com
Hi all,
i try to render scene in an off screen way, controlling the location of my pixels (the pointer is fixed by myself).
It seems that MALI400 is not supporting eglCreatePixmapSurface, interface that would allows me to create a surface that will use pixels in the location i want.
As it is not working i have to use the API glReadPixels which is very very slow (compare to other GPU).
So i'm wondering if there is a reason for such bad perf for ReadPixels and if someone knows a way with MALI to render a scene at place (pixel buffer address) you want.
Thanks for your help.
BR
Seb
Parents
Karthik Hariharakrishnan
over 11 years ago
Note: This was originally posted on 10th March 2012 at
http://forums.arm.com
Hi Seb,
I am sorry that you are facing problems with pixmap surfaces. Could you let us know what errors you get when trying to use pixmap surfaces. After every EGL call , you can check if an error has been generated using
eglGetError
. Could you let me know what error it shows? It might also help us if you can share snippets of code where the pixmap surface is created.
Also, with respect to glReadPixels, we generally advise programmers not to use that particular API call as it is causes a flush and breaks the rendering pileline. This will cause huge performance impacts.
BR,
Karthik
Cancel
Up
0
Down
Cancel
Reply
Karthik Hariharakrishnan
over 11 years ago
Note: This was originally posted on 10th March 2012 at
http://forums.arm.com
Hi Seb,
I am sorry that you are facing problems with pixmap surfaces. Could you let us know what errors you get when trying to use pixmap surfaces. After every EGL call , you can check if an error has been generated using
eglGetError
. Could you let me know what error it shows? It might also help us if you can share snippets of code where the pixmap surface is created.
Also, with respect to glReadPixels, we generally advise programmers not to use that particular API call as it is causes a flush and breaks the rendering pileline. This will cause huge performance impacts.
BR,
Karthik
Cancel
Up
0
Down
Cancel
Children
No data