[Mesa-dev] [PATCH demos v2 0/3] Customizable texture upload benchmark

Courtney Goeltzenleuchter courtney at lunarg.com
Mon Nov 11 16:53:27 PST 2013


This patch series updates teximage to support additional
test modes and commandline interface.
I had started with adding a new test but it was similar to teximage
and, as suggested, I'm submitting this patch that simply
replaces teximage with this new test.
Can run interactively, similar to previous teximage test or can use
command line arguments to specify size of texture, mipmap or not,
source pixel format and internal pixel format.

Test includes [--csvstyle off | data | full] argument that
outputs the benchmark data in a more easily parsed manner
for test automation scripts.

The first patch adds command line argument passing to the perf
infrastructure.

One big commit to update teximage. Would have been similar
commit using other route (new test eventually replacing teximage.)

Add bash script to benchmark all the modes tested previously.

Courtney Goeltzenleuchter (3):
  Perf: Add command line capabilities to perf framework
  Perf: Add test to measure texture upload
  Perf: teximage_enh Add command line options

 src/perf/CMakeLists.txt        |   1 +
 src/perf/Makefile.am           |   1 +
 src/perf/bench_glTexImage2D.sh |  73 +++++
 src/perf/copytex.c             |   2 +-
 src/perf/drawoverhead.c        |   2 +-
 src/perf/fbobind.c             |   2 +-
 src/perf/fill.c                |   2 +-
 src/perf/genmipmap.c           |   2 +-
 src/perf/glmain.c              |   2 +-
 src/perf/glmain.h              |   2 +-
 src/perf/glslstateschange.c    |   2 +-
 src/perf/readpixels.c          |   2 +-
 src/perf/swapbuffers.c         |   2 +-
 src/perf/teximage.c            |   2 +-
 src/perf/teximage_enh.README   |  10 +
 src/perf/teximage_enh.c        | 597 +++++++++++++++++++++++++++++++++++++++++
 src/perf/vbo.c                 |   2 +-
 src/perf/vertexrate.c          |   2 +-
 18 files changed, 695 insertions(+), 13 deletions(-)
 create mode 100755 src/perf/bench_glTexImage2D.sh
 create mode 100644 src/perf/teximage_enh.README
 create mode 100644 src/perf/teximage_enh.c

-- 
1.8.1.2



More information about the mesa-dev mailing list