Initialize the matrix used when recursing from a GPU image filter -> raster image filter.
BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/5636027884503040 git-svn-id: http://skia.googlecode.com/svn/trunk@10029 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
d411681868
commit
40ea172f1e
@ -29,7 +29,9 @@ bool SkImageFilterUtils::GetInputResultGPU(SkImageFilter* filter, SkImageFilter:
|
||||
} else if (filter->canFilterImageGPU()) {
|
||||
return filter->filterImageGPU(proxy, src, result, offset);
|
||||
} else {
|
||||
if (filter->filterImage(proxy, src, SkMatrix(), result, offset)) {
|
||||
SkMatrix matrix;
|
||||
matrix.reset();
|
||||
if (filter->filterImage(proxy, src, matrix, result, offset)) {
|
||||
if (!result->getTexture()) {
|
||||
GrContext* context = ((GrTexture *) src.getTexture())->getContext();
|
||||
GrTexture* resultTex = GrLockAndRefCachedBitmapTexture(context,
|
||||
|
Loading…
Reference in New Issue
Block a user