Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,698 Members 50,088 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Test OpenGLES 2.0 performance

Tip us?
 
heliosdev
Old
(Last edited by heliosdev; 15th August 2010 at 10:30 PM.) Reason: new version
#1  
Senior Member - OP
Thanks Meter 1
Posts: 266
Join Date: Aug 2007
Default [APP] Test OpenGLES 2.0 performance

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, 917 views)
 
fards
Old
#2  
fards's Avatar
Recognized Developer
Thanks Meter 711
Posts: 5,434
Join Date: Nov 2005
Location: Currently Reverse Engineering 42

 
DONATE TO ME
Cool, glad you worked out what was causing the issue
Quote:
That phones too big!
why?
have you never held anything bigger than 4" in your hand?



Racing and building Human Powered Vehicles.
 
heliosdev
Old
#3  
Senior Member - OP
Thanks Meter 1
Posts: 266
Join Date: 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.
 
optical10
Old
(Last edited by optical10; 3rd May 2010 at 02:10 PM.)
#4  
optical10's Avatar
Senior Member
Thanks Meter 11
Posts: 172
Join Date: Jul 2006
Default 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.
Samsung Galaxy Note 3 SM-N9005
(International Qualcomm) with Stock Samsung 4.3 Firmware MJ6 30th Oct 2013 -: CF-Auto-Root-hlte-hltexx-smn9005.zip

T-mobile AMEO HTC Athena 100 Advantage 7500
(5-inch VGA display (VGA is 480 x 640) Running WM6.5 with Wisbar WM7 Skin by WP7 (Deviation) & WP7 Blue (VGA)(WAD 2) 2010/10/18 By: JCKOTZE)
 
NeoS
Old
#5  
NeoS's Avatar
Senior Moderator / Recognized Developer - There is no N00b...
Thanks Meter 838
Posts: 3,320
Join Date: Jan 2008
Location: Somewhere in NL

 
DONATE TO ME
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!

|How to make a good signature|How to be a new user|Rules|Moderator List|

Device list in chronological order: Nokia 7650, Nokia 6260, Nokia N80, HTC Artemis, HTC Polaris, HTC Blackstone, HTC Iolite, HTC Passion, Samsung GT9100, Asus Grouper, LG Mako, LG Hammerhead. Which one will be next?
 
gumcaj
Old
#6  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: 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
 
Caste23
Old
(Last edited by Caste23; 4th May 2010 at 09:07 PM.)
#7  
Senior Member
Thanks Meter 4
Posts: 398
Join Date: Apr 2008
Location: Near to PARIS
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
 
Tung_meister
Old
#8  
Tung_meister's Avatar
Senior Member
Thanks Meter 64
Posts: 548
Join Date: May 2005
Location: Rotherham

 
DONATE TO ME
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...
 
guntcent
Old
#9  
guntcent's Avatar
Senior Member
Thanks Meter 12
Posts: 1,012
Join Date: May 2008
Location: Garden Grove
What does this app do basically

- T-Mobile wing...........sold
- T-Mobile TouchPro2 CellPro Rom SOLD
- T-Mobile TouchHD default rom SOLD
- HTC HD2 CM6.1
- T-mobile Mytouch Slide SOLD
- T-mobile G2 CM7 r2
- T-Mobile Mytouch 4G CM7 r2
- T-mobile Mytouch 4G slide Default
- 2 T-Mobile Sensation 4G Pyramid 3D Neon
 
Webhiker
Old
(Last edited by Webhiker; 5th May 2010 at 05:57 AM.)
#10  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: 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

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

Advanced Search
Display Modes


XDA PORTAL POSTS

[APK] Chrome Beta 37 Brings First Traces of Material Design

With Android L on the horizon, it’s no surprise that Google’s … more

Immersive Mode on Unrooted Devices with GMD Full Screen Immersive Mode

Everyone likes screen real estate–no question about that. The … more

Android Wear App Review: EchoWear Song Search – XDA Developer TV

Yesterday on XDA Developer TV, Producer AdamOutler tore down a Samsung … more