This repository was archived by the owner on Aug 27, 2022. It is now read-only.
File tree 1 file changed +0
-5
lines changed
src/java.desktop/macosx/native/libawt_lwawt/java2d/metal
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,6 @@ - (void)beginShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
170
170
destinationOrigin: origin];
171
171
[blitEncoder endEncoding ];
172
172
[commandBuf commit ];
173
- [commandBuf waitUntilCompleted ];
174
173
175
174
[buff release ];
176
175
}
@@ -194,7 +193,6 @@ - (void)endShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
194
193
}];
195
194
196
195
[commandBuffer commit ];
197
- [commandBuffer waitUntilCompleted ];
198
196
199
197
// Now the stencil data is ready, this needs to be used while rendering further
200
198
@autoreleasepool {
@@ -219,7 +217,6 @@ - (void)endShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
219
217
destinationBytesPerImage: size];
220
218
[blitEncoder endEncoding ];
221
219
[cb commit ];
222
- [cb waitUntilCompleted ];
223
220
}
224
221
}
225
222
@@ -318,7 +315,6 @@ - (NSString *)getDescription __unused {
318
315
destinationOrigin: MTLOriginMake (0 , 0 , 0 )];
319
316
[blitEncoder endEncoding ];
320
317
[cb commit ];
321
- [cb waitUntilCompleted ];
322
318
_clipReady = YES ;
323
319
}
324
320
}
@@ -374,7 +370,6 @@ - (NSString *)getDescription __unused {
374
370
[blitEncoder endEncoding ];
375
371
376
372
[cb commit ];
377
- [cb waitUntilCompleted ];
378
373
_aaClipReady = YES ;
379
374
}
380
375
}
You can’t perform that action at this time.
0 commit comments