Measuring SGX Texturing Performance

1,852 views

Published on

This is an application that allows the user to verify the texturing performance in the system. Also enables re-use of code already written for texturing.

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,852
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Measuring SGX Texturing Performance

  1. 1. Introduction to SGXPERF [email_address]
  2. 2. What is SGXPERF <ul><li>SGXPERF is a tool that helps application developers to benchmark OpenGL ES (1.1 or 2.0) texturing applications on Linux </li></ul><ul><li>It has the following programmable functionalities </li></ul><ul><ul><li>Number of on-screen objects </li></ul></ul><ul><ul><li>Different Texture formats </li></ul></ul><ul><ul><li>Different Texture sizes </li></ul></ul><ul><ul><li>Different Window Surfaces </li></ul></ul><ul><ul><li>Selectable OpenVG, PVR2D, and </li></ul></ul><ul><ul><li>General purpose shader functionalities (like 2D convolution) in OpenGL ES2.0 </li></ul></ul>
  3. 3. Usage of SGXPERF <ul><li>&quot;TI SGX OpenGLES2.0+VG Benchmarking Program For Linux. </li></ul><ul><li>Usage: sgxperf2 testID texwdth texht rot texfmt svgfile numObjects surfaceType </li></ul><ul><li>testID = ID of test case to run, takes one of the below values: </li></ul><ul><li>0 - Print supported extensions and number </li></ul><ul><li>1 - Fill entire screen with single colour, no objects </li></ul><ul><li>2 - Draw a coloured object filling entire screen without texture </li></ul><ul><li>3 - Draw a textured object filling entire screen </li></ul><ul><li>4 - Alpha blending full surface texture </li></ul><ul><li>5 - Alpha blending full surface WITHOUT texture </li></ul><ul><li>6 - EGL_NATIVE_PIXMAP_KHR (needs CMEM) </li></ul><ul><li>7 - EGL_GL_TEXTURE_2D_KHR (needs CMEM) </li></ul><ul><li>8 - GL_IMG_texture_stream (needs CMEM, BUFFERCLASS_TI) </li></ul><ul><li>9 - OpenVG SVG/PVG performance test (needs svg/pvgfile name) </li></ul><ul><li>10 - PVR2D benchmark test </li></ul><ul><li>11 - Lenna Edge Detection benchmark test with RGB </li></ul><ul><li>12 - Lenna Edge Detection benchmark test with YUV </li></ul><ul><li>texwdth = width in pixels of ARGB texture </li></ul><ul><li>texht = height in pixels of ARGB texture </li></ul><ul><li>rot = 1 to enable rotation of objects, 0 to disable (default) </li></ul><ul><li>texfmt = 2 for ARGB texture (default), 0 for RGB565 texture </li></ul><ul><li>svgfile = complete path name of the svg/pvg file to be tested (.svg or .pvg) </li></ul><ul><li>numObjects = number of on-screen objects that will be drawn vertically and horizontally </li></ul><ul><li>surfaceType = type of surface(0 = WindowSurface, 1 = pixmapSurface_16b, 2 = pixmapSurface_32b) </li></ul><ul><li>Ex. to test TEST3 with 256x256 32bit texture on LCD with 1 object, enter </li></ul><ul><li>'./sgxperf2 3 256 256 0 2 0 1 0' &quot;; </li></ul>
  4. 4. Outputs <ul><li>When running SGXPERF or SGXPERF2, the output is generated in terms of the average milliseconds per frame and printed on the console </li></ul>
  5. 5. Notes <ul><li>SGXPERF does not benchmark X11 or other Window system based applications. It only uses Null Window System </li></ul>
  6. 6. Next Steps <ul><li>Download SGXPERF from, </li></ul><ul><ul><li>https://gforge.ti.com/gf/project/gleslayer/scmsvn/?action=browse&path=%2Ftrunk%2FPackages%2FOMAP3_Graphics_SDK%2FGLESLAYER_SGXPERF_20%2F </li></ul></ul><ul><li>Download OMAP Graphics SDK from, </li></ul><ul><ul><li>http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html </li></ul></ul><ul><li>Build the SGXPERF application using the provided makefile and run it </li></ul>

×