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
Mali400, lose 15ms if using a FBO
Blog
Forum
Videos & Files
Help
Jump...
Cancel
New
Replies
2 replies
Subscribers
133 subscribers
Views
1556 views
Users
0 members are here
Mali-GPU
Mali-400
Related
Mali400, lose 15ms if using a FBO
Offline
Victor Bernot
over 7 years ago
Note: This was originally posted on 29th July 2013 at
http://forums.arm.com
Hello,
I am developing a game on a Galaxy S3 with a Mali 400 GPU
I noticed that as soon as I start to render my scene to a FBO, I lose 10 to 15ms in frame time when compared to directly rendering to screen....
I need a FBO in order to do some post processing, (so I want to use the content of the FBO as a source texture for a shader)
Here is what I do :
=> I use a 565 FBO, with a color attachment (I tried using or not a depth attachment, this changes nothing, depth precision is 16bits)
=> at each frame, I bind the FBO, then immediately clear it (color & depth)
=> then I render my 3D scene inside this fbo
=> after that I unbind the FBO, then draw a quad on screen with a ultra simple shader which task is only displaying the color attachment on screen, nothing else ...
=> then I draw my game's UI
=> finally I call eglSwapBuffers
So comparing FBO / not FBO there is a 10 to 15ms performance hit and this "hit" is most of the time coming from the eglSwapBuffer duration
Is that normal ? Any idea on how I could improve that ?
PS: What is even stranger is that if I start to use some more complex post processing code in the post processing shader, then I do not get much more performance hit ...
Thanks
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
Can I create a opencl buffer from a GraphicBuffer or a raw ion buffer
+1
OpenCL
Mali-T760
Mali-GPU
13163
views
9
replies
Latest
1 month ago
by
Kévin Petit
Answered
Setting up OpenGL for left-handed coordinates
+1
2797
views
1
reply
Latest
1 month ago
by
Ben Clark
Not Answered
Mali Core Unit Utilization graph in Streamline no longer including up to a hundred%
0
High Fidelity Mobile Gaming
4085
views
1
reply
Latest
1 month ago
by
Peter Harris
Answered
Shadow maps and framebuffer compression
+1
3532
views
1
reply
Latest
1 month ago
by
Peter Harris
Answered
Mali T400 rendering speed limit with Wayland
0
19921
views
6
replies
Latest
1 month ago
by
gchamp
<
>
View all questions in Graphics and Gaming forum