#include <RecorderPriv.h>
Definition at line 26 of file RecorderPriv.h.
◆ add()
void skgpu::graphite::RecorderPriv::add |
( |
sk_sp< Task > |
task | ) |
|
Definition at line 485 of file Recorder.cpp.
485 {
487 fRecorder->fRootTaskList->add(std::move(task));
488}
#define ASSERT_SINGLE_OWNER_PRIV
◆ addPendingRead()
void skgpu::graphite::RecorderPriv::addPendingRead |
( |
const TextureProxy * |
proxy | ) |
|
Definition at line 480 of file Recorder.cpp.
480 {
482 fRecorder->fProxyReadCounts->increment(proxy);
483}
◆ atlasProvider()
Definition at line 61 of file RecorderPriv.h.
61{ return fRecorder->fAtlasProvider.get(); }
◆ caps()
const Caps * skgpu::graphite::RecorderPriv::caps |
( |
| ) |
const |
|
inline |
Definition at line 31 of file RecorderPriv.h.
31{ return fRecorder->fSharedContext->caps(); }
◆ CreateCachedProxy()
Definition at line 544 of file Recorder.cpp.
546 {
548
549 if (!recorder) {
550 return nullptr;
551 }
554 std::move(label));
555}
sk_sp< TextureProxy > findOrCreateCachedProxy(Recorder *, const SkBitmap &, std::string_view label)
ProxyCache * proxyCache()
◆ drawBufferManager()
Definition at line 58 of file RecorderPriv.h.
58{ return fRecorder->fDrawBufferManager.get(); }
◆ flushTrackedDevices()
void skgpu::graphite::RecorderPriv::flushTrackedDevices |
( |
| ) |
|
Definition at line 490 of file Recorder.cpp.
490 {
492
493
494
495
496
497
498
499
500
501
502
503
504
505 const int startingIndex = fRecorder->fFlushingDevicesIndex;
506 while (fRecorder->fFlushingDevicesIndex < fRecorder->fTrackedDevices.size() - 1) {
507
508
509 fRecorder->fFlushingDevicesIndex++;
510
511
512 Device*
device = fRecorder->fTrackedDevices[fRecorder->fFlushingDevicesIndex].get();
514 device->flushPendingWorkToRecorder();
515 }
516 }
517
518
519
520
522
523 if (startingIndex < 0) {
524
525
527 while (i < fRecorder->fTrackedDevices.size()) {
528 Device*
device = fRecorder->fTrackedDevices[
i].get();
531 device->abandonRecorder();
532 }
533 fRecorder->fTrackedDevices.removeShuffle(
i);
534
535 } else {
537 }
538 }
539
540 fRecorder->fFlushingDevicesIndex = -1;
541 }
542}
TokenTracker * tokenTracker()
◆ getResourceCacheLimit()
size_t skgpu::graphite::RecorderPriv::getResourceCacheLimit |
( |
| ) |
const |
Definition at line 557 of file Recorder.cpp.
557 {
559}
size_t getResourceCacheLimit() const
◆ isProtected()
Protected skgpu::graphite::RecorderPriv::isProtected |
( |
| ) |
const |
|
inline |
Definition at line 52 of file RecorderPriv.h.
52 {
53 return fRecorder->fSharedContext->isProtected();
54 }
◆ proxyCache()
ProxyCache * skgpu::graphite::RecorderPriv::proxyCache |
( |
| ) |
|
|
inline |
Definition at line 67 of file RecorderPriv.h.
ResourceProvider * resourceProvider()
ProxyCache * proxyCache()
◆ rendererProvider()
const RendererProvider * skgpu::graphite::RecorderPriv::rendererProvider |
( |
| ) |
const |
|
inline |
Definition at line 48 of file RecorderPriv.h.
48 {
49 return fRecorder->fSharedContext->rendererProvider();
50 }
◆ resourceProvider()
Definition at line 33 of file RecorderPriv.h.
33{ return fRecorder->fResourceProvider; }
◆ runtimeEffectDictionary() [1/2]
Definition at line 38 of file RecorderPriv.h.
38 {
39 return fRecorder->fRuntimeEffectDict.get();
40 }
◆ runtimeEffectDictionary() [2/2]
Definition at line 35 of file RecorderPriv.h.
35 {
36 return fRecorder->fRuntimeEffectDict.get();
37 }
◆ shaderCodeDictionary() [1/2]
Definition at line 44 of file RecorderPriv.h.
44 {
45 return fRecorder->fSharedContext->shaderCodeDictionary();
46 }
◆ shaderCodeDictionary() [2/2]
Definition at line 41 of file RecorderPriv.h.
41 {
42 return fRecorder->fSharedContext->shaderCodeDictionary();
43 }
◆ strikeCache()
Definition at line 63 of file RecorderPriv.h.
63{ return fRecorder->fStrikeCache.get(); }
◆ textBlobCache()
Definition at line 64 of file RecorderPriv.h.
64 {
65 return fRecorder->fTextBlobCache.get();
66 }
◆ textureDataCache()
Definition at line 57 of file RecorderPriv.h.
57{ return fRecorder->fTextureDataCache.get(); }
◆ tokenTracker()
TokenTracker * skgpu::graphite::RecorderPriv::tokenTracker |
( |
| ) |
|
|
inline |
Definition at line 62 of file RecorderPriv.h.
62{ return fRecorder->fTokenTracker.get(); }
◆ uniformDataCache()
Definition at line 56 of file RecorderPriv.h.
56{ return fRecorder->fUniformDataCache.get(); }
◆ uniqueID()
uint32_t skgpu::graphite::RecorderPriv::uniqueID |
( |
| ) |
const |
|
inline |
Definition at line 76 of file RecorderPriv.h.
76{ return fRecorder->fUniqueID; }
◆ uploadBufferManager()
Definition at line 59 of file RecorderPriv.h.
59{ return fRecorder->fUploadBufferManager.get(); }
◆ Recorder
The documentation for this class was generated from the following files: