From 3e302275b324172c845627cbd00cee8a06571baf Mon Sep 17 00:00:00 2001 From: robertphillips Date: Wed, 20 Apr 2016 11:48:36 -0700 Subject: Begin removing deprecated (and now, unused) ImageFilter code paths This CL focuses on removing the Proxy objects but takes some other stuff with it. BUG=skia:4965 TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1896383003 Review URL: https://codereview.chromium.org/1896383003 --- src/gpu/GrLayerHoister.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gpu') diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp index 9a2be0be60..38aff8c2f3 100644 --- a/src/gpu/GrLayerHoister.cpp +++ b/src/gpu/GrLayerHoister.cpp @@ -300,11 +300,9 @@ void GrLayerHoister::FilterLayer(GrContext* context, SkAutoTUnref cache(SkImageFilter::Cache::Create(kDefaultCacheSize)); SkImageFilter::Context filterContext(totMat, clipBounds, cache); - SkImageFilter::DeviceProxy proxy(device); - // TODO: should the layer hoister store stand alone layers as SkSpecialImages internally? const SkIRect subset = SkIRect::MakeWH(layer->texture()->width(), layer->texture()->height()); - sk_sp img(SkSpecialImage::MakeFromGpu(&proxy, subset, + sk_sp img(SkSpecialImage::MakeFromGpu(subset, kNeedNewImageUniqueID_SpecialImage, layer->texture(), &device->surfaceProps())); -- cgit v1.2.3