Disable mipmap pre-generation path
authorEric Karl <ericrk@chromium.org>
Mon, 23 Jan 2017 21:27:57 +0000 (13:27 -0800)
committerBrian Salomon <bsalomon@google.com>
Mon, 23 Jan 2017 21:42:48 +0000 (21:42 +0000)
commitbf2d9e02d58ea01f1c239f7e2fc024cba140ccb1
treead35371be90fd425661975555804ef592ce6d2eb
parent00c8b7fa42bea2a623b4f07e353c15949212c4b6
Disable mipmap pre-generation path

There is a bug in the mipmap pre-generation logic in use in
getDeferredTextureImageData. This can cause runaway memory leaks, so we
are disabling this path until we can investigate further.

BUG=669775

Change-Id: I2027f6f7994e089edd4f3452284e894752b31779
Reviewed-on: https://skia-review.googlesource.com/5357
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-on: https://skia-review.googlesource.com/7285
src/image/SkImage_Gpu.cpp