diff options
author | robertphillips <robertphillips@google.com> | 2015-11-11 13:18:11 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-11 13:18:11 -0800 |
commit | caef3450488f98aa0bc429c4e2d8e29d6a7fece4 (patch) | |
tree | 4952b658de120e5cae3f034b73e47ef2e2671d48 /src/gpu/GrTest.cpp | |
parent | dad57c8c48066a2e4b270b9f6992257f7090664c (diff) |
Readd "immediate" mode
This isn't an exact replacement. The accumulated batches are now flushed at drawContext-entry-point granularity (via the AutoCheckFlush objects) rather than per batch.
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/1439533003
Diffstat (limited to 'src/gpu/GrTest.cpp')
-rw-r--r-- | src/gpu/GrTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp index 975636d28b..6e9df211fa 100644 --- a/src/gpu/GrTest.cpp +++ b/src/gpu/GrTest.cpp @@ -300,7 +300,7 @@ void GrContext::initMockContext() { SkASSERT(nullptr == fGpu); fGpu = new MockGpu(this, options); SkASSERT(fGpu); - this->initCommon(options); + this->initCommon(); // We delete these because we want to test the cache starting with zero resources. Also, none of // these objects are required for any of tests that use this context. TODO: make stop allocating |