#include <BufferWriter.h>
Definition at line 31 of file BufferWriter.h.
◆ BufferWriter() [1/3]
skgpu::BufferWriter::BufferWriter |
( |
| ) |
|
|
protecteddefault |
◆ BufferWriter() [2/3]
skgpu::BufferWriter::BufferWriter |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
inlineprotected |
Definition at line 65 of file BufferWriter.h.
67 }
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
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
◆ BufferWriter() [3/3]
skgpu::BufferWriter::BufferWriter |
( |
void * |
ptr, |
|
|
Mark |
end = {} |
|
) |
| |
|
inlineprotected |
◆ makeOffset()
W skgpu::BufferWriter::makeOffset |
( |
size_t |
offsetInBytes | ) |
const |
|
inlineprotected |
Definition at line 94 of file BufferWriter.h.
94 {
96 void*
p = SkTAddOffset<void>(
fPtr, offsetInBytes);
100 }
void validate(size_t bytesToWrite) const
◆ mark()
Mark skgpu::BufferWriter::mark |
( |
size_t |
offset = 0 | ) |
const |
|
inline |
◆ operator bool()
skgpu::BufferWriter::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator=() [1/2]
Definition at line 73 of file BufferWriter.h.
73 {
75 that.fPtr = nullptr;
78 return *this;
79 }
◆ operator=() [2/2]
◆ validate()
void skgpu::BufferWriter::validate |
( |
size_t |
bytesToWrite | ) |
const |
|
inlineprotected |
◆ fPtr
void* skgpu::BufferWriter::fPtr = nullptr |
|
protected |
The documentation for this struct was generated from the following file: