| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #include "sky/engine/platform/text/BidiResolver.h" | 38 #include "sky/engine/platform/text/BidiResolver.h" |
| 39 #include "sky/engine/platform/text/TextRunIterator.h" | 39 #include "sky/engine/platform/text/TextRunIterator.h" |
| 40 #include "sky/engine/platform/weborigin/KURL.h" | 40 #include "sky/engine/platform/weborigin/KURL.h" |
| 41 #include "sky/engine/wtf/Assertions.h" | 41 #include "sky/engine/wtf/Assertions.h" |
| 42 #include "sky/engine/wtf/MathExtras.h" | 42 #include "sky/engine/wtf/MathExtras.h" |
| 43 #include "third_party/skia/include/core/SkAnnotation.h" | 43 #include "third_party/skia/include/core/SkAnnotation.h" |
| 44 #include "third_party/skia/include/core/SkClipStack.h" | 44 #include "third_party/skia/include/core/SkClipStack.h" |
| 45 #include "third_party/skia/include/core/SkColorFilter.h" | 45 #include "third_party/skia/include/core/SkColorFilter.h" |
| 46 #include "third_party/skia/include/core/SkData.h" | 46 #include "third_party/skia/include/core/SkData.h" |
| 47 #include "third_party/skia/include/core/SkDevice.h" | 47 #include "third_party/skia/include/core/SkDevice.h" |
| 48 #include "third_party/skia/include/core/SkMatrixImageFilter.h" |
| 48 #include "third_party/skia/include/core/SkPicture.h" | 49 #include "third_party/skia/include/core/SkPicture.h" |
| 49 #include "third_party/skia/include/core/SkRRect.h" | 50 #include "third_party/skia/include/core/SkRRect.h" |
| 50 #include "third_party/skia/include/core/SkRefCnt.h" | 51 #include "third_party/skia/include/core/SkRefCnt.h" |
| 51 #include "third_party/skia/include/core/SkSurface.h" | 52 #include "third_party/skia/include/core/SkSurface.h" |
| 52 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" | 53 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
| 53 #include "third_party/skia/include/effects/SkCornerPathEffect.h" | 54 #include "third_party/skia/include/effects/SkCornerPathEffect.h" |
| 54 #include "third_party/skia/include/effects/SkLumaColorFilter.h" | 55 #include "third_party/skia/include/effects/SkLumaColorFilter.h" |
| 55 #include "third_party/skia/include/effects/SkMatrixImageFilter.h" | |
| 56 #include "third_party/skia/include/effects/SkPictureImageFilter.h" | 56 #include "third_party/skia/include/effects/SkPictureImageFilter.h" |
| 57 #include "third_party/skia/include/gpu/GrRenderTarget.h" | 57 #include "third_party/skia/include/gpu/GrRenderTarget.h" |
| 58 #include "third_party/skia/include/gpu/GrTexture.h" | 58 #include "third_party/skia/include/gpu/GrTexture.h" |
| 59 | 59 |
| 60 namespace blink { | 60 namespace blink { |
| 61 | 61 |
| 62 namespace { | 62 namespace { |
| 63 | 63 |
| 64 class CompatibleImageBufferSurface : public ImageBufferSurface { | 64 class CompatibleImageBufferSurface : public ImageBufferSurface { |
| 65 WTF_MAKE_NONCOPYABLE(CompatibleImageBufferSurface); WTF_MAKE_FAST_ALLOCATED; | 65 WTF_MAKE_NONCOPYABLE(CompatibleImageBufferSurface); WTF_MAKE_FAST_ALLOCATED; |
| (...skipping 1655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 // FIXME: This is to not break tests (it results in the filter bitmap fl
ag | 1721 // FIXME: This is to not break tests (it results in the filter bitmap fl
ag |
| 1722 // being set to true). We need to decide if we respect InterpolationNone | 1722 // being set to true). We need to decide if we respect InterpolationNone |
| 1723 // being returned from computeInterpolationQuality. | 1723 // being returned from computeInterpolationQuality. |
| 1724 resampling = InterpolationLow; | 1724 resampling = InterpolationLow; |
| 1725 } | 1725 } |
| 1726 resampling = limitInterpolationQuality(this, resampling); | 1726 resampling = limitInterpolationQuality(this, resampling); |
| 1727 paint->setFilterQuality(static_cast<SkFilterQuality>(resampling)); | 1727 paint->setFilterQuality(static_cast<SkFilterQuality>(resampling)); |
| 1728 } | 1728 } |
| 1729 | 1729 |
| 1730 } // namespace blink | 1730 } // namespace blink |
| OLD | NEW |