Flutter Engine
The Flutter Engine
Classes | Macros
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; \
}
#define ERROR(message)
Definition: elf_loader.cc:260

Definition at line 79 of file FlutterMetalLayerTest.mm.