Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
embedder_metal_unittests.mm File Reference
#include <string>
#include <vector>
#import <Metal/Metal.h>
#include "embedder.h"
#include "flutter/display_list/skia/dl_sk_canvas.h"
#include "flutter/fml/synchronization/count_down_latch.h"
#include "flutter/shell/platform/embedder/tests/embedder_assertions.h"
#include "flutter/shell/platform/embedder/tests/embedder_config_builder.h"
#include "flutter/shell/platform/embedder/tests/embedder_test.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_metal.h"
#include "flutter/shell/platform/embedder/tests/embedder_unittests_util.h"
#include "flutter/testing/assertions_skia.h"
#include "flutter/testing/testing.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/GpuTypes.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/ganesh/SkSurfaceGanesh.h"
#include "third_party/skia/include/gpu/ganesh/mtl/GrMtlBackendSurface.h"
#include "third_party/skia/include/gpu/ganesh/mtl/GrMtlTypes.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Macros

#define FML_USED_ON_EMBEDDER
 

Functions

 flutter::testing::TEST_F (EmbedderTest, CanRenderGradientWithMetal)
 
static sk_sp< SkSurfaceflutter::testing::GetSurfaceFromTexture (const sk_sp< GrDirectContext > &skia_context, SkISize texture_size, void *texture)
 
 flutter::testing::TEST_F (EmbedderTest, ExternalTextureMetal)
 
 flutter::testing::TEST_F (EmbedderTest, MetalCompositorMustBeAbleToRenderPlatformViews)
 
 flutter::testing::TEST_F (EmbedderTest, CanRenderSceneWithoutCustomCompositorMetal)
 
 flutter::testing::TEST_F (EmbedderTest, TextureDestructionCallbackCalledWithoutCustomCompositorMetal)
 
 flutter::testing::TEST_F (EmbedderTest, CompositorMustBeAbleToRenderKnownSceneMetal)
 
 flutter::testing::TEST_F (EmbedderTest, CreateInvalidBackingstoreMetalTexture)
 
 flutter::testing::TEST_F (EmbedderTest, ExternalTextureMetalRefreshedTooOften)
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file embedder_metal_unittests.mm.