diff options
author | mtklein <mtklein@chromium.org> | 2014-11-03 17:41:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-03 17:41:08 -0800 |
commit | ecf987559b1db0cb3fcaccdde2a065e4391d9b60 (patch) | |
tree | 1d66263dc465aac6600f5616131cb9ee39a2916e /src | |
parent | db8d0e5bb018594d0ced3bfa68484115d8cf76b8 (diff) |
Turn SkTaskGroups back on.
Revert "Disable SkTaskGroup in SkMultiPictureDraw temporarily."
Revert "Revert harder, removing SkTaskGroup.cpp from core temporarily."
NOTREECHECKS=true
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/2100c5ed7a5e5470a04e7af7309d8bd3fc4249f7
Review URL: https://codereview.chromium.org/687263007
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkMultiPictureDraw.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkMultiPictureDraw.cpp b/src/core/SkMultiPictureDraw.cpp index 75929f8e24..329271a6b7 100644 --- a/src/core/SkMultiPictureDraw.cpp +++ b/src/core/SkMultiPictureDraw.cpp @@ -83,16 +83,10 @@ 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) { |