15#if defined(SK_GRAPHITE)
40#elif defined(SK_GRAPHITE)
50#elif defined(SK_GRAPHITE)
66#if defined(SK_GRAPHITE)
79#if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN) || defined(SK_BUILD_FOR_MAC)
101 if (filter && !(*filter)(contextType)) {
117#if defined(SK_GRAPHITE)
125 ContextFactory factory(
options);
128 if (filter && !(*filter)(contextType)) {
void flushAndSubmit(GrSyncCpu sync=GrSyncCpu::kNo)
GrDirectContext * directContext() const
TestContext * testContext() const
ContextInfo getContextInfo(ContextType type, ContextOverrides=ContextOverrides::kNone)
GrBackendApi ContextTypeBackend(skgpu::ContextType type)
skgpu::BackendApi ContextTypeBackend(skgpu::ContextType type)
static const int kContextTypeCount
@ kMock
Dawn on OpenGL ES.
const char * ContextTypeName(skgpu::ContextType type)
void(Reporter *, skgpu::graphite::Context *, skiatest::graphite::GraphiteTestContext *) GraphiteTestFn
void RunWithGraphiteTestContexts(GraphiteTestFn *, ContextTypeFilterFn *filter, Reporter *, const TestOptions &)
void RunWithGaneshTestContexts(GrContextTestFn *testFn, ContextTypeFilterFn *filter, Reporter *reporter, const GrContextOptions &options)
bool IsMetalContextType(skgpu::ContextType type)
bool IsGLContextType(skgpu::ContextType type)
bool ContextTypeFilterFn(GpuContextType)
bool IsMockContextType(skgpu::ContextType type)
bool IsDirect3DContextType(skgpu::ContextType type)
static constexpr auto kNativeGLType
void GrContextTestFn(Reporter *, const sk_gpu_test::ContextInfo &)
bool IsDawnContextType(skgpu::ContextType type)
bool IsVulkanContextType(skgpu::ContextType type)
GraphiteTestContext * fTestContext
skgpu::graphite::Context * fContext