Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Graphics and Gaming
Jump...
Cancel
Graphics and Gaming
Graphics and Gaming forum
Mali T604 and eglImageKHR and FBO
Blog
Forum
Videos & Files
Help
Jump...
Cancel
New
Replies
6 replies
Subscribers
133 subscribers
Views
4828 views
Users
0 members are here
Mali-T604
Mali-GPU
Mali-400
Related
Mali T604 and eglImageKHR and FBO
Offline
Sebastien Baudouin
over 7 years ago
Note: This was originally posted on 12th June 2013 at
http://forums.arm.com
Hi,
i'm implementing an Android application using the GPU and especially ImageKHR and FrameBuffer Objects.
In a thread and its GLES context i'm creating a texture and its eglImageKHR then i share the eglImageKHR handle with another thread. In this second thread i'm creating a FrameBuffer Object with the given eglImageKHR as color buffer and a renderbuffer (for the depth) . Then from this second thread i'm drawing using openGLES 1.x commands into the just created FBO. The result is displayed on screen by the First thread.
All that is working well with a MALI-400 but running that application on a nexus 10 which use MALI-T604 i have some issue.
1- NO GL ERROR appear.
2- the FBO status is OK
but the screen is sometime OK sometime completely black.
I try to replace the drawing operation by a simple clear color where the color is changing at each call and sometime i can see part of the screen with a color and part that is black.
Is someone aware of differences between MALI-400 and MALI-T604 that could cause such kind of issue. unfortunately i do not have any documentation on T604 to really understand what is happening. I tried to enable auto MIMAP generation in case of T604 as for (NVidia GPU it was a mandatory condition the make the texture "complete") but nothing has changed.
I suspect that it is coming from ImageKHR because i have a JAVA application where i'm uising FBO without ImageKHR and it seems to work fine.
Here is the sequence to create the FBO with EGLImageKHR:
glGenFramebuffersOES(1, (GLuint*) 0x777ada1c);
glBindFramebufferOES(GL_FRAMEBUFFER_OES, 1);
glGenRenderbuffersOES(1, (GLuint*) 0x777ada1c);
glBindRenderbufferOES(GL_RENDERBUFFER_OES, 1);
glRenderbufferStorageOES(GL_RENDERBUFFER_OES, GL_DEPTH_COMPONENT16_OES, 1184, 694);
glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_DEPTH_ATTACHMENT_OES, GL_RENDERBUFFER_OES, 1);
glGenTextures(1, (GLuint *) 0x777ada0c);
glBindTexture(GL_TEXTURE_2D, 3);
glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, (GLeglImageOES) 0x752d700c);
glFramebufferTexture2DOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, 3, 0);
glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES);
I hope someone will be able to help me to understand what i'm missing .
Br
Seb
Parents
Offline
Michael McGeagh
over 7 years ago
Note: This was originally posted on 24th June 2013 at
http://forums.arm.com
Hello SebDoe,
[color="#444444"][font="arial"] Do you have a reproducer app that we could test on our end?[/font][/color]
This will help us identify what the problem is, what the solution may be, and any workarounds that may be of use.
Thanks in advance,
McGeagh
Cancel
Up
0
Down
Reply
Cancel
Reply
Offline
Michael McGeagh
over 7 years ago
Note: This was originally posted on 24th June 2013 at
http://forums.arm.com
Hello SebDoe,
[color="#444444"][font="arial"] Do you have a reproducer app that we could test on our end?[/font][/color]
This will help us identify what the problem is, what the solution may be, and any workarounds that may be of use.
Thanks in advance,
McGeagh
Cancel
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
Analyzing optimized SPIR-V binaries using Mali Offline Compiler
0
Mali Offline Compiler
vulkan
Arm Mobile Studio
5672
views
4
replies
Latest
2 months ago
by
speedym
Answered
Understanding Mali Perf Counters in Streamline
0
arm streamline
Mali-G77
6068
views
2
replies
Latest
2 months ago
by
Peter Harris
Answered
GPU Benchmark Tools Recommendation
+1
GPU Tools
OpenGL ES
performance analysis
Mali-G76
9391
views
2
replies
Latest
3 months ago
by
Vikash
Answered
I want to know about the GPU Line up
+1
GPU Architecture
Mali GPU (Bifrost Architecture)
gpu
10254
views
5
replies
Latest
3 months ago
by
Peter Harris
Not Answered
Mali-G71 GPU glReadPixels slow compared to linux desktop equivilant for Default Framebuffer
+1
Android OpenGL ES
Mali-G71
Graphics APIs
5936
views
0
replies
Started
3 months ago
by
Matthew Good
<
>
View all questions in Graphics and Gaming forum