diff options
author | Hal Canary <halcanary@google.com> | 2017-10-11 16:00:31 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-17 19:01:13 +0000 |
commit | 754271347a36f2b029637777a5591c9bde34244f (patch) | |
tree | f5f950ba8db924b2d220b82aa6b7ab2966a42fc1 /BUILD.gn | |
parent | a2ac30da36c80f616c909c671a240f2d468db124 (diff) |
GPU-CTS Program
Add new application, called GPU-CTS (GPU Compatibility Test Suite),
which executes skia gms against OpenGL and Vulkan backends. Makes use
of googletest library for consistancy with Android CTS programs.
Add googletest to DEPS
gm_knowledge.h header as a stub for future work on validating gm output.
gm_runner can be re-used in other programs. Talks to Skia and GM with a
simple API.
gpuctx executable wraps gm_runner and googletest together.
Change-Id: Ie7350b22164fa73e44121c39b0f36da4038a700b
Reviewed-on: https://skia-review.googlesource.com/56601
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1634,6 +1634,24 @@ if (skia_enable_tools) { ] } + if (!is_win) { + test_app("gpucts") { + sources = [ + "dm/DMGpuTestProcs.cpp", + "tools/gpucts/gm_knowledge.c", + "tools/gpucts/gm_runner.cpp", + "tools/gpucts/gpucts.cpp", + ] + deps = [ + ":gm", + ":gpu_tool_utils", + ":skia", + ":tests", + "//third_party/googletest", + ] + } + } + if (skia_enable_gpu) { test_app("viewer") { is_shared_library = is_android |