#include <SkSLFileOutputStream.h>
Definition at line 17 of file SkSLFileOutputStream.h.
◆ FileOutputStream()
SkSL::FileOutputStream::FileOutputStream |
( |
const char * |
name | ) |
|
|
inline |
Definition at line 19 of file SkSLFileOutputStream.h.
19 {
20 fFile = fopen(
name,
"wb");
21 }
DEF_SWITCHES_START aot vmservice shared library name
◆ ~FileOutputStream()
SkSL::FileOutputStream::~FileOutputStream |
( |
| ) |
|
|
inlineoverride |
◆ close()
bool SkSL::FileOutputStream::close |
( |
| ) |
|
|
inline |
Definition at line 60 of file SkSLFileOutputStream.h.
60 {
61 fOpen = false;
62 if (
isValid() && fclose(fFile)) {
63 fFile = nullptr;
64 return false;
65 }
66 return true;
67 }
bool isValid() const override
◆ isValid()
bool SkSL::FileOutputStream::isValid |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ write()
void SkSL::FileOutputStream::write |
( |
const void * |
s, |
|
|
size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
Implements SkSL::OutputStream.
Definition at line 51 of file SkSLFileOutputStream.h.
51 {
55 fFile = nullptr;
56 }
57 }
58 }
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
◆ write8()
void SkSL::FileOutputStream::write8 |
( |
uint8_t |
b | ) |
|
|
inlineoverridevirtual |
◆ writeText()
void SkSL::FileOutputStream::writeText |
( |
const char * |
s | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: