Go to the source code of this file.
◆ decode_memory()
bool decode_memory |
( |
const void * |
mem, |
|
|
size_t |
size, |
|
|
SkBitmap * |
bm |
|
) |
| |
|
inline |
Definition at line 21 of file CodecPriv.h.
21 {
23 if (!codec) {
24 return false;
25 }
26
31}
void allocPixels(const SkImageInfo &info, size_t rowBytes)
static std::unique_ptr< SkCodec > MakeFromData(sk_sp< SkData >, SkSpan< const SkCodecs::Decoder > decoders, SkPngChunkReader *=nullptr)
static sk_sp< SkData > MakeWithoutCopy(const void *data, size_t length)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ DEFINE_string()
static DEFINE_string |
( |
codecWritePath |
, |
|
|
"" |
, |
|
|
"Dump image decodes from codec unit tests here." |
|
|
) |
| |
|
static |
◆ write_bm()
void write_bm |
( |
const char * |
name, |
|
|
const SkBitmap & |
bm |
|
) |
| |
|
inline |
Definition at line 33 of file CodecPriv.h.
33 {
34 if (FLAGS_codecWritePath.isEmpty()) {
35 return;
36 }
37
43 }
44}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
const SkPixmap & pixmap() const
static SkString Join(const char *rootPath, const char *relativePath)
const char * c_str() const
void void void appendf(const char format[],...) SK_PRINTF_LIKE(2
SK_API bool Encode(SkWStream *dst, const SkPixmap &src, const Options &options)
DEF_SWITCHES_START aot vmservice shared library name