xref: /aosp_15_r20/external/skia/tests/TestType.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 /*
2  * Copyright 2024 Google LLC
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 #ifndef skiatest_TestType_DEFINED
8 #define skiatest_TestType_DEFINED
9 
10 #include <cstdint>
11 
12 namespace skiatest {
13 
14 // kCPU tests run in parallel; kCPUSerial do not and are executed before any
15 // other parallel work starts. GPU tests always run serially with respect to
16 // each other, but in parallel with kCPU tests.
17 enum class TestType : uint8_t { kCPU, kCPUSerial, kGanesh, kGraphite };
18 
19 }
20 
21 #endif
22