gpu: Run texture upload perf test with different texture sizes.
commit96f0b9cfab9e1c82d16b272a75611991c26162f8
authordcastagna <dcastagna@chromium.org>
Wed, 25 Feb 2015 01:46:43 +0000 (24 17:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 01:47:14 +0000 (25 01:47 +0000)
treedf85219733cb3e4e36e3a0d374e3e500e4ac4de3
parent23185aa9c04fbde16cf53d8c69954f9ab27acc8a
gpu: Run texture upload perf test with different texture sizes.

The logic to warm up and run multiple iteration of upload and draw has been moved in RunUploadAndDrawMultipleTimes.
The vertex buffer now contains POSITION and TEXCOORD and is generated by GenerateVertexBuffer for each texture size before RunUploadAndDrawMultipleTimes is called.

A suffix with the size of the texture is appended to every perf result variable name.

BUG=423481

Review URL: https://codereview.chromium.org/950183002

Cr-Commit-Position: refs/heads/master@{#317947}
gpu/perftests/measurements.cc
gpu/perftests/measurements.h
gpu/perftests/texture_upload_perftest.cc