Go to the source code of this file.
◆ 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}
@ 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
◆ 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