Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] Test OpenGLES 2.0 performance

OP heliosdev

29th April 2010, 10:53 PM   |  #1  
OP Senior Member
Thanks Meter: 1
 
266 posts
Join Date:Joined: Aug 2007
TestOpenGLES2 is an OpenGL ES 2.0 benchmark/showcase application.
(Should work on devices like the HTC HD2, mini, Acer S200, Toshiba TG01.)

-------------------- tests ----------------------
Transitions
tests multitexture by changing from one image to another
effects: Slide, Fade, Blinds, Wave, Ripple

Edge Detection
tests fragment shader performance by doing five texture fetches per pixel

Text
simple text rendering

Twist
tests vertex shader performance by rotating vertices (small vertex count right now)

Frame Buffer Object
render each of the first four tests into separate 256x256 offscreen textures which are then used to texture rotating cylindric patches

Head Tracking
renders some squares and cylinders with a non-centered perspective projection


---------------- version history -----------------

15 august 2010
new tests: Frame Buffer Object and Head Tracking
fullscreen
'exit', 'next test' and 'previous test' buttons
showing bars for current fps (red), average fps (blue), progress (green)
fps timer measures fps every 200ms (results show avg/max fps and kPixels/s)
constant test time as every test runs for 10s
improved rendering using vertex buffer objects
improved rendering using a TextureManager and a ShaderManager to prevent redundant setting of the same texture/shader
using compressed textures (with MipMaps for non-UI textures); fallback to standard if extension is missing
Logfile
discussions of this version start here

29 april 2010
initial version

-------------------- results --------------------
HD2 stock rom 1.66

Test OpenGL ES 2.0 by heliosdev@hotmail.com
Results (480x800)
--------------------------------
Transitions
avg: 43 fps 16401 kPixels/s
max: 65 fps 24836 kPixels/s

Edge Detection
avg: 22 fps 8378 kPixels/s
max: 29 fps 11294 kPixels/s

Text
avg: 59 fps 22623 kPixels/s
max: 64 fps 24591 kPixels/s

Twist
avg: 59 fps 22842 kPixels/s
max: 64 fps 24591 kPixels/s

Frame Buffer Object
avg: 14 fps 5375 kPixels/s
max: 15 fps 5753 kPixels/s

Head Tracking
avg: 38 fps 14510 kPixels/s
max: 44 fps 16941 kPixels/s
Attached Thumbnails
Click image for larger version

Name:	transitions.jpg
Views:	991
Size:	33.2 KB
ID:	318006   Click image for larger version

Name:	edgedetection.jpg
Views:	821
Size:	35.7 KB
ID:	318007   Click image for larger version

Name:	text.jpg
Views:	777
Size:	20.6 KB
ID:	318008   Click image for larger version

Name:	twist.jpg
Views:	719
Size:	13.3 KB
ID:	318009   Click image for larger version

Name:	framebufferobject.jpeg
Views:	185
Size:	24.9 KB
ID:	381008   Click image for larger version

Name:	headtracking.jpeg
Views:	183
Size:	40.5 KB
ID:	381009  
Attached Files
File Type: cab TestOpenGLES2.CAB - [Click for QR Code] (297.4 KB, 921 views)
Last edited by heliosdev; 15th August 2010 at 11:30 PM. Reason: new version
30th April 2010, 10:12 PM   |  #2  
fards's Avatar
Recognized Developer
Flag Currently Reverse Engineering 42
Thanks Meter: 834
 
5,679 posts
Join Date:Joined: Nov 2005
Donate to Me
More
Cool, glad you worked out what was causing the issue
1st May 2010, 12:34 AM   |  #3  
OP Senior Member
Thanks Meter: 1
 
266 posts
Join Date:Joined: Aug 2007
OpenGLES1.x test app was easier to develop because of the software renderer which works in the emulator (so you didn't need a real device).
Thanks for testing!
I'm working on some more OpenGL ES 2.0 feature tests right now.
3rd May 2010, 03:04 PM   |  #4  
optical10's Avatar
Senior Member
Thanks Meter: 13
 
177 posts
Join Date:Joined: Jul 2006
please help, can find OpenGL drivers for my phone!
After installing Throttle Launcher 1.1 yesterday on my HTC Advantage I was reminded that it doesn't have any of the above drivers for 3-D acceleration.

It's a fast phone at 624MHz CPU but because I've been using SPB Mobile Shell 3.5 I haven't noticed or needed 3-D acceleration because that program worked extremely well without it.

However as this phone is coming to the end of its life and it's out of warranty I don't mind tinkering to get OpenGL working on it.

I just can't find any sites or information specifically for HTC WM6 phones supporting an official or unofficial driver download, can anyone point me in the right direction for such a driver download?

Any help appreciated, sorry for hijacking this thread but it seemed the closest fit for my issue.
Last edited by optical10; 3rd May 2010 at 03:10 PM.
4th May 2010, 08:52 PM   |  #5  
NeoS's Avatar
Senior Moderator / Recognized Developer - There is no N00b...
Flag Somewhere in NL
Thanks Meter: 847
 
3,344 posts
Join Date:Joined: Jan 2008
Hey Heliosdev! Good to see you're still continueing the crusade. Are you also planning to do similar projects for Direct3D in the future? Or OGLES on Android 2.2?

Anyway, Good luck with your project!
4th May 2010, 09:30 PM   |  #6  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Apr 2010
Talking My results
My results on HTC HD2 great application!
TestOpenGLES2 by heliosdev@hotmail.com
Results (480x748)
--------------------------------
Transitions
18997 kPixels/s

Edge Detection
9896 kPixels/s

Text
19037 kPixels/s

Twist
18897 kPixels/s

OpengGLES2 info
--------------------------------
Vendor
Advanced Micro Devices, Inc.

Renderer
AMD Z430

Version
OpenGL ES 2.0

Extensions
GL_AMD_compressed_3DC_texture
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_AMD_program_binary_Z400
GL_AMD_tiled_rendering
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_bgra
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture
GL_OES_depth_texture
GL_OES_depth24
GL_OES_EGL_image
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2
4th May 2010, 10:05 PM   |  #7  
Senior Member
Flag Near to PARIS
Thanks Meter: 4
 
398 posts
Join Date:Joined: Apr 2008
More
great application !

this is my results
TestOpenGLES2 by heliosdev@hotmail.com
Results (480x764)
--------------------------------
Transitions
19301 kPixels/s

Edge Detection
10025 kPixels/s

Text
19424 kPixels/s

Twist
19362 kPixels/s

OpengGLES2 info
--------------------------------
Vendor
Advanced Micro Devices, Inc.

Renderer
AMD Z430

Version
OpenGL ES 2.0

Extensions
GL_AMD_compressed_3DC_texture
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_AMD_program_binary_Z400
GL_AMD_tiled_rendering
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_bgra
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture
GL_OES_depth_texture
GL_OES_depth24
GL_OES_EGL_image
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2
Last edited by Caste23; 4th May 2010 at 10:07 PM.
4th May 2010, 10:45 PM   |  #8  
Tung_meister's Avatar
Senior Member
Flag Rotherham
Thanks Meter: 69
 
608 posts
Join Date:Joined: May 2005
Donate to Me
More
TestOpenGLES2 by heliosdev@hotmail.com
Results (480x764)
--------------------------------
Transitions
21803 kPixels/s

Edge Detection
10710 kPixels/s

Text
21421 kPixels/s

Twist
16028 kPixels/s

OpengGLES2 info
--------------------------------
Vendor
Advanced Micro Devices, Inc.

Renderer
AMD Z430

Version
OpenGL ES 2.0

Extensions
GL_AMD_compressed_3DC_texture
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_AMD_program_binary_Z400
GL_AMD_tiled_rendering
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_bgra
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture
GL_OES_depth_texture
GL_OES_depth24
GL_OES_EGL_image
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2



strange how my twist score is so low...
5th May 2010, 02:18 AM   |  #9  
guntcent's Avatar
Senior Member
Flag Garden Grove
Thanks Meter: 14
 
1,019 posts
Join Date:Joined: May 2008
More
What does this app do basically
5th May 2010, 06:53 AM   |  #10  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Feb 2010
Result with the drivers in the ROM :

TestOpenGLES2 by heliosdev@hotmail.com
Results (480x748)
--------------------------------
Transitions
21655 kPixels/s

Edge Detection
10498 kPixels/s

Text
21973 kPixels/s

Twist
21397 kPixels/s

OpengGLES2 info
--------------------------------
Vendor
Advanced Micro Devices, Inc.

Renderer
AMD Z430

Version
OpenGL ES 2.0

Extensions
GL_AMD_compressed_3DC_texture
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_AMD_program_binary_Z400
GL_AMD_tiled_rendering
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_bgra
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture
GL_OES_depth_texture
GL_OES_depth24
GL_OES_EGL_image
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2


Result with chainfire v2 :

TestOpenGLES2 by heliosdev@hotmail.com
Results (480x748)
--------------------------------
Transitions
19037 kPixels/s

Edge Detection
9918 kPixels/s

Text
19037 kPixels/s

Twist
18997 kPixels/s

OpengGLES2 info
--------------------------------
Vendor
Advanced Micro Devices, Inc.

Renderer
AMD Z430

Version
OpenGL ES 2.0

Extensions
GL_AMD_compressed_3DC_texture
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_AMD_program_binary_Z400
GL_AMD_tiled_rendering
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_bgra
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture
GL_OES_depth_texture
GL_OES_depth24
GL_OES_EGL_image
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2

The funny thing is ... chainfire drivers looks faster and smoother
Both benches run on a HD2 with 1.66.403.1 ROM & Radio 2.07.51.22_2
Last edited by Webhiker; 5th May 2010 at 06:57 AM.

Post Reply Subscribe to Thread

Tags
opengles 2.0
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes