Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Functions | Variables
FlutterEmbedderExternalTextureTest.mm File Reference
#import <Foundation/Foundation.h>
#import <Metal/Metal.h>
#include <memory>
#include <vector>
#import "flutter/display_list/skia/dl_sk_canvas.h"
#import "flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.h"
#import "flutter/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h"
#include "flutter/shell/platform/embedder/embedder.h"
#include "flutter/shell/platform/embedder/embedder_external_texture_metal.h"
#include "flutter/testing/autoreleasepool_test.h"
#include "flutter/testing/testing.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkSamplingOptions.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/ganesh/SkSurfaceGanesh.h"

Go to the source code of this file.

Classes

class  TestExternalTexture
 

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Typedefs

using flutter::testing::FlutterEmbedderExternalTextureTest = AutoreleasePoolTest
 

Functions

 flutter::testing::TEST_F (FlutterEmbedderExternalTextureTest, TestTextureResolution)
 
 flutter::testing::TEST_F (FlutterEmbedderExternalTextureTest, TestPopulateExternalTexture)
 
 flutter::testing::TEST_F (FlutterEmbedderExternalTextureTest, TestPopulateExternalTextureYUVA)
 
 flutter::testing::TEST_F (FlutterEmbedderExternalTextureTest, TestPopulateExternalTextureYUVA2)
 
 flutter::testing::TEST_F (FlutterEmbedderExternalTextureTest, TestPopulateUnsupportedExternalTexture)
 

Variables

size_t _height
 
OSType _pixelFormatType
 

Variable Documentation

◆ _height

size_t _height
Initial value:
{
size_t _width

Definition at line 35 of file FlutterEmbedderExternalTextureTest.mm.

◆ _pixelFormatType

OSType _pixelFormatType

Definition at line 36 of file FlutterEmbedderExternalTextureTest.mm.