diff options
author | 2018-02-28 14:19:04 +0000 | |
---|---|---|
committer | 2018-02-28 14:19:16 +0000 | |
commit | 0551818a01f5cab18a9660b4bb21d9f5890e3130 (patch) | |
tree | 2754be4d6b74596fbef4b2bfab34807ea80dd713 /tools | |
parent | 615b1d9a3c6a78c87c2b042a769d5c2e016f207e (diff) |
Revert "Move atlas manager creation to GrContext derived classes"
This reverts commit e5b7ceeac865fb8a3bab82a73d65752c78682718.
Reason for revert: Breaking Mus/Viz tests in Chrome roll
Original change's description:
> Move atlas manager creation to GrContext derived classes
>
> This CL relies on: https://skia-review.googlesource.com/c/skia/+/108001 (Fission GrAtlasGlyphCache in two)
>
> TBR=bsalomon@google.com
> Change-Id: Ic3f91cea2238221b970f8ebbda99b10202925cd8
> Reviewed-on: https://skia-review.googlesource.com/110621
> Commit-Queue: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>
TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com,robertphillips@google.com
Change-Id: I3973463b7b837145d9732171a91d82f0f0cea148
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/110821
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpu/GrTest.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp index 241bbc2f60..c483a22aac 100644 --- a/tools/gpu/GrTest.cpp +++ b/tools/gpu/GrTest.cpp @@ -94,10 +94,7 @@ void GrContext::setTextBlobCacheLimit_ForTesting(size_t bytes) { } void GrContext::setTextContextAtlasSizes_ForTesting(const GrDrawOpAtlasConfig* configs) { - GrAtlasManager* atlasManager = this->contextPriv().getFullAtlasManager(); - if (atlasManager) { - atlasManager->setAtlasSizes_ForTesting(configs); - } + fFullAtlasManager->setAtlasSizes_ForTesting(configs); } /////////////////////////////////////////////////////////////////////////////// |