#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::CAPABILITY_TEST (SupportsTriangleFan, false) |
|
| impeller::testing::CAPABILITY_TEST (SupportsExtendedRangeFormats, false) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultColorFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultStencilFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultDepthStencilFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, DefaultGlyphAtlasFormat) |
|
| impeller::testing::TEST (CapabilitiesTest, MaxRenderPassAttachmentSize) |
|
| impeller::testing::TEST (CapabilitiesTest, MinUniformAlignment) |
|
◆ CAPABILITY_TEST
#define CAPABILITY_TEST |
( |
|
name, |
|
|
|
default_value |
|
) |
| |
Value: TEST(CapabilitiesTest, name) { \
auto defaults = CapabilitiesBuilder().Build(); \
ASSERT_EQ(defaults->name(), default_value); \
auto opposite = CapabilitiesBuilder().Set##name(!default_value).Build(); \
ASSERT_EQ(opposite->name(), !default_value); \
}
TEST(CapabilitiesTest, MinUniformAlignment)
Definition at line 13 of file capabilities_unittests.cc.