| 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 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1847 // FIXME: This is to not break tests (it results in the filter bitmap fl
ag | 1847 // FIXME: This is to not break tests (it results in the filter bitmap fl
ag |
| 1848 // being set to true). We need to decide if we respect InterpolationNone | 1848 // being set to true). We need to decide if we respect InterpolationNone |
| 1849 // being returned from computeInterpolationQuality. | 1849 // being returned from computeInterpolationQuality. |
| 1850 resampling = InterpolationLow; | 1850 resampling = InterpolationLow; |
| 1851 } | 1851 } |
| 1852 resampling = limitInterpolationQuality(this, resampling); | 1852 resampling = limitInterpolationQuality(this, resampling); |
| 1853 paint->setFilterLevel(static_cast<SkPaint::FilterLevel>(resampling)); | 1853 paint->setFilterLevel(static_cast<SkPaint::FilterLevel>(resampling)); |
| 1854 } | 1854 } |
| 1855 | 1855 |
| 1856 } // namespace blink | 1856 } // namespace blink |
| OLD | NEW |