Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: src/effects/SkBlurMask.h

Issue 471473002: Optimize CSS box-shadow performance (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: based on SkBitmapCache Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBlurMask_DEFINED 8 #ifndef SkBlurMask_DEFINED
9 #define SkBlurMask_DEFINED 9 #define SkBlurMask_DEFINED
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 @param pixels Location to store the resulting pixel data; allocated and managed by caller 69 @param pixels Location to store the resulting pixel data; allocated and managed by caller
70 @param profile Precomputed blur profile computed by ComputeBlurProfile a bove. 70 @param profile Precomputed blur profile computed by ComputeBlurProfile a bove.
71 @param width Size of the pixels array. 71 @param width Size of the pixels array.
72 @param sigma Standard deviation of the gaussian blur kernel used to comp ute the profile; 72 @param sigma Standard deviation of the gaussian blur kernel used to comp ute the profile;
73 this implicitly gives the size of the pixels array. 73 this implicitly gives the size of the pixels array.
74 */ 74 */
75 75
76 static void ComputeBlurredScanline(uint8_t* pixels, const uint8_t* profile, 76 static void ComputeBlurredScanline(uint8_t* pixels, const uint8_t* profile,
77 unsigned int width, SkScalar sigma); 77 unsigned int width, SkScalar sigma);
78 78
79
80
81 }; 79 };
82 80
83 #endif 81 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698