Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 4af6e07

Browse files
committedSep 23, 2020
8246194: Performance of Mix.Balls decreases when Rendering Quality option is Selected
1 parent b2d67d1 commit 4af6e07

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
 

‎src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLClip.m

-5
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ - (void)beginShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
170170
destinationOrigin:origin];
171171
[blitEncoder endEncoding];
172172
[commandBuf commit];
173-
[commandBuf waitUntilCompleted];
174173

175174
[buff release];
176175
}
@@ -194,7 +193,6 @@ - (void)endShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
194193
}];
195194

196195
[commandBuffer commit];
197-
[commandBuffer waitUntilCompleted];
198196

199197
// Now the stencil data is ready, this needs to be used while rendering further
200198
@autoreleasepool {
@@ -219,7 +217,6 @@ - (void)endShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
219217
destinationBytesPerImage:size];
220218
[blitEncoder endEncoding];
221219
[cb commit];
222-
[cb waitUntilCompleted];
223220
}
224221
}
225222

@@ -318,7 +315,6 @@ - (NSString *)getDescription __unused {
318315
destinationOrigin:MTLOriginMake(0, 0, 0)];
319316
[blitEncoder endEncoding];
320317
[cb commit];
321-
[cb waitUntilCompleted];
322318
_clipReady = YES;
323319
}
324320
}
@@ -374,7 +370,6 @@ - (NSString *)getDescription __unused {
374370
[blitEncoder endEncoding];
375371

376372
[cb commit];
377-
[cb waitUntilCompleted];
378373
_aaClipReady = YES;
379374
}
380375
}

0 commit comments

Comments
 (0)