Flutter Engine
The Flutter Engine
third_party
skia
client_utils
android
BRDAllocator.h
Go to the documentation of this file.
1
/*
2
* Copyright 2015 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef BRDAllocator_DEFINED
9
#define BRDAllocator_DEFINED
10
11
#include "
include/codec/SkCodec.h
"
12
#include "
include/core/SkBitmap.h
"
13
14
namespace
android
{
15
namespace
skia
{
16
17
/**
18
* Abstract subclass of SkBitmap's allocator.
19
* Allows the allocator to indicate if the memory it allocates
20
* is zero initialized.
21
*/
22
class
BRDAllocator
:
public
SkBitmap::Allocator
{
23
public
:
24
25
/**
26
* Indicates if the memory allocated by this allocator is
27
* zero initialized.
28
*/
29
virtual
SkCodec::ZeroInitialized
zeroInit
()
const
= 0;
30
};
31
32
}
// namespace skia
33
}
// namespace android
34
35
#endif
// BRDAllocator_DEFINED
SkBitmap.h
SkCodec.h
Allocator
Definition:
SkBitmap.h:1208
SkCodec::ZeroInitialized
ZeroInitialized
Definition:
SkCodec.h:303
android::skia::BRDAllocator
Definition:
BRDAllocator.h:22
android::skia::BRDAllocator::zeroInit
virtual SkCodec::ZeroInitialized zeroInit() const =0
android
Definition:
BitmapRegionDecoder.cpp:14
skia
Definition:
DartTypes.h:13
Generated on Sun Jun 23 2024 21:55:54 for Flutter Engine by
1.9.4