OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
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 #include "SkBicubicImageFilter.h" | 8 #include "SkBicubicImageFilter.h" |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkBitmapDevice.h" | 10 #include "SkBitmapDevice.h" |
11 #include "SkBitmapSource.h" | 11 #include "SkBitmapSource.h" |
12 #include "SkBlurImageFilter.h" | 12 #include "SkBlurImageFilter.h" |
13 #include "SkCanvas.h" | 13 #include "SkCanvas.h" |
14 #include "SkColorFilterImageFilter.h" | 14 #include "SkColorFilterImageFilter.h" |
15 #include "SkColorMatrixFilter.h" | 15 #include "SkColorMatrixFilter.h" |
16 #include "SkDeviceImageFilterProxy.h" | 16 #include "SkDeviceImageFilterProxy.h" |
17 #include "SkDisplacementMapEffect.h" | 17 #include "SkDisplacementMapEffect.h" |
18 #include "SkDropShadowImageFilter.h" | 18 #include "SkDropShadowImageFilter.h" |
19 #include "SkFlattenableBuffers.h" | 19 #include "SkFlattenableBuffers.h" |
20 #include "SkLightingImageFilter.h" | 20 #include "SkLightingImageFilter.h" |
21 #include "SkMatrixConvolutionImageFilter.h" | 21 #include "SkMatrixConvolutionImageFilter.h" |
22 #include "SkMatrixImageFilter.h" | 22 #include "SkMatrixImageFilter.h" |
23 #include "SkMergeImageFilter.h" | 23 #include "SkMergeImageFilter.h" |
24 #include "SkMorphologyImageFilter.h" | 24 #include "SkMorphologyImageFilter.h" |
25 #include "SkOffsetImageFilter.h" | 25 #include "SkOffsetImageFilter.h" |
26 #include "SkPicture.h" | 26 #include "SkPicture.h" |
27 #include "SkRTreePicture.h" | 27 #include "SkPictureRecorder.h" |
28 #include "SkRect.h" | 28 #include "SkRect.h" |
29 #include "SkTileImageFilter.h" | 29 #include "SkTileImageFilter.h" |
30 #include "SkXfermodeImageFilter.h" | 30 #include "SkXfermodeImageFilter.h" |
31 #include "Test.h" | 31 #include "Test.h" |
32 | 32 |
33 #if SK_SUPPORT_GPU | 33 #if SK_SUPPORT_GPU |
34 #include "GrContextFactory.h" | 34 #include "GrContextFactory.h" |
35 #include "SkGpuDevice.h" | 35 #include "SkGpuDevice.h" |
36 #endif | 36 #endif |
37 | 37 |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 } | 444 } |
445 | 445 |
446 DEF_GPUTEST(XfermodeImageFilterCroppedInputGPU, reporter, factory) { | 446 DEF_GPUTEST(XfermodeImageFilterCroppedInputGPU, reporter, factory) { |
447 GrContext* context = factory->get(static_cast<GrContextFactory::GLContextTyp
e>(0)); | 447 GrContext* context = factory->get(static_cast<GrContextFactory::GLContextTyp
e>(0)); |
448 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(context, | 448 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(context, |
449 SkImageInfo::MakeN32Pre
mul(1, 1), | 449 SkImageInfo::MakeN32Pre
mul(1, 1), |
450 0)); | 450 0)); |
451 test_xfermode_cropped_input(device, reporter); | 451 test_xfermode_cropped_input(device, reporter); |
452 } | 452 } |
453 #endif | 453 #endif |
OLD | NEW |