Coverage Report

Created: 2024-05-20 07:14

/src/skia/src/core/SkImageInfoPriv.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright 2017 Google Inc.
3
 *
4
 * Use of this source code is governed by a BSD-style license that can be
5
 * found in the LICENSE file.
6
 */
7
8
#ifndef SkImageInfoPriv_DEFINED
9
#define SkImageInfoPriv_DEFINED
10
11
#include "include/core/SkColor.h"
12
#include "include/core/SkColorType.h"
13
#include "include/core/SkImageInfo.h"
14
15
1.34M
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
1.34M
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
828
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
89
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
109
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
325k
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
33
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
1.00M
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
35
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
23
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
8
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
7
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
54
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
61
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
56
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
5.96k
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
37
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
2.78k
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
60
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
81
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
42
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
49
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
36
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
50
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
48
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
26
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
140
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
1.34M
    }
44
1.34M
    SkUNREACHABLE;
45
1.34M
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeChannelFlags(SkColorType)
SkImageInfo.cpp:SkColorTypeChannelFlags(SkColorType)
Line
Count
Source
15
1.01M
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
1.01M
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
192
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
0
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
10
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
295k
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
0
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
719k
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
2
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
0
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
1
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
0
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
0
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
4
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
6
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
298
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
0
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
2.76k
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
4
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
0
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
0
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
0
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
0
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
0
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
6
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
7
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
0
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
1.01M
    }
44
0
    SkUNREACHABLE;
45
1.01M
}
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeChannelFlags(SkColorType)
SkImage.cpp:SkColorTypeChannelFlags(SkColorType)
Line
Count
Source
15
37.3k
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
37.3k
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
0
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
0
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
0
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
26.6k
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
0
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
10.6k
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
0
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
0
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
0
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
0
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
0
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
0
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
0
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
0
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
0
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
0
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
0
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
0
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
0
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
0
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
0
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
0
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
0
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
0
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
0
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
37.3k
    }
44
0
    SkUNREACHABLE;
45
37.3k
}
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeChannelFlags(SkColorType)
SkImageShader.cpp:SkColorTypeChannelFlags(SkColorType)
Line
Count
Source
15
87.2k
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
87.2k
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
433
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
36
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
40
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
2.54k
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
10
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
82.4k
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
16
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
8
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
4
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
4
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
24
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
22
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
20
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
1.42k
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
16
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
5
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
24
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
36
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
28
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
20
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
25
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
18
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
18
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
4
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
42
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
87.2k
    }
44
0
    SkUNREACHABLE;
45
87.2k
}
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Context.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Recorder.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeChannelFlags(SkColorType)
SkDraw.cpp:SkColorTypeChannelFlags(SkColorType)
Line
Count
Source
15
171k
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
171k
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
203
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
34
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
38
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
0
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
13
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
168k
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
12
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
9
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
2
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
2
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
20
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
22
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
19
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
2.28k
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
14
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
9
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
21
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
30
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
14
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
19
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
11
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
20
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
16
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
8
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
59
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
171k
    }
44
0
    SkUNREACHABLE;
45
171k
}
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Device.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeChannelFlags(SkColorType)
SkBlitter_Sprite.cpp:SkColorTypeChannelFlags(SkColorType)
Line
Count
Source
15
23.2k
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
23.2k
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
0
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
19
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
21
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
0
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
10
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
21.0k
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
5
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
6
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
1
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
1
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
10
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
13
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
11
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
1.95k
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
7
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
7
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
11
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
15
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
0
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
10
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
0
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
12
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
8
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
7
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
39
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
23.2k
    }
44
0
    SkUNREACHABLE;
45
23.2k
}
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeChannelFlags(SkColorType)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeChannelFlags(SkColorType)
SkWebpEncoderImpl.cpp:SkColorTypeChannelFlags(SkColorType)
Line
Count
Source
15
4.71k
static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) {
16
4.71k
    switch (ct) {
17
0
        case kUnknown_SkColorType:            return 0;
18
0
        case kAlpha_8_SkColorType:            return kAlpha_SkColorChannelFlag;
19
0
        case kRGB_565_SkColorType:            return kRGB_SkColorChannelFlags;
20
0
        case kARGB_4444_SkColorType:          return kRGBA_SkColorChannelFlags;
21
0
        case kRGBA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
22
0
        case kRGB_888x_SkColorType:           return kRGB_SkColorChannelFlags;
23
4.71k
        case kBGRA_8888_SkColorType:          return kRGBA_SkColorChannelFlags;
24
0
        case kRGBA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
25
0
        case kRGB_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
26
0
        case kBGRA_1010102_SkColorType:       return kRGBA_SkColorChannelFlags;
27
0
        case kBGR_101010x_SkColorType:        return kRGB_SkColorChannelFlags;
28
0
        case kBGR_101010x_XR_SkColorType:     return kRGB_SkColorChannelFlags;
29
0
        case kBGRA_10101010_XR_SkColorType:   return kRGBA_SkColorChannelFlags;
30
0
        case kRGBA_10x6_SkColorType:          return kRGBA_SkColorChannelFlags;
31
0
        case kGray_8_SkColorType:             return kGray_SkColorChannelFlag;
32
0
        case kRGBA_F16Norm_SkColorType:       return kRGBA_SkColorChannelFlags;
33
0
        case kRGBA_F16_SkColorType:           return kRGBA_SkColorChannelFlags;
34
0
        case kRGBA_F32_SkColorType:           return kRGBA_SkColorChannelFlags;
35
0
        case kR8G8_unorm_SkColorType:         return kRG_SkColorChannelFlags;
36
0
        case kA16_unorm_SkColorType:          return kAlpha_SkColorChannelFlag;
37
0
        case kR16G16_unorm_SkColorType:       return kRG_SkColorChannelFlags;
38
0
        case kA16_float_SkColorType:          return kAlpha_SkColorChannelFlag;
39
0
        case kR16G16_float_SkColorType:       return kRG_SkColorChannelFlags;
40
0
        case kR16G16B16A16_unorm_SkColorType: return kRGBA_SkColorChannelFlags;
41
0
        case kSRGBA_8888_SkColorType:         return kRGBA_SkColorChannelFlags;
42
0
        case kR8_unorm_SkColorType:           return kRed_SkColorChannelFlag;
43
4.71k
    }
44
0
    SkUNREACHABLE;
45
4.71k
}
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeChannelFlags(SkColorType)
46
47
324k
static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) {
48
324k
    return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag;
49
324k
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImageInfo.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeIsAlphaOnly(SkColorType)
SkImage.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Line
Count
Source
47
37.3k
static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) {
48
37.3k
    return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag;
49
37.3k
}
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
SkImageShader.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Line
Count
Source
47
87.2k
static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) {
48
87.2k
    return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag;
49
87.2k
}
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Context.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Recorder.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
SkDraw.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Line
Count
Source
47
171k
static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) {
48
171k
    return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag;
49
171k
}
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Device.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeIsAlphaOnly(SkColorType)
SkBlitter_Sprite.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Line
Count
Source
47
23.2k
static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) {
48
23.2k
    return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag;
49
23.2k
}
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeIsAlphaOnly(SkColorType)
SkWebpEncoderImpl.cpp:SkColorTypeIsAlphaOnly(SkColorType)
Line
Count
Source
47
4.71k
static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) {
48
4.71k
    return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag;
49
4.71k
}
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeIsAlphaOnly(SkColorType)
50
51
0
static inline bool SkAlphaTypeIsValid(unsigned value) {
52
0
    return value <= kLastEnum_SkAlphaType;
53
0
}
Unexecuted instantiation: GrTest.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: ProxyUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: YUVUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: DDLTileHelper.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: DrawCommand.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmap.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkConvertPixels.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImageInfo.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmap.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkPixmap.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkRasterPipeline.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkSpecialImage.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkWriteBuffer.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Lazy.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Raster.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkSurface.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkSurface_Raster.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImageShader.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrDirectContext.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrProxyProvider.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrResourceProvider.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrTexture.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SurfaceContext.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrImageUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrVkGpu.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrVkPipelineState.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Context.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: ImageFactories.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Image_Graphite.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Recorder.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Surface_Graphite.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: TextureProxy.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: TextureUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: UploadTask.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: DataUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmapCache.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmapDevice.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkDraw.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Base.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Picture.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkPictureShader.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Device.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Device_drawTexture.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: ProxyCache.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: VulkanTexture.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: TiledTextureUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmapProcState.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: KeyHelpers.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkPDFUtils.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkSVGDevice.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkKeyedImage.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkAlphaTypeIsValid(unsigned int)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkAlphaTypeIsValid(unsigned int)
54
55
4.68M
static int SkColorTypeShiftPerPixel(SkColorType ct) {
56
4.68M
    switch (ct) {
57
0
        case kUnknown_SkColorType:            return 0;
58
670k
        case kAlpha_8_SkColorType:            return 0;
59
1.23k
        case kRGB_565_SkColorType:            return 1;
60
1.41k
        case kARGB_4444_SkColorType:          return 1;
61
441k
        case kRGBA_8888_SkColorType:          return 2;
62
539
        case kRGB_888x_SkColorType:           return 2;
63
3.47M
        case kBGRA_8888_SkColorType:          return 2;
64
470
        case kRGBA_1010102_SkColorType:       return 2;
65
408
        case kRGB_101010x_SkColorType:        return 2;
66
126
        case kBGRA_1010102_SkColorType:       return 2;
67
156
        case kBGR_101010x_SkColorType:        return 2;
68
726
        case kBGR_101010x_XR_SkColorType:     return 2;
69
791
        case kBGRA_10101010_XR_SkColorType:   return 3;
70
696
        case kRGBA_10x6_SkColorType:          return 3;
71
75.4k
        case kGray_8_SkColorType:             return 0;
72
504
        case kRGBA_F16Norm_SkColorType:       return 3;
73
5.17k
        case kRGBA_F16_SkColorType:           return 3;
74
761
        case kRGBA_F32_SkColorType:           return 4;
75
1.07k
        case kR8G8_unorm_SkColorType:         return 1;
76
495
        case kA16_unorm_SkColorType:          return 1;
77
662
        case kR16G16_unorm_SkColorType:       return 2;
78
526
        case kA16_float_SkColorType:          return 1;
79
725
        case kR16G16_float_SkColorType:       return 2;
80
567
        case kR16G16B16A16_unorm_SkColorType: return 3;
81
318
        case kSRGBA_8888_SkColorType:         return 2;
82
2.56k
        case kR8_unorm_SkColorType:           return 0;
83
4.68M
    }
84
4.68M
    SkUNREACHABLE;
85
4.68M
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeShiftPerPixel(SkColorType)
SkImageInfo.cpp:SkColorTypeShiftPerPixel(SkColorType)
Line
Count
Source
55
4.67M
static int SkColorTypeShiftPerPixel(SkColorType ct) {
56
4.67M
    switch (ct) {
57
0
        case kUnknown_SkColorType:            return 0;
58
663k
        case kAlpha_8_SkColorType:            return 0;
59
1.19k
        case kRGB_565_SkColorType:            return 1;
60
1.37k
        case kARGB_4444_SkColorType:          return 1;
61
441k
        case kRGBA_8888_SkColorType:          return 2;
62
522
        case kRGB_888x_SkColorType:           return 2;
63
3.47M
        case kBGRA_8888_SkColorType:          return 2;
64
455
        case kRGBA_1010102_SkColorType:       return 2;
65
395
        case kRGB_101010x_SkColorType:        return 2;
66
122
        case kBGRA_1010102_SkColorType:       return 2;
67
151
        case kBGR_101010x_SkColorType:        return 2;
68
703
        case kBGR_101010x_XR_SkColorType:     return 2;
69
766
        case kBGRA_10101010_XR_SkColorType:   return 3;
70
674
        case kRGBA_10x6_SkColorType:          return 3;
71
75.4k
        case kGray_8_SkColorType:             return 0;
72
488
        case kRGBA_F16Norm_SkColorType:       return 3;
73
5.16k
        case kRGBA_F16_SkColorType:           return 3;
74
761
        case kRGBA_F32_SkColorType:           return 4;
75
1.04k
        case kR8G8_unorm_SkColorType:         return 1;
76
479
        case kA16_unorm_SkColorType:          return 1;
77
641
        case kR16G16_unorm_SkColorType:       return 2;
78
509
        case kA16_float_SkColorType:          return 1;
79
702
        case kR16G16_float_SkColorType:       return 2;
80
549
        case kR16G16B16A16_unorm_SkColorType: return 3;
81
308
        case kSRGBA_8888_SkColorType:         return 2;
82
2.47k
        case kR8_unorm_SkColorType:           return 0;
83
4.67M
    }
84
0
    SkUNREACHABLE;
85
4.67M
}
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeShiftPerPixel(SkColorType)
SkPixmap.cpp:SkColorTypeShiftPerPixel(SkColorType)
Line
Count
Source
55
9.72k
static int SkColorTypeShiftPerPixel(SkColorType ct) {
56
9.72k
    switch (ct) {
57
0
        case kUnknown_SkColorType:            return 0;
58
6.11k
        case kAlpha_8_SkColorType:            return 0;
59
39
        case kRGB_565_SkColorType:            return 1;
60
45
        case kARGB_4444_SkColorType:          return 1;
61
0
        case kRGBA_8888_SkColorType:          return 2;
62
17
        case kRGB_888x_SkColorType:           return 2;
63
3.12k
        case kBGRA_8888_SkColorType:          return 2;
64
15
        case kRGBA_1010102_SkColorType:       return 2;
65
13
        case kRGB_101010x_SkColorType:        return 2;
66
4
        case kBGRA_1010102_SkColorType:       return 2;
67
5
        case kBGR_101010x_SkColorType:        return 2;
68
23
        case kBGR_101010x_XR_SkColorType:     return 2;
69
25
        case kBGRA_10101010_XR_SkColorType:   return 3;
70
22
        case kRGBA_10x6_SkColorType:          return 3;
71
19
        case kGray_8_SkColorType:             return 0;
72
16
        case kRGBA_F16Norm_SkColorType:       return 3;
73
12
        case kRGBA_F16_SkColorType:           return 3;
74
0
        case kRGBA_F32_SkColorType:           return 4;
75
34
        case kR8G8_unorm_SkColorType:         return 1;
76
16
        case kA16_unorm_SkColorType:          return 1;
77
21
        case kR16G16_unorm_SkColorType:       return 2;
78
17
        case kA16_float_SkColorType:          return 1;
79
23
        case kR16G16_float_SkColorType:       return 2;
80
18
        case kR16G16B16A16_unorm_SkColorType: return 3;
81
10
        case kSRGBA_8888_SkColorType:         return 2;
82
82
        case kR8_unorm_SkColorType:           return 0;
83
9.72k
    }
84
0
    SkUNREACHABLE;
85
9.72k
}
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImageShader.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Context.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Recorder.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkDraw.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Device.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkColorTypeShiftPerPixel(SkColorType)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeShiftPerPixel(SkColorType)
86
87
88.9k
static inline size_t SkColorTypeMinRowBytes(SkColorType ct, int width) {
88
88.9k
    return (size_t)(width * SkColorTypeBytesPerPixel(ct));
89
88.9k
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImageInfo.cpp:SkColorTypeMinRowBytes(SkColorType, int)
SkMipmap.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Line
Count
Source
87
88.9k
static inline size_t SkColorTypeMinRowBytes(SkColorType ct, int width) {
88
88.9k
    return (size_t)(width * SkColorTypeBytesPerPixel(ct));
89
88.9k
}
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImageShader.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Context.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Recorder.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkDraw.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Device.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkColorTypeMinRowBytes(SkColorType, int)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeMinRowBytes(SkColorType, int)
90
91
0
static inline bool SkColorTypeIsValid(unsigned value) {
92
0
    return value <= kLastEnum_SkColorType;
93
0
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImageInfo.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImageShader.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Context.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Recorder.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkDraw.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Device.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkColorTypeIsValid(unsigned int)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeIsValid(unsigned int)
94
95
1.31M
static inline size_t SkColorTypeComputeOffset(SkColorType ct, int x, int y, size_t rowBytes) {
96
1.31M
    if (kUnknown_SkColorType == ct) {
97
0
        return 0;
98
0
    }
99
1.31M
    return (size_t)y * rowBytes + ((size_t)x << SkColorTypeShiftPerPixel(ct));
100
1.31M
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
SkImageInfo.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Line
Count
Source
95
1.31M
static inline size_t SkColorTypeComputeOffset(SkColorType ct, int x, int y, size_t rowBytes) {
96
1.31M
    if (kUnknown_SkColorType == ct) {
97
0
        return 0;
98
0
    }
99
1.31M
    return (size_t)y * rowBytes + ((size_t)x << SkColorTypeShiftPerPixel(ct));
100
1.31M
}
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImageShader.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Context.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Recorder.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkDraw.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Device.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeComputeOffset(SkColorType, int, int, unsigned long)
101
102
625k
static inline bool SkColorTypeIsNormalized(SkColorType ct) {
103
625k
    switch (ct) {
104
0
        case kUnknown_SkColorType:
105
332
        case kAlpha_8_SkColorType:
106
332
        case kRGB_565_SkColorType:
107
332
        case kARGB_4444_SkColorType:
108
266k
        case kRGBA_8888_SkColorType:
109
266k
        case kRGB_888x_SkColorType:
110
623k
        case kBGRA_8888_SkColorType:
111
623k
        case kRGBA_1010102_SkColorType:
112
623k
        case kRGB_101010x_SkColorType:
113
623k
        case kBGRA_1010102_SkColorType:
114
623k
        case kBGR_101010x_SkColorType:
115
623k
        case kRGBA_10x6_SkColorType:
116
623k
        case kGray_8_SkColorType:
117
623k
        case kRGBA_F16Norm_SkColorType:
118
623k
        case kR8G8_unorm_SkColorType:
119
623k
        case kA16_unorm_SkColorType:
120
623k
        case kA16_float_SkColorType:          /*subtle... alpha is always [0,1]*/
121
623k
        case kR16G16_unorm_SkColorType:
122
623k
        case kR16G16B16A16_unorm_SkColorType:
123
623k
        case kSRGBA_8888_SkColorType:
124
623k
        case kR8_unorm_SkColorType:
125
623k
            return true;
126
127
0
        case kBGRA_10101010_XR_SkColorType:
128
0
        case kBGR_101010x_XR_SkColorType:
129
1.64k
        case kRGBA_F16_SkColorType:
130
1.64k
        case kRGBA_F32_SkColorType:
131
1.64k
        case kR16G16_float_SkColorType:
132
1.64k
            return false;
133
625k
    }
134
625k
    SkUNREACHABLE;
135
625k
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImageInfo.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeIsNormalized(SkColorType)
SkRasterPipeline.cpp:SkColorTypeIsNormalized(SkColorType)
Line
Count
Source
102
625k
static inline bool SkColorTypeIsNormalized(SkColorType ct) {
103
625k
    switch (ct) {
104
0
        case kUnknown_SkColorType:
105
332
        case kAlpha_8_SkColorType:
106
332
        case kRGB_565_SkColorType:
107
332
        case kARGB_4444_SkColorType:
108
266k
        case kRGBA_8888_SkColorType:
109
266k
        case kRGB_888x_SkColorType:
110
623k
        case kBGRA_8888_SkColorType:
111
623k
        case kRGBA_1010102_SkColorType:
112
623k
        case kRGB_101010x_SkColorType:
113
623k
        case kBGRA_1010102_SkColorType:
114
623k
        case kBGR_101010x_SkColorType:
115
623k
        case kRGBA_10x6_SkColorType:
116
623k
        case kGray_8_SkColorType:
117
623k
        case kRGBA_F16Norm_SkColorType:
118
623k
        case kR8G8_unorm_SkColorType:
119
623k
        case kA16_unorm_SkColorType:
120
623k
        case kA16_float_SkColorType:          /*subtle... alpha is always [0,1]*/
121
623k
        case kR16G16_unorm_SkColorType:
122
623k
        case kR16G16B16A16_unorm_SkColorType:
123
623k
        case kSRGBA_8888_SkColorType:
124
623k
        case kR8_unorm_SkColorType:
125
623k
            return true;
126
127
0
        case kBGRA_10101010_XR_SkColorType:
128
0
        case kBGR_101010x_XR_SkColorType:
129
1.64k
        case kRGBA_F16_SkColorType:
130
1.64k
        case kRGBA_F32_SkColorType:
131
1.64k
        case kR16G16_float_SkColorType:
132
1.64k
            return false;
133
625k
    }
134
0
    SkUNREACHABLE;
135
625k
}
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImageShader.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Context.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Recorder.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkDraw.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkPictureShader.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Device.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkColorTypeIsNormalized(SkColorType)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeIsNormalized(SkColorType)
136
137
3.99k
static inline int SkColorTypeMaxBitsPerChannel(SkColorType ct) {
138
3.99k
    switch (ct) {
139
0
        case kUnknown_SkColorType:
140
0
            return 0;
141
142
0
        case kARGB_4444_SkColorType:
143
0
            return 4;
144
145
0
        case kRGB_565_SkColorType:
146
0
            return 6;
147
148
0
        case kAlpha_8_SkColorType:
149
1.72k
        case kRGBA_8888_SkColorType:
150
1.72k
        case kRGB_888x_SkColorType:
151
3.99k
        case kBGRA_8888_SkColorType:
152
3.99k
        case kGray_8_SkColorType:
153
3.99k
        case kR8G8_unorm_SkColorType:
154
3.99k
        case kSRGBA_8888_SkColorType:
155
3.99k
        case kR8_unorm_SkColorType:
156
3.99k
            return 8;
157
158
0
        case kRGBA_1010102_SkColorType:
159
0
        case kRGB_101010x_SkColorType:
160
0
        case kBGRA_1010102_SkColorType:
161
0
        case kBGR_101010x_SkColorType:
162
0
        case kBGR_101010x_XR_SkColorType:
163
0
        case kBGRA_10101010_XR_SkColorType:
164
0
        case kRGBA_10x6_SkColorType:
165
0
            return 10;
166
167
0
        case kRGBA_F16Norm_SkColorType:
168
0
        case kA16_unorm_SkColorType:
169
0
        case kA16_float_SkColorType:
170
0
        case kR16G16_unorm_SkColorType:
171
0
        case kR16G16B16A16_unorm_SkColorType:
172
0
        case kRGBA_F16_SkColorType:
173
0
        case kR16G16_float_SkColorType:
174
0
            return 16;
175
176
0
        case kRGBA_F32_SkColorType:
177
0
            return 32;
178
3.99k
    }
179
3.99k
    SkUNREACHABLE;
180
3.99k
}
Unexecuted instantiation: GrTest.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: ProxyUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: YUVUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: DrawCommand.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkBitmap.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImageInfo.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkMipmap.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkPixmap.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_Raster.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkSurface.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkSurface_Raster.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImageShader.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrDirectContext.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrProxyProvider.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrResourceProvider.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrTexture.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SurfaceContext.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrImageUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrVkGpu.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Context.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: ImageFactories.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Image_Graphite.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Recorder.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: TextureProxy.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: TextureUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: UploadTask.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: DataUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkDraw.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_Base.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
SkPictureShader.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Line
Count
Source
137
3.99k
static inline int SkColorTypeMaxBitsPerChannel(SkColorType ct) {
138
3.99k
    switch (ct) {
139
0
        case kUnknown_SkColorType:
140
0
            return 0;
141
142
0
        case kARGB_4444_SkColorType:
143
0
            return 4;
144
145
0
        case kRGB_565_SkColorType:
146
0
            return 6;
147
148
0
        case kAlpha_8_SkColorType:
149
1.72k
        case kRGBA_8888_SkColorType:
150
1.72k
        case kRGB_888x_SkColorType:
151
3.99k
        case kBGRA_8888_SkColorType:
152
3.99k
        case kGray_8_SkColorType:
153
3.99k
        case kR8G8_unorm_SkColorType:
154
3.99k
        case kSRGBA_8888_SkColorType:
155
3.99k
        case kR8_unorm_SkColorType:
156
3.99k
            return 8;
157
158
0
        case kRGBA_1010102_SkColorType:
159
0
        case kRGB_101010x_SkColorType:
160
0
        case kBGRA_1010102_SkColorType:
161
0
        case kBGR_101010x_SkColorType:
162
0
        case kBGR_101010x_XR_SkColorType:
163
0
        case kBGRA_10101010_XR_SkColorType:
164
0
        case kRGBA_10x6_SkColorType:
165
0
            return 10;
166
167
0
        case kRGBA_F16Norm_SkColorType:
168
0
        case kA16_unorm_SkColorType:
169
0
        case kA16_float_SkColorType:
170
0
        case kR16G16_unorm_SkColorType:
171
0
        case kR16G16B16A16_unorm_SkColorType:
172
0
        case kRGBA_F16_SkColorType:
173
0
        case kR16G16_float_SkColorType:
174
0
            return 16;
175
176
0
        case kRGBA_F32_SkColorType:
177
0
            return 32;
178
3.99k
    }
179
0
    SkUNREACHABLE;
180
3.99k
}
Unexecuted instantiation: Device.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: ProxyCache.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: VulkanTexture.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: KeyHelpers.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkKeyedImage.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorTypeMaxBitsPerChannel(SkColorType)
181
182
/**
183
 *  Returns true if |info| contains a valid colorType and alphaType.
184
 */
185
335k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
335k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
335k
}
Unexecuted instantiation: GrTest.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: ProxyUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: YUVUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: DDLTileHelper.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: DrawCommand.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkBitmap.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkConvertPixels.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImageInfo.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkMipmap.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkColorInfoIsValid(SkColorInfo const&)
SkPixmap.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
43.4k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
43.4k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
43.4k
}
Unexecuted instantiation: SkRasterPipeline.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkSpecialImage.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkWriteBuffer.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_Lazy.cpp:SkColorInfoIsValid(SkColorInfo const&)
SkImage_Raster.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
153k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
153k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
153k
}
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkSurface.cpp:SkColorInfoIsValid(SkColorInfo const&)
SkSurface_Raster.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
64.8k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
64.8k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
64.8k
}
Unexecuted instantiation: SkTiledImageUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImageShader.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrDirectContext.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkColorInfoIsValid(SkColorInfo const&)
GrProxyProvider.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
60.0k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
60.0k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
60.0k
}
Unexecuted instantiation: GrResourceProvider.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrTexture.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SurfaceContext.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrImageUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrVkGpu.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrVkPipelineState.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Context.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: ImageFactories.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Image_Graphite.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Recorder.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Surface_Graphite.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: TextureProxy.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: TextureUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: UploadTask.cpp:SkColorInfoIsValid(SkColorInfo const&)
SkPngEncoderImpl.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
4.53k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
4.53k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
4.53k
}
Unexecuted instantiation: DataUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkBitmapCache.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkBitmapDevice.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkDraw.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_Base.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkImage_Picture.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkPictureShader.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Device.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Device_drawTexture.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: ProxyCache.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: VulkanTexture.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: TiledTextureUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkBitmapProcState.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: KeyHelpers.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkPDFUtils.cpp:SkColorInfoIsValid(SkColorInfo const&)
Unexecuted instantiation: SkSVGDevice.cpp:SkColorInfoIsValid(SkColorInfo const&)
SkJpegEncoderImpl.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
4.67k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
4.67k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
4.67k
}
Unexecuted instantiation: SkKeyedImage.cpp:SkColorInfoIsValid(SkColorInfo const&)
SkWebpEncoderImpl.cpp:SkColorInfoIsValid(SkColorInfo const&)
Line
Count
Source
185
4.71k
static inline bool SkColorInfoIsValid(const SkColorInfo& info) {
186
4.71k
    return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType;
187
4.71k
}
Unexecuted instantiation: FuzzDDLThreading.cpp:SkColorInfoIsValid(SkColorInfo const&)
188
189
/**
190
 *  Returns true if |info| contains a valid combination of width, height and colorInfo.
191
 */
192
336k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
336k
    if (info.width() <= 0 || info.height() <= 0) {
194
351
        return false;
195
351
    }
196
197
335k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
335k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
433
        return false;
200
433
    }
201
202
335k
    return SkColorInfoIsValid(info.colorInfo());
203
335k
}
Unexecuted instantiation: GrTest.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: ProxyUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: YUVUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: DDLTileHelper.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: DrawCommand.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkBitmap.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkConvertPixels.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImageInfo.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkMipmap.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkImageInfoIsValid(SkImageInfo const&)
SkPixmap.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
43.4k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
43.4k
    if (info.width() <= 0 || info.height() <= 0) {
194
0
        return false;
195
0
    }
196
197
43.4k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
43.4k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
0
        return false;
200
0
    }
201
202
43.4k
    return SkColorInfoIsValid(info.colorInfo());
203
43.4k
}
Unexecuted instantiation: SkRasterPipeline.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkSpecialImage.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkWriteBuffer.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_Lazy.cpp:SkImageInfoIsValid(SkImageInfo const&)
SkImage_Raster.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
153k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
153k
    if (info.width() <= 0 || info.height() <= 0) {
194
38
        return false;
195
38
    }
196
197
153k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
153k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
0
        return false;
200
0
    }
201
202
153k
    return SkColorInfoIsValid(info.colorInfo());
203
153k
}
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkSurface.cpp:SkImageInfoIsValid(SkImageInfo const&)
SkSurface_Raster.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
65.2k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
65.2k
    if (info.width() <= 0 || info.height() <= 0) {
194
0
        return false;
195
0
    }
196
197
65.2k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
65.2k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
433
        return false;
200
433
    }
201
202
64.8k
    return SkColorInfoIsValid(info.colorInfo());
203
65.2k
}
Unexecuted instantiation: SkTiledImageUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImageShader.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrDirectContext.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkImageInfoIsValid(SkImageInfo const&)
GrProxyProvider.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
60.0k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
60.0k
    if (info.width() <= 0 || info.height() <= 0) {
194
0
        return false;
195
0
    }
196
197
60.0k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
60.0k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
0
        return false;
200
0
    }
201
202
60.0k
    return SkColorInfoIsValid(info.colorInfo());
203
60.0k
}
Unexecuted instantiation: GrResourceProvider.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrTexture.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SurfaceContext.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrImageUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrVkGpu.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrVkPipelineState.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Context.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: ImageFactories.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Image_Graphite.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Recorder.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Surface_Graphite.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: TextureProxy.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: TextureUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: UploadTask.cpp:SkImageInfoIsValid(SkImageInfo const&)
SkPngEncoderImpl.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
4.65k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
4.65k
    if (info.width() <= 0 || info.height() <= 0) {
194
121
        return false;
195
121
    }
196
197
4.53k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
4.53k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
0
        return false;
200
0
    }
201
202
4.53k
    return SkColorInfoIsValid(info.colorInfo());
203
4.53k
}
Unexecuted instantiation: DataUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkBitmapCache.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkBitmapDevice.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkDraw.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_Base.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkImage_Picture.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkPictureShader.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Device.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Device_drawTexture.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: ProxyCache.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: VulkanTexture.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: TiledTextureUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkBitmapProcState.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: KeyHelpers.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkPDFUtils.cpp:SkImageInfoIsValid(SkImageInfo const&)
Unexecuted instantiation: SkSVGDevice.cpp:SkImageInfoIsValid(SkImageInfo const&)
SkJpegEncoderImpl.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
4.79k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
4.79k
    if (info.width() <= 0 || info.height() <= 0) {
194
122
        return false;
195
122
    }
196
197
4.67k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
4.67k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
0
        return false;
200
0
    }
201
202
4.67k
    return SkColorInfoIsValid(info.colorInfo());
203
4.67k
}
Unexecuted instantiation: SkKeyedImage.cpp:SkImageInfoIsValid(SkImageInfo const&)
SkWebpEncoderImpl.cpp:SkImageInfoIsValid(SkImageInfo const&)
Line
Count
Source
192
4.78k
static inline bool SkImageInfoIsValid(const SkImageInfo& info) {
193
4.78k
    if (info.width() <= 0 || info.height() <= 0) {
194
70
        return false;
195
70
    }
196
197
4.71k
    const int kMaxDimension = SK_MaxS32 >> 2;
198
4.71k
    if (info.width() > kMaxDimension || info.height() > kMaxDimension) {
199
0
        return false;
200
0
    }
201
202
4.71k
    return SkColorInfoIsValid(info.colorInfo());
203
4.71k
}
Unexecuted instantiation: FuzzDDLThreading.cpp:SkImageInfoIsValid(SkImageInfo const&)
204
205
/**
206
 *  Returns true if Skia has defined a pixel conversion from the |src| to the |dst|.
207
 *  Returns false otherwise.
208
 */
209
21.7k
static inline bool SkImageInfoValidConversion(const SkImageInfo& dst, const SkImageInfo& src) {
210
21.7k
    return SkImageInfoIsValid(dst) && SkImageInfoIsValid(src);
211
21.7k
}
Unexecuted instantiation: GrTest.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: ManagedBackendTexture.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: ProxyUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: YUVUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: DDLPromiseImageHelper.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: DDLTileHelper.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: DrawCommand.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkBitmap.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkConvertPixels.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImageInfo.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkMipmap.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkMipmapHQDownSampler.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
SkPixmap.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Line
Count
Source
209
21.7k
static inline bool SkImageInfoValidConversion(const SkImageInfo& dst, const SkImageInfo& src) {
210
21.7k
    return SkImageInfoIsValid(dst) && SkImageInfoIsValid(src);
211
21.7k
}
Unexecuted instantiation: SkRasterPipeline.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkSpecialImage.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkWriteBuffer.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkYUVAPixmaps.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_Lazy.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_Raster.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_RasterFactories.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkSurface.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkSurface_Raster.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkTiledImageUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImageShader.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrDirectContext.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrDirectContextPriv.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrProxyProvider.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrResourceProvider.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrTexture.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SurfaceContext.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrImageUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_Ganesh.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_GaneshBase.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_GaneshFactories.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_GaneshYUVA.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_LazyTexture.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_RasterPinnable.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkSpecialImage_Ganesh.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkSurface_Ganesh.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrVkGpu.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrVkPipelineState.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: GrVkTextureRenderTarget.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Context.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: ImageFactories.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Image_Graphite.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Image_YUVA_Graphite.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Recorder.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Surface_Graphite.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: TextureProxy.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: TextureUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: UploadTask.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkPngEncoderImpl.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: DataUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkBitmapCache.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkBitmapDevice.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkCompressedDataUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkDraw.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkMipmapAccessor.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkMipmapBuilder.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_Base.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkImage_Picture.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkPictureShader.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Device.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Device_drawTexture.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: Image_Base_Graphite.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: ProxyCache.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SpecialImage_Graphite.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: VulkanTexture.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: TiledTextureUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkBitmapProcState.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkBlitter_Sprite.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: KeyHelpers.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkPDFUtils.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkSVGDevice.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkJpegEncoderImpl.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkKeyedImage.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: SkWebpEncoderImpl.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
Unexecuted instantiation: FuzzDDLThreading.cpp:SkImageInfoValidConversion(SkImageInfo const&, SkImageInfo const&)
212
#endif  // SkImageInfoPriv_DEFINED