c9faddb4a9c94f7ec477fea7f32ce9c4fa34c8d0 |
|
09-Dec-2016 |
Ben Chan <benchan@chromium.org> |
glbench: replace scoped_ptr with std::unique_ptr scoped_ptr from libchrome has been deprecated in favor of C++11 std::unique_ptr. BUG=chromium:672314 TEST=Run unit tests. Change-Id: I0f71641e2be379c2a0efe80e1b4e7b303610bf20 Reviewed-on: https://chromium-review.googlesource.com/418397 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
aace01b7d49e41d1bd26be3767305f57e036e0d7 |
|
17-Jun-2014 |
Daniel Kurtz <djkurtz@chromium.org> |
glbench: refactor how tests specify the unit of their measurement Instead of hardcoding the unit into subtest name strings, let's set the unit on a per test basis, and have testbase append the unit as required. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> BUG=none TEST=test_that graphics_GLBench Change-Id: Ieb06ad1dd6b2bee8fb0af039e65dc357aed4df1c Reviewed-on: https://chromium-review.googlesource.com/202886 Reviewed-by: Ilja Friedel <ihf@chromium.org> Tested-by: Daniel Kurtz <djkurtz@chromium.org> Commit-Queue: Daniel Kurtz <djkurtz@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
bcad4fb80e1115af4aad4558d93be6dabf7a3f26 |
|
17-Jun-2014 |
Daniel Kurtz <djkurtz@chromium.org> |
glbench: allow tests to skip MD5 / image save step Several glbench test cases don't draw anything to the framebuffer, so reading back pixels, computing an MD5 hash on them, and saving them as a .png is just wasted effort. Furthermore, every time a test case is added that doesn't need this pixel verification must also be added to the graphics_GLBench no_checksum_tests list. It's much easier to just let the test request that this stage be skipped, and make graphics_GLBench just skip verification if no .png is provided. When a test doesn't write a .png, the "imagefile" field is set to "[none]". This is nominally done so that graphics_GLBench can distinguish this case from a test that has 'value=0', which already uses the NULL imagefile ("[]"). Although, in truth, it is done because graphics_GLBench currently treats NULL "[]" imagefile as a "knownbad" image, since the glbench_knownbad_images.txt ends with a blank line. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> BUG=none TEST=test_that graphics_GLBench Change-Id: Ib8fc4b403638199f5e6390105d78dd5da4d1cab3 Reviewed-on: https://chromium-review.googlesource.com/202884 Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Tested-by: Daniel Kurtz <djkurtz@chromium.org> Commit-Queue: Daniel Kurtz <djkurtz@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
3907fd1607fdc5ae5065adad80b35c7733fbbf7a |
|
15-Apr-2014 |
Ilja Friedel <ihf@chromium.org> |
GLBench: add new fillrate test of variable FBO size. * Add fbofill test: We want to measure memory throughput (in this case bilinear copy) depending on texture size. This is interesting to study cache behavior. * Also changes slightly thermal throttling if we can't read temperatures (by sleeping for a full 30 seconds between tests to ensure cold state). * Finally add a command line option called "-hasty". This option will run each test at at most 512x512 resolution, run it only for a fraction of the loops we normally do, and not cool down the machine between tests. The hasty option will be used to verify MD5s in BVT and might also be useful for debugging test failures. Currently glbench -save -hasty runs in less than 30 seconds on daisy. * This change fixes an old standing bug with the yuv_shader images. The references for this and the new fbofill test are updated. * We will run "glbench -hasty" on the BVT suite. It will run a subset of tests in less than a minute total and verify MD5s of the generated images. We will not upload any performance results from BVT. Notice that we might need to collect more references from the lab as the yuv images differ depending on the GPU architecture. Hence BVT is only experimental. BUG=chromium:355202, chromium:361925 TEST=Ran locally on daisy and link. Ran cbuildbot on alex. Change-Id: I54039cce967664d553c79d16ca2b1361953ab9fe Reviewed-on: https://chromium-review.googlesource.com/194991 Commit-Queue: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org> Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
6f72b2bf8d333b52f6808bcc0f1e43239de26fed |
|
11-Apr-2014 |
Ilja Friedel <ihf@chromium.org> |
Revert "GLBench: add new fillrate test of variable FBO size." Some pictures have changed that should not have. Starting over. This reverts commit b4efb4a15609c2af3248aa9a256a7d5e957afa78. Change-Id: I15af5b4c4878f2f95b661b7c575a3fd71b81b075 Reviewed-on: https://chromium-review.googlesource.com/194135 Reviewed-by: Ilja Friedel <ihf@chromium.org> Commit-Queue: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
b4efb4a15609c2af3248aa9a256a7d5e957afa78 |
|
08-Apr-2014 |
Ilja Friedel <ihf@chromium.org> |
GLBench: add new fillrate test of variable FBO size. We would like to measure memory throughput (in this case bilinear copy) depending on texture size. This is interesting to study cache behavior. Also changes slightly thermal throttling if we can't read temperatures (by sleeping for a full 30 seconds between tests to ensure cold state). Finally adding a command line option called "-hasty". This option will run each test at 512x512 resolution only, run it only for a fraction of the loops we normally do, and not cool down the machine between test. The hasty option will be used to verify MD5s in BVT and might also be useful for debugging test failures. Currently glbench -save -hasty runs in 15 seconds on daisy. BUG=chromium:355202 TEST=Ran locally on daisy and link. Change-Id: I6a21565eaf112f3373b2bab26ac122ed7b1ae5cb Reviewed-on: https://chromium-review.googlesource.com/193576 Commit-Queue: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
439ea14b8019a05cd4d3f038b4d32bca1d3fe5dc |
|
22-Feb-2014 |
Ilja H. Friedel <ihf@chromium.org> |
GLBench: don't run linear regression anymore. Instead the test runs larger and larger test problems until it crosses 5 seconds. It uses the last two runs (just below and just above the threshold) to compute the performance values. I hope this makes test results less noisy, especially when updating the drivers. BUG=chromium:344766 TEST=Ran on lumpy, compared with lab numbers. Change-Id: Ief9ebaaefd3d7ec65d61a054658e06dc5b6c3a60 Reviewed-on: https://chromium-review.googlesource.com/187498 Reviewed-by: Ilja Friedel <ihf@chromium.org> Commit-Queue: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
88548a134aa5938a5494c2ff634c4027799963d6 |
|
28-Jan-2014 |
Ben Chan <benchan@chromium.org> |
glbench: Replace deprecated scoped_array<T> with scoped_ptr<T[]> BUG=chromium:338610 TEST=emerge-{x86,amd64,arm}-generic autotest-tests Change-Id: I5bed0a426993c2b6b34336bfdfc042c6fd375e2f Reviewed-on: https://chromium-review.googlesource.com/184058 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
28cc0255071eb4ac79ca1fe7607163d0e712b0ad |
|
13-May-2011 |
Chris Masone <cmasone@chromium.org> |
[glbench] Roll forward to new libchrome BUG=chromium-os:14304 TEST=build, unit tests Change-Id: Iec1c1d95c666a57bdb0d7ed2c03f4ffe3b9d51a4 Reviewed-on: http://gerrit.chromium.org/gerrit/862 Reviewed-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Ilja H. Friedel <ihf@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
52e113a50fc80e4e359d521cf971a57091ef1150 |
|
06-Dec-2010 |
Kenneth Waters <kwaters@chromium.org> |
graphics_GLBench: Fix OpenGL-ES incompatibilites. - Add 'NVIDIA Corporation - NVIDIA Tegra' golds. - Don't checksum tests that rely on screen garbage. - Increase timeout so readpixels test will run on Tegra - Fix iteration count in ReadPixels test. BUG=7736 TEST=Run on tegra2_seaboard and x86-generic Change-Id: I1a323a85eaa8416d33a65afab6ee38569107b528 Review URL: http://codereview.chromium.org/5587003
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
f50ecb1b44db52db39768f55a03280e1fd8eeac7 |
|
15-Jun-2010 |
Alexey Marinichev <amarinichev@chromium.org> |
Added gflags switches: duration, tests, save, out. Added saving images after a testcase is finished. Updated power_Draw control file. Checking against golden images will be done outside from a python script. Review URL: http://codereview.chromium.org/2794002
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|
9f9b873ae65c0a087ed3cd9856121a6d41e3410a |
|
21-May-2010 |
Alexey Marinichev <amarinichev@chromium.org> |
Split tests into individual files. Got rid of globals by converting them to classes. Review URL: http://codereview.chromium.org/2123013
/external/autotest/client/deps/glbench/src/readpixeltest.cc
|