class CommandBuffer; class RecordingPriv; class Resource; class ResourceProvider; class TaskList; class Texture; class TextureInfo; class TextureProxy;
class SK_API Recording final { public:
~Recording();
RecordingPriv priv();
private: friendclass Recorder; // for ctor and LazyProxyData friendclass RecordingPriv;
// LazyProxyData is used if this recording should be replayed to a target that is provided on // replay, and it handles the target proxy's instantiation with the provided target. class LazyProxyData { public:
LazyProxyData(const TextureInfo&);
// Used to verify ordering
uint32_t fUniqueID;
uint32_t fRecorderID;
// This is held by a pointer instead of being inline to allow TaskList to be forward declared.
std::unique_ptr<TaskList> fRootTaskList; // We don't always take refs to all resources used by specific Tasks (e.g. a common buffer used // for uploads). Instead we'll just hold onto one ref for those Resources outside the Tasks. // Those refs are stored in the array here and will eventually be passed onto a CommandBuffer // when the Recording adds its commands.
std::vector<sk_sp<Resource>> fExtraResourceRefs;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.