OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 // This is a GPU-backend specific test. It relies on static intializers to work | 9 // This is a GPU-backend specific test. It relies on static intializers to work |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 256 |
257 void forceLinking() { | 257 void forceLinking() { |
258 SkLightingImageFilter::CreateDistantLitDiffuse(SkPoint3(0,0,0), 0, 0, 0); | 258 SkLightingImageFilter::CreateDistantLitDiffuse(SkPoint3(0,0,0), 0, 0, 0); |
259 SkAlphaThresholdFilter::Create(SkRegion(), .5f, .5f); | 259 SkAlphaThresholdFilter::Create(SkRegion(), .5f, .5f); |
260 SkMagnifierImageFilter mag(SkRect::MakeWH(SK_Scalar1, SK_Scalar1), SK_Scalar
1); | 260 SkMagnifierImageFilter mag(SkRect::MakeWH(SK_Scalar1, SK_Scalar1), SK_Scalar
1); |
261 GrConfigConversionEffect::Create(NULL, | 261 GrConfigConversionEffect::Create(NULL, |
262 false, | 262 false, |
263 GrConfigConversionEffect::kNone_PMConversio
n, | 263 GrConfigConversionEffect::kNone_PMConversio
n, |
264 SkMatrix::I()); | 264 SkMatrix::I()); |
265 SkScalar matrix[20]; | 265 SkScalar matrix[20]; |
266 SkColorMatrixFilter cmf(matrix); | 266 SkAutoTUnref<SkColorMatrixFilter> cmf(SkColorMatrixFilter::Create(matrix)); |
267 } | 267 } |
268 | 268 |
269 #endif | 269 #endif |
OLD | NEW |