This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
impeller/renderer/backend/metal Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 88
99namespace impeller {
1010namespace {
11+
12+ // NOLINTBEGIN(readability-identifier-naming)
13+
1114// TODO(dnfield): remove this declaration when we no longer need to build on
1215// machines with lower SDK versions than 11.0.
1316#if !defined(MAC_OS_VERSION_11_0) || \
@@ -21,6 +24,8 @@ typedef NS_ENUM(NSInteger, MTLCommandEncoderErrorState) {
2124} API_AVAILABLE(macos(11.0 ), ios(14.0 ));
2225#endif
2326
27+ // NOLINTEND(readability-identifier-naming)
28+
2429API_AVAILABLE (ios(14.0 ), macos(11.0 ))
2530NSString * MTLCommandEncoderErrorStateToString (
2631 MTLCommandEncoderErrorState state) {
@@ -39,6 +44,8 @@ typedef NS_ENUM(NSInteger, MTLCommandEncoderErrorState) {
3944 return @" unknown" ;
4045}
4146
47+ // NOLINTBEGIN(readability-identifier-naming)
48+
4249// TODO(dnfield): This can be removed when all bots have been sufficiently
4350// upgraded for MAC_OS_VERSION_12_0.
4451#if !defined(MAC_OS_VERSION_12_0) || \
@@ -47,6 +54,8 @@ typedef NS_ENUM(NSInteger, MTLCommandEncoderErrorState) {
4754constexpr int MTLCommandBufferErrorStackOverflow = 12 ;
4855#endif
4956
57+ // NOLINTEND(readability-identifier-naming)
58+
5059static NSString * MTLCommandBufferErrorToString (MTLCommandBufferError code) {
5160 switch (code) {
5261 case MTLCommandBufferErrorNone :
You can’t perform that action at this time.
0 commit comments