diff options
author | 2014-10-30 07:19:11 -0700 | |
---|---|---|
committer | 2014-10-30 07:19:11 -0700 | |
commit | 7f36ae1314451bf72d0d1fd6ea9d0ba68564fddf (patch) | |
tree | 42aab7da1ad699d9383db472bcd48adc6626689b /src/core/SkMultiPictureDraw.cpp | |
parent | f49bba8104a8790a628eabba33c8ee8e5e6e2e5a (diff) |
Disable SkTaskGroup in SkMultiPictureDraw temporarily.
Think this should be enough to get rolling again.
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/687273006
Diffstat (limited to 'src/core/SkMultiPictureDraw.cpp')
-rw-r--r-- | src/core/SkMultiPictureDraw.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/SkMultiPictureDraw.cpp b/src/core/SkMultiPictureDraw.cpp index fec272c7f6..38d5074963 100644 --- a/src/core/SkMultiPictureDraw.cpp +++ b/src/core/SkMultiPictureDraw.cpp @@ -86,10 +86,16 @@ void SkMultiPictureDraw::draw() { // we place the taskgroup after the MPDReset, to ensure that we don't delete the DrawData // objects until after we're finished the tasks (which have pointers to the data). +#if 0 SkTaskGroup group; group.batch(DrawData::Draw, fThreadSafeDrawData.begin(), fThreadSafeDrawData.count()); // we deliberately don't call wait() here, since the destructor will do that, this allows us // to continue processing gpu-data without having to wait on the cpu tasks. +#else + for (int i = 0; i < fThreadSafeDrawData.count(); i++) { + DrawData::Draw(&fThreadSafeDrawData[i]); + } +#endif const int count = fGPUDrawData.count(); if (0 == count) { |