• Home
  • Raw
  • Download

Lines Matching refs:GrDeferredUploadToken

38 class GrDeferredUploadToken {
40 static GrDeferredUploadToken AlreadyFlushedToken() { return GrDeferredUploadToken(0); } in AlreadyFlushedToken()
42 GrDeferredUploadToken(const GrDeferredUploadToken&) = default;
43 GrDeferredUploadToken& operator=(const GrDeferredUploadToken&) = default;
45 bool operator==(const GrDeferredUploadToken& that) const {
48 bool operator!=(const GrDeferredUploadToken& that) const { return !(*this == that); }
49 bool operator<(const GrDeferredUploadToken that) const {
52 bool operator<=(const GrDeferredUploadToken that) const {
55 bool operator>(const GrDeferredUploadToken that) const {
58 bool operator>=(const GrDeferredUploadToken that) const {
62 GrDeferredUploadToken& operator++() {
66 GrDeferredUploadToken operator++(int) {
69 return GrDeferredUploadToken(old);
72 GrDeferredUploadToken next() const { return GrDeferredUploadToken(fSequenceNumber + 1); } in next()
75 bool inInterval(const GrDeferredUploadToken& start, const GrDeferredUploadToken& end) { in inInterval()
80 GrDeferredUploadToken() = delete;
81 explicit GrDeferredUploadToken(uint64_t sequenceNumber) : fSequenceNumber(sequenceNumber) {} in GrDeferredUploadToken() function
91 GrDeferredUploadToken nextTokenToFlush() const { return fLastFlushedToken.next(); } in nextTokenToFlush()
96 GrDeferredUploadToken nextDrawToken() const { return fLastIssuedToken.next(); } in nextDrawToken()
105 GrDeferredUploadToken issueDrawToken() { return ++fLastIssuedToken; } in issueDrawToken()
108 GrDeferredUploadToken flushToken() { return ++fLastFlushedToken; } in flushToken()
110 GrDeferredUploadToken fLastIssuedToken = GrDeferredUploadToken::AlreadyFlushedToken();
111 GrDeferredUploadToken fLastFlushedToken = GrDeferredUploadToken::AlreadyFlushedToken();
139 virtual GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) = 0;
144 virtual GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&& upload) = 0;