#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterRenderer.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h"
#include "flutter/shell/platform/embedder/embedder.h"
Go to the source code of this file.
◆ OnAcquireExternalTexture()
static bool OnAcquireExternalTexture |
( |
void * |
user_data, |
|
|
int64_t |
textureIdentifier, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
FlutterMetalExternalTexture * |
metalTexture |
|
) |
| |
|
static |
Definition at line 25 of file FlutterRenderer.mm.
29 {
31 return [
engine.
renderer populateTextureWithIdentifier:textureIdentifier
32 metalTexture:metalTexture];
33}
FlutterRenderer * renderer
◆ OnGetNextDrawable()
Definition at line 15 of file FlutterRenderer.mm.
15 {
16 NSCAssert(NO, @"The renderer config should not be used to get the next drawable.");
18}
◆ OnPresentDrawable()
Definition at line 20 of file FlutterRenderer.mm.
20 {
21 NSCAssert(NO, @"The renderer config should not be used to present drawable.");
22 return false;
23}