#include "flutter/testing/testing.h"
#include "impeller/renderer/capabilities.h"
#include "gtest/gtest.h"
Go to the source code of this file.
|
| impeller::testing::CAPABILITY_TEST (SupportsOffscreenMSAA, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsSSBO, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsTextureToTextureBlits, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsFramebufferFetch, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsCompute, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsComputeSubgroups, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsReadFromResolve, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsDecalSamplerAddressMode, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsDeviceTransientTextures, false) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultColorFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultStencilFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultDepthStencilFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultGlyphAtlasFormat) |
|
◆ CAPABILITY_TEST
#define CAPABILITY_TEST |
( |
|
name, |
|
|
|
default_value |
|
) |
| |
Value:
auto defaults = CapabilitiesBuilder().Build(); \
ASSERT_EQ(defaults->name(), default_value); \
auto opposite = CapabilitiesBuilder().Set##
name(!default_value).Build(); \
ASSERT_EQ(opposite->name(), !default_value); \
}
DEF_SWITCHES_START aot vmservice shared library name
TEST(CapabilitiesTest, DefaultGlyphAtlasFormat)
Definition at line 13 of file capabilities_unittests.cc.