Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
glReadPixels
Jump...
Cancel
Locked
Locked
Replies
12 replies
Subscribers
137 subscribers
Views
10312 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 12 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
guang x
over 12 years ago
Note: This was originally posted on 13th June 2012 at
http://forums.arm.com
Hi all,
When i try above code, i am failed.
At firstly, i make one GLSurfaceView and set one render to it in Java. In onDrawFrame function of render, i want to rende data by opengl which format is NV12 in one graphicbuffer.
I use eglCreateImageKHR to get EGLImageKHR variable img from graphicbuffer, then i use glEGLImageTargetTexture2DOES to binde. And i try above code also. At last, there is only green in rendering.
I doubt EGL initlization is need to do by some code. Does any know how to fix the problem?
thx,
guangx
Cancel
Vote up
0
Vote down
Cancel
Reply
guang x
over 12 years ago
Note: This was originally posted on 13th June 2012 at
http://forums.arm.com
Hi all,
When i try above code, i am failed.
At firstly, i make one GLSurfaceView and set one render to it in Java. In onDrawFrame function of render, i want to rende data by opengl which format is NV12 in one graphicbuffer.
I use eglCreateImageKHR to get EGLImageKHR variable img from graphicbuffer, then i use glEGLImageTargetTexture2DOES to binde. And i try above code also. At last, there is only green in rendering.
I doubt EGL initlization is need to do by some code. Does any know how to fix the problem?
thx,
guangx
Cancel
Vote up
0
Vote down
Cancel
Children
No data