Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 at line 79 of file FlutterMetalLayerTest.mm.

80 { \
81 FML_LOG(ERROR) << "Could not allocate drawable"; \
82 return; \
83 }