Flutter macOS Embedder
FlutterSurfaceManagerTest.mm File Reference
#import <Cocoa/Cocoa.h>
#import <Metal/Metal.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterSurface.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h"
#include "flutter/testing/testing.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Classes

class  TestView
 

Namespaces

 flutter
 
 flutter::testing
 

Functions

static FlutterSurfaceManagerflutter::testing::CreateSurfaceManager (TestView *testView)
 
static FlutterSurfacePresentInfoflutter::testing::CreatePresentInfo (FlutterSurface *surface, CGPoint offset=CGPointZero, size_t index=0, const std::vector< FlutterRect > &paintRegion={})
 
 flutter::testing::TEST (FlutterSurfaceManager, MetalTextureSizeMatchesSurfaceSize)
 
 flutter::testing::TEST (FlutterSurfaceManager, TestSurfaceLookupFromTexture)
 
 flutter::testing::TEST (FlutterSurfaceManager, BackBufferCacheDoesNotLeak)
 
 flutter::testing::TEST (FlutterSurfaceManager, SurfacesAreRecycled)
 
 flutter::testing::TEST (FlutterSurfaceManager, BackingStoreCacheSurfaceStuckInUse)
 
bool flutter::testing::operator== (const CGRect &lhs, const CGRect &rhs)
 
 flutter::testing::TEST (FlutterSurfaceManager, LayerManagement)