Flutter Engine
The Flutter Engine
|
Namespaces | |
namespace | graphite |
Classes | |
struct | Failure |
class | Reporter |
class | ReporterContext |
struct | Test |
class | Timer |
Typedefs | |
using | ContextType = skgpu::ContextType |
using | CPUTestProc = void(*)(Reporter *) |
using | GaneshTestProc = void(*)(Reporter *, const GrContextOptions &) |
using | GaneshContextOptionsProc = void(*)(GrContextOptions *) |
using | GraphiteTestProc = void(*)(Reporter *, const graphite::TestOptions &) |
using | GraphiteContextOptionsProc = void(*)(skgpu::graphite::ContextOptions *) |
using | TestRegistry = sk_tools::Registry< Test > |
using | GpuContextType = nullptr_t |
typedef void | GrContextTestFn(Reporter *, const sk_gpu_test::ContextInfo &) |
typedef bool | ContextTypeFilterFn(GpuContextType) |
Enumerations | |
enum class | TestType : uint8_t { kCPU , kCPUSerial , kGanesh , kGraphite } |
Functions | |
bool | IsGLContextType (skgpu::ContextType type) |
bool | IsVulkanContextType (skgpu::ContextType type) |
bool | IsMetalContextType (skgpu::ContextType type) |
bool | IsDirect3DContextType (skgpu::ContextType type) |
bool | IsDawnContextType (skgpu::ContextType type) |
bool | IsMockContextType (skgpu::ContextType type) |
void | RunWithGaneshTestContexts (GrContextTestFn *testFn, ContextTypeFilterFn *filter, Reporter *reporter, const GrContextOptions &options) |
SkString | GetTmpDir () |
bool | IsGLContextType (GpuContextType) |
bool | IsVulkanContextType (GpuContextType) |
bool | IsMetalContextType (GpuContextType) |
bool | IsDawnContextType (GpuContextType) |
bool | IsDirect3DContextType (GpuContextType) |
bool | IsMockContextType (GpuContextType) |
static bool | vk_has_physical_devices () |
static bool | skip_context (skgpu::ContextType contextType) |
static | DEFINE_string (fontTestDataPath, "", "Path to extracted data from googlefonts_testdata CIPD file.") |
void | SetFontTestDataDirectory () |
Variables | |
static constexpr auto | kNativeGLType = skgpu::ContextType::kGLES |
using skiatest::ContextType = typedef skgpu::ContextType |
Definition at line 271 of file gm_bindings.cpp.
typedef bool skiatest::ContextTypeFilterFn(GpuContextType) |
using skiatest::CPUTestProc = typedef void (*)(Reporter*) |
using skiatest::GaneshContextOptionsProc = typedef void (*)(GrContextOptions*) |
using skiatest::GaneshTestProc = typedef void (*)(Reporter*, const GrContextOptions&) |
using skiatest::GpuContextType = typedef nullptr_t |
using skiatest::GraphiteContextOptionsProc = typedef void (*)(skgpu::graphite::ContextOptions*) |
using skiatest::GraphiteTestProc = typedef void (*)(Reporter*, const graphite::TestOptions&) |
typedef void skiatest::GrContextTestFn(Reporter *, const sk_gpu_test::ContextInfo &) |
using skiatest::TestRegistry = typedef sk_tools::Registry<Test> |
|
strong |
Enumerator | |
---|---|
kCPU | |
kCPUSerial | |
kGanesh | |
kGraphite |
Definition at line 17 of file TestType.h.
|
static |
SkString skiatest::GetTmpDir | ( | ) |
Definition at line 53 of file Test.cpp.
bool skiatest::IsDawnContextType | ( | GpuContextType | ) |
bool skiatest::IsDawnContextType | ( | skgpu::ContextType | type | ) |
Definition at line 65 of file DMGpuTestProcs.cpp.
bool skiatest::IsDirect3DContextType | ( | GpuContextType | ) |
bool skiatest::IsDirect3DContextType | ( | skgpu::ContextType | type | ) |
Definition at line 57 of file DMGpuTestProcs.cpp.
bool skiatest::IsGLContextType | ( | GpuContextType | ) |
bool skiatest::IsGLContextType | ( | skgpu::ContextType | type | ) |
Definition at line 29 of file DMGpuTestProcs.cpp.
bool skiatest::IsMetalContextType | ( | GpuContextType | ) |
bool skiatest::IsMetalContextType | ( | skgpu::ContextType | type | ) |
Definition at line 47 of file DMGpuTestProcs.cpp.
bool skiatest::IsMockContextType | ( | GpuContextType | ) |
bool skiatest::IsMockContextType | ( | skgpu::ContextType | type | ) |
Definition at line 73 of file DMGpuTestProcs.cpp.
bool skiatest::IsVulkanContextType | ( | GpuContextType | ) |
bool skiatest::IsVulkanContextType | ( | skgpu::ContextType | type | ) |
Definition at line 37 of file DMGpuTestProcs.cpp.
void skiatest::RunWithGaneshTestContexts | ( | GrContextTestFn * | testFn, |
ContextTypeFilterFn * | filter, | ||
Reporter * | reporter, | ||
const GrContextOptions & | options | ||
) |
Definition at line 77 of file DMGpuTestProcs.cpp.
void skiatest::SetFontTestDataDirectory | ( | ) |
Set font test data directory. Overrides the location of the extracted googlefonts_testdata CIPD archive.
Definition at line 25 of file TestFontDataProvider.cpp.
|
static |
Definition at line 76 of file skqp_GpuTestProcs.cpp.
|
static |
Definition at line 48 of file skqp_GpuTestProcs.cpp.
|
staticconstexpr |
Definition at line 69 of file skqp_GpuTestProcs.cpp.