Skip to content
Permalink
Browse files

8246194: Performance of Mix.Balls decreases when Rendering Quality op…

…tion is Selected
  • Loading branch information
jayathirthrao committed Sep 23, 2020
1 parent b2d67d1 commit 4af6e072fff66d00198bd253eb086259cfabd1ad
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLClip.m
@@ -170,7 +170,6 @@ - (void)beginShapeClip:(BMTLSDOps *)dstOps context:(MTLContext *)mtlc {
destinationOrigin:origin];
[blitEncoder endEncoding];
[commandBuf commit];
[commandBuf waitUntilCompleted];

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

[commandBuffer commit];
[commandBuffer waitUntilCompleted];

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

@@ -318,7 +315,6 @@ - (NSString *)getDescription __unused {
destinationOrigin:MTLOriginMake(0, 0, 0)];
[blitEncoder endEncoding];
[cb commit];
[cb waitUntilCompleted];
_clipReady = YES;
}
}
@@ -374,7 +370,6 @@ - (NSString *)getDescription __unused {
[blitEncoder endEncoding];

[cb commit];
[cb waitUntilCompleted];
_aaClipReady = YES;
}
}

0 comments on commit 4af6e07

Please sign in to comment.