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
third_party
skia
src
core
SkPixelRefPriv.h
Go to the documentation of this file.
1
// Copyright 2019 Google LLC.
2
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3
4
#ifndef SkPixelRefPriv_DEFINED
5
#define SkPixelRefPriv_DEFINED
6
7
#include "
include/core/SkRefCnt.h
"
8
9
#include <cstddef>
10
11
class
SkPixelRef
;
12
13
/**
14
* Return a new SkMallocPixelRef with the provided pixel storage and
15
* rowBytes. On destruction, ReleaseProc will be called.
16
*
17
* If ReleaseProc is NULL, the pixels will never be released. This
18
* can be useful if the pixels were stack allocated. However, such an
19
* SkMallocPixelRef must not live beyond its pixels (e.g. by copying
20
* an SkBitmap pointing to it, or drawing to an SkPicture).
21
*
22
* Returns NULL on failure.
23
*/
24
sk_sp<SkPixelRef>
SkMakePixelRefWithProc
(
int
w
,
int
h
,
size_t
rowBytes
,
void
*
addr
,
25
void
(*
releaseProc
)(
void
*
addr
,
void
* ctx),
void
* ctx);
26
27
#endif
// SkPixelRefPriv_DEFINED
releaseProc
static void releaseProc(const void *ptr, void *context)
Definition:
SkHeifCodec.cpp:141
SkMakePixelRefWithProc
sk_sp< SkPixelRef > SkMakePixelRefWithProc(int w, int h, size_t rowBytes, void *addr, void(*releaseProc)(void *addr, void *ctx), void *ctx)
Definition:
SkPixelRef.cpp:137
SkRefCnt.h
SkPixelRef
Definition:
SkPixelRef.h:28
SkPixelRef::rowBytes
size_t rowBytes() const
Definition:
SkPixelRef.h:37
sk_sp< SkPixelRef >
dump_adb_log.addr
addr
Definition:
dump_adb_log.py:17
w
SkScalar w
Definition:
pictureshadertile.cpp:30
h
SkScalar h
Definition:
pictureshadertile.cpp:30
Generated on Sun Jun 23 2024 21:56:14 for Flutter Engine by
1.9.4