Searched refs:GrDrawOpUploadToken (Results 1 – 8 of 8) sorted by relevance
23 class GrDrawOpUploadToken {25 static GrDrawOpUploadToken AlreadyFlushedToken() { return GrDrawOpUploadToken(0); } in AlreadyFlushedToken()27 GrDrawOpUploadToken(const GrDrawOpUploadToken& that) : fSequenceNumber(that.fSequenceNumber) {} in GrDrawOpUploadToken() function28 GrDrawOpUploadToken& operator =(const GrDrawOpUploadToken& that) {32 bool operator==(const GrDrawOpUploadToken& that) const {35 bool operator!=(const GrDrawOpUploadToken& that) const { return !(*this == that); }38 GrDrawOpUploadToken();39 explicit GrDrawOpUploadToken(uint64_t sequenceNumber) : fSequenceNumber(sequenceNumber) {} in GrDrawOpUploadToken() function89 QueuedUpload(DeferredUploadFn&& upload, GrDrawOpUploadToken token) in QueuedUpload()93 GrDrawOpUploadToken fUploadBeforeToken;
14 : INHERITED(classID), fBaseDrawToken(GrDrawOpUploadToken::AlreadyFlushedToken()) {} in GrMeshDrawOp()69 GrDrawOpUploadToken drawToken = state->nextTokenToFlush(); in onExecute()107 GrDrawOpUploadToken token = this->state()->issueDrawToken(); in draw()
86 GrDrawOpUploadToken fBaseDrawToken;
36 bool hasDrawBeenFlushed(GrDrawOpUploadToken token) const { in hasDrawBeenFlushed()41 GrDrawOpUploadToken issueDrawToken() { in issueDrawToken()42 return GrDrawOpUploadToken(++fLastIssuedToken.fSequenceNumber); in issueDrawToken()49 GrDrawOpUploadToken nextDrawToken() const { in nextDrawToken()50 return GrDrawOpUploadToken(fLastIssuedToken.fSequenceNumber + 1); in nextDrawToken()54 GrDrawOpUploadToken nextTokenToFlush() const { in nextTokenToFlush()55 return GrDrawOpUploadToken(fLastFlushedToken.fSequenceNumber + 1); in nextTokenToFlush()124 GrDrawOpUploadToken fLastIssuedToken;125 GrDrawOpUploadToken fLastFlushedToken;161 GrDrawOpUploadToken addInlineUpload(DeferredUploadFn&& upload) { in addInlineUpload()[all …]
105 inline void setLastUseToken(AtlasID id, GrDrawOpUploadToken token) { in setLastUseToken()164 void setLastUseTokenBulk(const BulkUseTokenUpdater& updater, GrDrawOpUploadToken token) { in setLastUseTokenBulk()214 GrDrawOpUploadToken lastUploadToken() const { return fLastUpload; } in lastUploadToken()215 GrDrawOpUploadToken lastUseToken() const { return fLastUse; } in lastUseToken()216 void setLastUploadToken(GrDrawOpUploadToken token) { fLastUpload = token; } in setLastUploadToken()217 void setLastUseToken(GrDrawOpUploadToken token) { fLastUse = token; } in setLastUseToken()242 GrDrawOpUploadToken fLastUpload;243 GrDrawOpUploadToken fLastUse;
58 : fLastUpload(GrDrawOpUploadToken::AlreadyFlushedToken()) in Plot()59 , fLastUse(GrDrawOpUploadToken::AlreadyFlushedToken()) in Plot()216 GrDrawOpUploadToken lastUploadToken = target->addAsapUpload( in updatePlot()295 GrDrawOpUploadToken lastUploadToken = target->addInlineUpload( in addToAtlas()
21 , fLastIssuedToken(GrDrawOpUploadToken::AlreadyFlushedToken()) in GrOpFlushState()
150 GrDrawOpUploadToken token) { in addGlyphToBulkAndSetUseToken()157 GrDrawOpUploadToken token, in setUseTokenBulk()