#include <DrawWriter.h>
Definition at line 241 of file DrawWriter.h.
◆ Target
Enumerator |
---|
kVertices | |
kInstances | |
Definition at line 243 of file DrawWriter.h.
243{ kVertices, kInstances };
◆ Appender()
skgpu::graphite::DrawWriter::Appender::Appender |
( |
DrawWriter & |
w, |
|
|
Target |
target |
|
) |
| |
|
inline |
Definition at line 245 of file DrawWriter.h.
254 }
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
unsigned int fReservedCount
◆ ~Appender()
virtual skgpu::graphite::DrawWriter::Appender::~Appender |
( |
| ) |
|
|
inlinevirtual |
Definition at line 256 of file DrawWriter.h.
256 {
259 }
262 }
void returnVertexBytes(size_t unusedBytes)
◆ append()
VertexWriter skgpu::graphite::DrawWriter::Appender::append |
( |
unsigned int |
count | ) |
|
|
inlineprotected |
Definition at line 301 of file DrawWriter.h.
301 {
304
307
308
309
312 }
313
318 }
void * reset(size_t size=0, OnShrink shrink=kAlloc_OnShrink)
void reserve(unsigned int count)
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
VertexWriter makeOffset(size_t offsetInBytes) const
◆ onFlush()
virtual void skgpu::graphite::DrawWriter::Appender::onFlush |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ reserve()
void skgpu::graphite::DrawWriter::Appender::reserve |
( |
unsigned int |
count | ) |
|
|
inlineprotected |
Definition at line 274 of file DrawWriter.h.
274 {
276 return;
278
279
281 }
282
284
285
288 reservedChunk.fOffset !=
290
293
296 fDrawer.fPendingBufferBinds =
true;
297 }
299 }
std::pair< VertexWriter, BindBufferInfo > getVertexWriter(size_t requiredBytes)
◆ fDrawer
DrawWriter& skgpu::graphite::DrawWriter::Appender::fDrawer |
|
protected |
◆ fNextWriter
VertexWriter skgpu::graphite::DrawWriter::Appender::fNextWriter |
|
protected |
◆ fReservedCount
unsigned int skgpu::graphite::DrawWriter::Appender::fReservedCount |
|
protected |
◆ fStride
size_t skgpu::graphite::DrawWriter::Appender::fStride |
|
protected |
◆ fTarget
The documentation for this class was generated from the following file: