Refactor layer hoisting code
authorrobertphillips <robertphillips@google.com>
Thu, 18 Sep 2014 19:03:15 +0000 (12:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Sep 2014 19:03:15 +0000 (12:03 -0700)
commit1c4c528c2a5693c88ceb94888c747559c6a32091
tree8c495bbd520afc5db964e7e76db7339ce71a4651
parent0d276f71d2cf30f4a282cd4f470084c6b42c6af2
Refactor layer hoisting code

This CL consolidates the layer hoisting functionality in GrLayerHoister in preparation for retiring SkDpuDevice::EXPERIMENTAL_drawPicture in favor of SkMultiPictureDraw::draw.

R=bsalomon@google.com

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/580173002
src/gpu/GrLayerHoister.cpp
src/gpu/GrLayerHoister.h
src/gpu/SkGpuDevice.cpp