Descriptiongpu: Perf test to check costs of texture upload at different stages.
Simple test that uploads and draws a texture on an offscreen surface.
The upload/draw code is run multiple times, timings are collected and the
average elapsed milliseconds are printed out using the perf_test framework.
The test target has not been added to the perf tests the are automatically run yet
and has to be manually run.
BUG=423481
Committed: https://crrev.com/3e60aaa94331d8f7a80097b472bba3eb0b177116
Cr-Commit-Position: refs/heads/master@{#313756}
Patch Set 1 #
Total comments: 12
Patch Set 2 : "format" and "type" are now a parameter. Added a Measurement struct. #
Total comments: 6
Patch Set 3 : Removed blacklisted c++11 features. Changed a map to a vector when aggregating measurements. Use Ti… #
Total comments: 10
Patch Set 4 : Back to a map for aggregating measurements. Changed the namespace to gpu. #Patch Set 5 : Geometry dependency added to build files. #
Messages
Total messages: 16 (5 generated)
|