Flutter macOS Embedder
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

 flutter
 
 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 33 of file FlutterEmbedderExternalTextureTest.mm.

Referenced by TestExternalTexture::initWidth:height:pixelFormatType:.

◆ _pixelFormatType

OSType _pixelFormatType