This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 3 files changed +17
-0
lines changed
3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ config("impeller_public_config") {
13
13
defines += [ " IMPELLER_SUPPORTS_PLATFORM=1" ]
14
14
}
15
15
16
+ if (impeller_supports_rendering ) {
17
+ defines += [ " IMPELLER_SUPPORTS_RENDERING=1" ]
18
+ }
19
+
16
20
if (is_win ) {
17
21
defines += [ " _USE_MATH_DEFINES" ]
18
22
}
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ impeller_component("entity_unittests") {
87
87
88
88
deps = [
89
89
" :entity" ,
90
+ " ../geometry:geometry_unittests" ,
90
91
" ../playground" ,
91
92
]
92
93
}
Original file line number Diff line number Diff line change 53
53
return CommandBufferMTL::Status::kError ;
54
54
}
55
55
56
+ // TODO(dnfield): remove this declaration when we no longer need to build on
57
+ // machines with lower SDK versions than 11.0.s
58
+ #if !defined(MAC_OS_X_VERSION_11_0) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_11_0
59
+ typedef enum MTLCommandEncoderErrorState : NSInteger {
60
+ MTLCommandEncoderErrorStateUnknown = 0 ,
61
+ MTLCommandEncoderErrorStateCompleted = 1 ,
62
+ MTLCommandEncoderErrorStateAffected = 2 ,
63
+ MTLCommandEncoderErrorStatePending = 3 ,
64
+ MTLCommandEncoderErrorStateFaulted = 4 ,
65
+ } API_AVAILABLE(macos(11.0 ), ios(14.0 ));
66
+ #endif
67
+
56
68
API_AVAILABLE (ios(14.0 ), macos(11.0 ))
57
69
NSString * MTLCommandEncoderErrorStateToString (
58
70
MTLCommandEncoderErrorState state) {
You can’t perform that action at this time.
0 commit comments