diff options
author | 2016-01-15 16:15:30 -0800 | |
---|---|---|
committer | 2016-02-02 17:10:25 -0800 | |
commit | 6e068c0182f6f85bccb855a647510724d1c65a13 (patch) | |
tree | 8ee074307867bfcdc9c8a708aa6ae03f1d9b7ecc /libs/hwui/BakedOpDispatcher.cpp | |
parent | d38308e4d0599836f9c5446ba9d6edbc0713c428 (diff) |
Early kickoff of shadow tasks
bug:26562703
Change-Id: I7cdf18f2c662380bd31c7ffeefd5c3f569e5c1c6
Diffstat (limited to 'libs/hwui/BakedOpDispatcher.cpp')
-rw-r--r-- | libs/hwui/BakedOpDispatcher.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/hwui/BakedOpDispatcher.cpp b/libs/hwui/BakedOpDispatcher.cpp index 7ecc743b700c..ca1f8f94f382 100644 --- a/libs/hwui/BakedOpDispatcher.cpp +++ b/libs/hwui/BakedOpDispatcher.cpp @@ -663,13 +663,7 @@ static void renderShadow(BakedOpRenderer& renderer, const BakedOpState& state, f } void BakedOpDispatcher::onShadowOp(BakedOpRenderer& renderer, const ShadowOp& op, const BakedOpState& state) { - TessellationCache::vertexBuffer_pair_t buffers; - renderer.caches().tessellationCache.getShadowBuffers(&state.computedState.transform, - op.localClipRect, op.casterAlpha >= 1.0f, op.casterPath, - &op.shadowMatrixXY, &op.shadowMatrixZ, - op.lightCenter, renderer.getLightInfo().lightRadius, - buffers); - + TessellationCache::vertexBuffer_pair_t buffers = *(op.shadowTask->getResult()); renderShadow(renderer, state, op.casterAlpha, buffers.first, buffers.second); } |