History log of /external/autotest/client/deps/glbench/src/testbase.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
298290d2409fbec818882219f5befb50f42a2b89 21-Jan-2016 Alex Vakulenko <avakulenko@google.com> glbench: Uprev to libchrome r369476

libchrome is being updated to a new version and a number of APIs
have changed. Updating the clients using those APIs...

BUG=b/26772882
TEST=./build_packages --board={link|whirlwind}
CQ-DEPEND=CL:323378

Change-Id: Ieb47f206f918be53b973d4f61b3deba7bbde9612
Reviewed-on: https://chromium-review.googlesource.com/323540
Commit-Ready: Alex Vakulenko <avakulenko@google.com>
Tested-by: Alex Vakulenko <avakulenko@google.com>
Reviewed-by: Alex Vakulenko <avakulenko@google.com>
/external/autotest/client/deps/glbench/src/testbase.h
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/testbase.h
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/testbase.h
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/testbase.h
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/testbase.h
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/testbase.h
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/testbase.h
140559ce9482e43801af117a726773dd802636ab 12-Aug-2011 Allen Martin <amartin@nvidia.com> graphics_GLBench: use GL_CLAMP_TO_EDGE for NPOT textures

GL_CLAMP_TO_EDGE must be used with NPOT textures as per section 3.8.2
of the OpenGL ES 2.0 spec.

BUG=chromium-os:14449
TEST=verified previously failing texture_update and yuv_shader tests
are now passing

Change-Id: I74459b447b15ede5caf1c952da5bc93bb83019ef
Reviewed-on: http://gerrit.chromium.org/gerrit/5927
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/testbase.h
01e4be1bacd595e6ee998d209176f9bdd5e4ef7c 03-Aug-2010 Alexey Marinichev <amarinichev@chromium.org> For Issue 558: disabled some tests, updated checksums.

Review URL: http://codereview.chromium.org/3034043
/external/autotest/client/deps/glbench/src/testbase.h
b70421fcf85db631d875f3a69277a0b6e90ac6c7 13-Jul-2010 Alexey Marinichev <amarinichev@chromium.org> Converted fill rate test to GLES2.

Review URL: http://codereview.chromium.org/2913008
/external/autotest/client/deps/glbench/src/testbase.h
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/testbase.h
e735df6f6d4d0822971ede2afea45b01b5315332 25-May-2010 Alexey Marinichev <amarinichev@chromium.org> Fixes for GLES systems.

Review URL: http://codereview.chromium.org/2122020
/external/autotest/client/deps/glbench/src/testbase.h
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/testbase.h