Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
shell
platform
darwin
ios
framework
Source
FlutterTextureRegistryRelay.mm
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h"
6
7
#include "flutter/fml/logging.h"
8
9
FLUTTER_ASSERT_ARC
10
11
@implementation
FlutterTextureRegistryRelay
: NSObject
12
13
#pragma mark - FlutterTextureRegistry
14
15
- (instancetype)initWithParent:(NSObject<
FlutterTextureRegistry
>*)parent {
16
if
(
self
= [super
init
]) {
17
_parent =
parent
;
18
}
19
return
self
;
20
}
21
22
- (int64_t)registerTexture:(NSObject<
FlutterTexture
>*)texture {
23
if
(!
self
.parent) {
24
FML_LOG
(WARNING) <<
"Using on an empty registry."
;
25
return
0;
26
}
27
return
[
self
.parent registerTexture:texture];
28
}
29
30
- (void)textureFrameAvailable:(int64_t)textureId {
31
if
(!
self
.parent) {
32
FML_LOG
(WARNING) <<
"Using on an empty registry."
;
33
}
34
return
[
self
.parent textureFrameAvailable:textureId];
35
}
36
37
- (void)unregisterTexture:(int64_t)textureId {
38
if
(!
self
.parent) {
39
FML_LOG
(WARNING) <<
"Using on an empty registry."
;
40
}
41
return
[
self
.parent unregisterTexture:textureId];
42
}
43
44
@end
self
return self
Definition:
FlutterTextureRegistryRelay.mm:19
FML_LOG
#define FML_LOG(severity)
Definition:
logging.h:82
FlutterTextureRegistryRelay
Definition:
FlutterTextureRegistryRelay.h:20
FlutterTextureRegistryRelay::parent
NSObject< FlutterTextureRegistry > * parent
Definition:
FlutterTextureRegistryRelay.h:25
FlutterTexture
Definition:
FlutterMetalLayer.mm:58
FLUTTER_ASSERT_ARC
Definition:
FlutterChannelKeyResponder.mm:13
SkOpts::init
static bool init()
Definition:
SkBitmapProcState_opts.cpp:26
FlutterTextureRegistry-p
Definition:
FlutterTexture.h:45
Generated on Sun Jun 23 2024 21:55:12 for Flutter Engine by
1.9.4