Home
last modified time | relevance | path

Searched refs:fTokenTracker (Results 1 – 12 of 12) sorted by relevance

/external/skia/tests/
DDrawOpAtlasTest.cpp93 const GrTokenTracker* tokenTracker() final { return &fTokenTracker; } in tokenTracker()
94 GrTokenTracker* writeableTokenTracker() { return &fTokenTracker; } in writeableTokenTracker()
98 return fTokenTracker.nextDrawToken(); in addInlineUpload()
102 return fTokenTracker.nextTokenToFlush(); in addASAPUpload()
105 void issueDrawToken() { fTokenTracker.issueDrawToken(); } in issueDrawToken()
106 void flushToken() { fTokenTracker.flushToken(); } in flushToken()
109 GrTokenTracker fTokenTracker; member in TestingUploadTarget
/external/skqp/tests/
DDrawOpAtlasTest.cpp87 const GrTokenTracker* tokenTracker() final { return &fTokenTracker; } in tokenTracker()
88 GrTokenTracker* writeableTokenTracker() { return &fTokenTracker; } in writeableTokenTracker()
92 return fTokenTracker.nextDrawToken(); in addInlineUpload()
96 return fTokenTracker.nextTokenToFlush(); in addASAPUpload()
99 void issueDrawToken() { fTokenTracker.issueDrawToken(); } in issueDrawToken()
100 void flushToken() { fTokenTracker.flushToken(); } in flushToken()
103 GrTokenTracker fTokenTracker; member in TestingUploadTarget
/external/skqp/src/gpu/
DGrOpFlushState.cpp24 , fTokenTracker(tokenTracker) {} in GrOpFlushState()
37 GrDeferredUploadToken drawToken = fTokenTracker->nextTokenToFlush(); in executeDrawsAndUploadsForMeshDrawOp()
46 fTokenTracker->flushToken(); in executeDrawsAndUploadsForMeshDrawOp()
91 return fInlineUploads.append(&fArena, std::move(upload), fTokenTracker->nextDrawToken()) in addInlineUpload()
97 return fTokenTracker->nextTokenToFlush(); in addASAPUpload()
108 GrDeferredUploadToken token = fTokenTracker->issueDrawToken(); in draw()
DGrOpFlushState.h77 const GrTokenTracker* tokenTracker() final { return fTokenTracker; } in tokenTracker()
162 GrTokenTracker* fTokenTracker; variable
DGrDrawingManager.cpp238 GrOpFlushState flushState(gpu, fContext->contextPriv().resourceProvider(), &fTokenTracker, in flush()
344 onFlushCBObject->postFlush(fTokenTracker.nextTokenToFlush(), fFlushingOpListIDs.begin(), in flush()
438 SkASSERT(fTokenTracker.nextDrawToken() == fTokenTracker.nextTokenToFlush()); in executeOpLists()
DGrDrawingManager.h180 GrTokenTracker fTokenTracker; variable
/external/skia/src/gpu/
DGrOpFlushState.cpp31 , fTokenTracker(tokenTracker) {} in GrOpFlushState()
47 GrDeferredUploadToken drawToken = fTokenTracker->nextTokenToFlush(); in executeDrawsAndUploadsForMeshDrawOp()
70 fTokenTracker->flushToken(); in executeDrawsAndUploadsForMeshDrawOp()
136 return fInlineUploads.append(&fArena, std::move(upload), fTokenTracker->nextDrawToken()) in addInlineUpload()
142 return fTokenTracker->nextTokenToFlush(); in addASAPUpload()
155 GrDeferredUploadToken token = fTokenTracker->issueDrawToken(); in recordDraw()
DGrDrawingManager.cpp150 GrOpFlushState flushState(gpu, resourceProvider, &fTokenTracker, fCpuBufferCache); in flush()
232 onFlushCBObject->postFlush(fTokenTracker.nextTokenToFlush(), in flush()
325 SkASSERT(fTokenTracker.nextDrawToken() == fTokenTracker.nextTokenToFlush()); in executeRenderTasks()
DGrOpFlushState.h123 const GrTokenTracker* tokenTracker() final { return fTokenTracker; } in tokenTracker()
318 GrTokenTracker* fTokenTracker; variable
DGrDrawingManager.h209 GrTokenTracker fTokenTracker; variable
/external/skqp/src/atlastext/
DSkInternalAtlasTextContext.cpp62 auto token = fTokenTracker.nextDrawToken(); in addInlineUpload()
70 return fTokenTracker.nextTokenToFlush(); in addASAPUpload()
87 Draw{glyphCnt, fTokenTracker.issueDrawToken(), targetHandle, vertexData}); in recordDraw()
122 fTokenTracker.flushToken(); in flush()
DSkInternalAtlasTextContext.h39 const GrTokenTracker* tokenTracker() final { return &fTokenTracker; } in tokenTracker()
74 GrTokenTracker fTokenTracker; variable