| Flutter Impeller |

Classes | Namespaces | Macros
playground_test.h File Reference
`#include <memory>`
`#include "flutter/testing/test_args.h"`
`#include "flutter/testing/testing.h"`
`#include "impeller/playground/playground.h"`
`#include "impeller/playground/switches.h"`

Go to the source code of this file.

## Classes
class | impeller::PlaygroundTest

## Namespaces
| 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); \
});

Definition at line 68 of file playground_test.h.

## ◆ 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 86 of file playground_test.h.

## ◆ 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 56 of file playground_test.h.

## ◆ 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 77 of file playground_test.h.

impeller::PlaygroundBackendToString
std::string PlaygroundBackendToString(PlaygroundBackend backend)
Definition: playground.cc:45