Go to the source code of this file.
|
enum | GrIntelGpuFamily {
kUnknown_IntelGpuFamily
, kSandyBridge_IntelGpuFamily
, kIvyBridge_IntelGpuFamily
, kValleyView_IntelGpuFamily
,
kHaswell_IntelGpuFamily
, kCherryView_IntelGpuFamily
, kBroadwell_IntelGpuFamily
, kApolloLake_IntelGpuFamily
,
kSkyLake_IntelGpuFamily
, kGeminiLake_IntelGpuFamily
, kKabyLake_IntelGpuFamily
, kCoffeeLake_IntelGpuFamily
,
kIceLake_IntelGpuFamily
} |
|
◆ GrIntelGpuFamily
Enumerator |
---|
kUnknown_IntelGpuFamily | |
kSandyBridge_IntelGpuFamily | |
kIvyBridge_IntelGpuFamily | |
kValleyView_IntelGpuFamily | |
kHaswell_IntelGpuFamily | |
kCherryView_IntelGpuFamily | |
kBroadwell_IntelGpuFamily | |
kApolloLake_IntelGpuFamily | |
kSkyLake_IntelGpuFamily | |
kGeminiLake_IntelGpuFamily | |
kKabyLake_IntelGpuFamily | |
kCoffeeLake_IntelGpuFamily | |
kIceLake_IntelGpuFamily | |
Definition at line 18 of file GrUtil.h.
18 {
20
21
23
24
28
29
32
33
39
40
42};
@ kSkyLake_IntelGpuFamily
@ kApolloLake_IntelGpuFamily
@ kBroadwell_IntelGpuFamily
@ kGeminiLake_IntelGpuFamily
@ kUnknown_IntelGpuFamily
@ kKabyLake_IntelGpuFamily
@ kCoffeeLake_IntelGpuFamily
@ kValleyView_IntelGpuFamily
@ kHaswell_IntelGpuFamily
@ kIceLake_IntelGpuFamily
@ kSandyBridge_IntelGpuFamily
@ kCherryView_IntelGpuFamily
@ kIvyBridge_IntelGpuFamily
◆ GrGetIntelGpuFamily()
Definition at line 13 of file GrUtil.cpp.
13 {
14
15 uint32_t maskedID = deviceID & 0xFF00;
16 switch (maskedID) {
17 case 0x0100:
18 switch (deviceID & 0xFFF0) {
19 case 0x0100:
20 case 0x0110:
21 case 0x0120:
23 case 0x0150:
24 if (deviceID == 0x0155 || deviceID == 0x0157) {
26 }
27 if (deviceID == 0x0152 || deviceID == 0x015A) {
29 }
30 break;
31 case 0x0160:
33 default:
34 break;
35 }
36 break;
37 case 0x0F00:
39 case 0x0400:
40 case 0x0A00:
41 case 0x0D00:
43 case 0x2200:
45 case 0x1600:
47 case 0x5A00:
49 case 0x1900:
51 case 0x3100:
53 case 0x5900:
55 case 0x3E00:
57 case 0x8A00:
59 default:
60 break;
61 }
63}
◆ GrIsStrokeHairlineOrEquivalent()
Definition at line 65 of file GrUtil.cpp.
67 {
69 return false;
70 }
72 if (
stroke.isHairlineStyle()) {
73 if (outCoverage) {
75 }
76 return true;
77 }
80}
bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix &matrix, SkScalar *coverage)
SkPathEffect * pathEffect() const
const SkStrokeRec & strokeRec() const
unsigned useCenter Optional< SkMatrix > matrix
◆ SkSLCombinedSamplerTypeForTextureType()
Definition at line 50 of file GrUtil.h.
50 {
58 default:
60 }
61}
#define SK_ABORT(message,...)
@ kTextureExternalSampler