Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
8246194: Performance of Mix.Balls decreases when Rendering Quality op…
- Loading branch information
|
@@ -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; |
|
|
} |
|
|
} |
|
|