Flutter iOS Embedder
FlutterMetalLayerTest.mm File Reference
#import <Metal/Metal.h>
#import <OCMock/OCMock.h>
#import <QuartzCore/QuartzCore.h>
#import <XCTest/XCTest.h>
#include "flutter/fml/logging.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.h"

Go to the source code of this file.

Classes

class  FlutterMetalLayerTest
 
class  TestFlutterMetalLayerView
 
class  TestCompositor
 

Macros

#define BAIL_IF_NO_DRAWABLE(drawable)
 

Macro Definition Documentation

◆ BAIL_IF_NO_DRAWABLE

#define BAIL_IF_NO_DRAWABLE (   drawable)
Value:
if (drawable == nil) { \
FML_LOG(ERROR) << "Could not allocate drawable"; \
return; \
}

Definition at line 79 of file FlutterMetalLayerTest.mm.