Home
last modified time | relevance | path

Searched refs:GrDeferredUploadToken (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/gpu/
DGrDeferredUpload.h38 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 {
[all …]
DGrDrawOpAtlas.h274 void setLastUseToken(const AtlasLocator& atlasLocator, GrDeferredUploadToken token) { in setLastUseToken()
343 void setLastUseTokenBulk(const BulkUseTokenUpdater& updater, GrDeferredUploadToken token) { in setLastUseTokenBulk()
357 void compact(GrDeferredUploadToken startTokenForNextFlush);
408 GrDeferredUploadToken lastUploadToken() const { return fLastUpload; } in lastUploadToken()
409 GrDeferredUploadToken lastUseToken() const { return fLastUse; } in lastUseToken()
410 void setLastUploadToken(GrDeferredUploadToken token) { fLastUpload = token; } in setLastUploadToken()
411 void setLastUseToken(GrDeferredUploadToken token) { fLastUse = token; } in setLastUseToken()
435 GrDeferredUploadToken fLastUpload;
436 GrDeferredUploadToken fLastUse;
505 GrDeferredUploadToken fPrevFlushToken;
DGrOpFlushState.h124 GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) final;
125 GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&&) final;
267 InlineUpload(GrDeferredTextureUploadFn&& upload, GrDeferredUploadToken token) in InlineUpload()
270 GrDeferredUploadToken fUploadBeforeToken;
306 GrDeferredUploadToken fBaseDrawToken = GrDeferredUploadToken::AlreadyFlushedToken();
DGrOpFlushState.cpp47 GrDeferredUploadToken drawToken = fTokenTracker->nextTokenToFlush(); in executeDrawsAndUploadsForMeshDrawOp()
97 fBaseDrawToken = GrDeferredUploadToken::AlreadyFlushedToken(); in reset()
135 GrDeferredUploadToken GrOpFlushState::addInlineUpload(GrDeferredTextureUploadFn&& upload) { in addInlineUpload()
140 GrDeferredUploadToken GrOpFlushState::addASAPUpload(GrDeferredTextureUploadFn&& upload) { in addASAPUpload()
155 GrDeferredUploadToken token = fTokenTracker->issueDrawToken(); in recordDraw()
DGrDrawOpAtlas.cpp85 : fLastUpload(GrDeferredUploadToken::AlreadyFlushedToken()) in Plot()
86 , fLastUse(GrDeferredUploadToken::AlreadyFlushedToken()) in Plot()
190 fLastUpload = GrDeferredUploadToken::AlreadyFlushedToken(); in resetRects()
191 fLastUse = GrDeferredUploadToken::AlreadyFlushedToken(); in resetRects()
216 , fPrevFlushToken(GrDeferredUploadToken::AlreadyFlushedToken()) in GrDrawOpAtlas()
254 GrDeferredUploadToken lastUploadToken = target->addASAPUpload( in updatePlot()
391 GrDeferredUploadToken lastUploadToken = target->addInlineUpload( in addToAtlas()
403 void GrDrawOpAtlas::compact(GrDeferredUploadToken startTokenForNextFlush) { in compact()
501 } else if (plot->lastUseToken() != GrDeferredUploadToken::AlreadyFlushedToken()) { in compact()
DGrOnFlushResourceProvider.h45 virtual void postFlush(GrDeferredUploadToken startTokenForNextFlush, in postFlush()
/external/skqp/src/gpu/
DGrDeferredUpload.h38 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 {
[all …]
DGrDrawOpAtlas.h144 inline void setLastUseToken(AtlasID id, GrDeferredUploadToken token) { in setLastUseToken()
219 void setLastUseTokenBulk(const BulkUseTokenUpdater& updater, GrDeferredUploadToken token) { in setLastUseTokenBulk()
233 void compact(GrDeferredUploadToken startTokenForNextFlush);
286 GrDeferredUploadToken lastUploadToken() const { return fLastUpload; } in lastUploadToken()
287 GrDeferredUploadToken lastUseToken() const { return fLastUse; } in lastUseToken()
288 void setLastUploadToken(GrDeferredUploadToken token) { fLastUpload = token; } in setLastUploadToken()
289 void setLastUseToken(GrDeferredUploadToken token) { fLastUse = token; } in setLastUseToken()
321 GrDeferredUploadToken fLastUpload;
322 GrDeferredUploadToken fLastUse;
397 GrDeferredUploadToken fPrevFlushToken;
DGrOpFlushState.h78 GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) final;
79 GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&&) final;
119 InlineUpload(GrDeferredTextureUploadFn&& upload, GrDeferredUploadToken token) in InlineUpload()
122 GrDeferredUploadToken fUploadBeforeToken;
154 GrDeferredUploadToken fBaseDrawToken = GrDeferredUploadToken::AlreadyFlushedToken();
DGrOpFlushState.cpp37 GrDeferredUploadToken drawToken = fTokenTracker->nextTokenToFlush(); in executeDrawsAndUploadsForMeshDrawOp()
71 fBaseDrawToken = GrDeferredUploadToken::AlreadyFlushedToken(); in reset()
90 GrDeferredUploadToken GrOpFlushState::addInlineUpload(GrDeferredTextureUploadFn&& upload) { in addInlineUpload()
95 GrDeferredUploadToken GrOpFlushState::addASAPUpload(GrDeferredTextureUploadFn&& upload) { in addASAPUpload()
108 GrDeferredUploadToken token = fTokenTracker->issueDrawToken(); in draw()
DGrDrawOpAtlas.cpp60 : fLastUpload(GrDeferredUploadToken::AlreadyFlushedToken()) in Plot()
61 , fLastUse(GrDeferredUploadToken::AlreadyFlushedToken()) in Plot()
168 fLastUpload = GrDeferredUploadToken::AlreadyFlushedToken(); in resetRects()
169 fLastUse = GrDeferredUploadToken::AlreadyFlushedToken(); in resetRects()
192 , fPrevFlushToken(GrDeferredUploadToken::AlreadyFlushedToken()) in GrDrawOpAtlas()
227 GrDeferredUploadToken lastUploadToken = target->addASAPUpload( in updatePlot()
359 GrDeferredUploadToken lastUploadToken = target->addInlineUpload( in addToAtlas()
370 void GrDrawOpAtlas::compact(GrDeferredUploadToken startTokenForNextFlush) { in compact()
462 } else if (plot->lastUseToken() != GrDeferredUploadToken::AlreadyFlushedToken()) { in compact()
DGrOnFlushResourceProvider.h48 virtual void postFlush(GrDeferredUploadToken startTokenForNextFlush, in postFlush()
/external/skqp/src/atlastext/
DSkInternalAtlasTextContext.h40 GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) final;
41 GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&&) final;
64 GrDeferredUploadToken fToken;
71 GrDeferredUploadToken fToken;
DSkInternalAtlasTextContext.cpp60 GrDeferredUploadToken SkInternalAtlasTextContext::addInlineUpload( in addInlineUpload()
67 GrDeferredUploadToken SkInternalAtlasTextContext::addASAPUpload( in addASAPUpload()
/external/skia/src/gpu/text/
DGrAtlasManager.h64 GrDeferredUploadToken);
67 GrDeferredUploadToken token, in setUseTokenBulk()
94 void postFlush(GrDeferredUploadToken startTokenForNextFlush, SkSpan<const uint32_t>) override { in postFlush()
/external/skqp/src/gpu/text/
DGrAtlasManager.h67 GrDeferredUploadToken);
70 GrDeferredUploadToken token, in setUseTokenBulk()
99 void postFlush(GrDeferredUploadToken startTokenForNextFlush, in postFlush()
DGrAtlasManager.cpp78 GrDeferredUploadToken token) { in addGlyphToBulkAndSetUseToken()
/external/skia/src/gpu/ops/
DGrSmallPathAtlasMgr.h47 void setUseToken(GrSmallPathShapeData*, GrDeferredUploadToken);
57 void postFlush(GrDeferredUploadToken startTokenForNextFlush, in postFlush()
DGrSmallPathAtlasMgr.cpp112 GrDeferredUploadToken token) { in setUseToken()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.h61 void postFlush(GrDeferredUploadToken, SkSpan<const uint32_t> taskIDs) override;
DGrCoverageCountingPathRenderer.cpp200 void GrCoverageCountingPathRenderer::postFlush(GrDeferredUploadToken, in postFlush() argument
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.h43 void postFlush(GrDeferredUploadToken startTokenForNextFlush, in postFlush()
/external/skia/tests/
DDrawOpAtlasTest.cpp96 GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) final { in addInlineUpload()
101 GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&& upload) final { in addASAPUpload()
/external/skqp/tests/
DDrawOpAtlasTest.cpp90 GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) final { in addInlineUpload()
95 virtual GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&& upload) final { in addASAPUpload()
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.h67 void postFlush(GrDeferredUploadToken, const uint32_t* opListIDs, int numOpListIDs) override;

12