Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
playground_test.h File Reference
#include <memory>
#include "flutter/fml/macros.h"
#include "flutter/testing/test_args.h"
#include "flutter/testing/testing.h"
#include "impeller/geometry/scalar.h"
#include "impeller/playground/playground.h"
#include "impeller/playground/switches.h"

Go to the source code of this file.

Classes

class  impeller::PlaygroundTest
 

Namespaces

namespace  impeller
 

Macros

#define INSTANTIATE_PLAYGROUND_SUITE(playground)
 
#define INSTANTIATE_METAL_PLAYGROUND_SUITE(playground)
 
#define INSTANTIATE_VULKAN_PLAYGROUND_SUITE(playground)
 
#define INSTANTIATE_OPENGLES_PLAYGROUND_SUITE(playground)
 

Macro Definition Documentation

◆ INSTANTIATE_METAL_PLAYGROUND_SUITE

#define INSTANTIATE_METAL_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, ::testing::Values(PlaygroundBackend::kMetal), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition DM.cpp:213

Definition at line 70 of file playground_test.h.

75 { \
76 return PlaygroundBackendToString(info.param); \
77 });
std::string PlaygroundBackendToString(PlaygroundBackend backend)
Definition playground.cc:44

◆ INSTANTIATE_OPENGLES_PLAYGROUND_SUITE

#define INSTANTIATE_OPENGLES_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, ::testing::Values(PlaygroundBackend::kOpenGLES), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 88 of file playground_test.h.

93 { \
94 return PlaygroundBackendToString(info.param); \
95 });

◆ INSTANTIATE_PLAYGROUND_SUITE

#define INSTANTIATE_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, \
::testing::Values(PlaygroundBackend::kMetal, \
PlaygroundBackend::kOpenGLES, \
PlaygroundBackend::kVulkan), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 58 of file playground_test.h.

66 { \
67 return PlaygroundBackendToString(info.param); \
68 });

◆ INSTANTIATE_VULKAN_PLAYGROUND_SUITE

#define INSTANTIATE_VULKAN_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, ::testing::Values(PlaygroundBackend::kVulkan), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 79 of file playground_test.h.

84 { \
85 return PlaygroundBackendToString(info.param); \
86 });