History log of /external/autotest/client/deps/glbench/src/attributefetchtest.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/attributefetchtest.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/attributefetchtest.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/attributefetchtest.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/attributefetchtest.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/attributefetchtest.cc
c04bdd4a43f9a240961c8fb07afc1386fddb5826 31-Jan-2013 Ilja Friedel <ihf@chromium.org> Enforce max sizes for glViewport.

The driver may clamp the viewport when requesting too large dimensions.
Reduce all viewports to screen size and adjust shaders in corresponding
files (only). Also switch texture in the capture test from LUMINANCE to
RGBA as we don't really care about the former.

Updating the varyings_shader references as the output changes with the
new glViewport (and no shader adjustment).

Finally this fixes a bug in triangle_setup where we were drawing only
1/4 of the triangles in the lower left corner. Now the output is
centered and made slightly larger.

BUG=chromium-os:30493
TEST=Ran GLBench and WindowManagerGraphicsCapture on Alex. Verified
performance output is the same as on the dashboard modulo noise.

Change-Id: I716a79c8d52cd15bb1f6810b61140566e5798504
Reviewed-on: https://gerrit.chromium.org/gerrit/41848
Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/attributefetchtest.cc
c33878b0587a1b46090e7249a87d32e7f88ed9ae 25-Jul-2012 Stuart Abercrombie <sabercrombie@chromium.org> Switch GLBench glDrawElements calls to GL_UNSIGNED_SHORT.

We were using GL_UNSIGNED_INT which is not part of the standard GL ES spec.

BUG=chromium-os:32455
TEST=Same results on i915. Sane results for affected tests on Arm.

Change-Id: I6e055f42b11a17129c80679bf1fb5e7afc550f0c
Reviewed-on: https://gerrit.chromium.org/gerrit/28417
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Stuart Abercrombie <sabercrombie@chromium.org>
Commit-Ready: Stuart Abercrombie <sabercrombie@chromium.org>
/external/autotest/client/deps/glbench/src/attributefetchtest.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/attributefetchtest.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/attributefetchtest.cc