diff options
Diffstat (limited to 'tools/gpu')
-rw-r--r-- | tools/gpu/GrTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp index 524cd634fe..0001d1dc27 100644 --- a/tools/gpu/GrTest.cpp +++ b/tools/gpu/GrTest.cpp @@ -275,6 +275,10 @@ int GrResourceCache::countUniqueKeysWithTag(const char* tag) const { SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fRenderTargetContext->singleOwner());) +uint32_t GrRenderTargetContextPriv::testingOnly_getOpListID() { + return fRenderTargetContext->getOpList()->uniqueID(); +} + uint32_t GrRenderTargetContextPriv::testingOnly_addDrawOp(std::unique_ptr<GrDrawOp> op) { return this->testingOnly_addDrawOp(GrNoClip(), std::move(op)); } |