8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1
Reviewed-by: serb
This commit is contained in:
parent
f1f2afda5a
commit
3bf4c904fb
src/java.desktop/macosx/native/libawt_lwawt/java2d/metal
test/jdk/java/awt/image/DrawImage
@ -310,6 +310,7 @@ static void initTemplatePipelineDescriptors() {
|
||||
clearPassDescriptor.stencilAttachment.texture = _stencilTextureRef;
|
||||
clearPassDescriptor.stencilAttachment.clearStencil = 0;
|
||||
clearPassDescriptor.stencilAttachment.loadAction = MTLLoadActionClear;
|
||||
clearPassDescriptor.stencilAttachment.storeAction = MTLStoreActionStore;
|
||||
|
||||
id<MTLCommandBuffer> commandBuf = [_mtlc createCommandBuffer];
|
||||
id <MTLRenderCommandEncoder> clearEncoder = [commandBuf renderCommandEncoderWithDescriptor:clearPassDescriptor];
|
||||
|
@ -45,7 +45,7 @@ import static java.awt.image.BufferedImage.TYPE_INT_ARGB;
|
||||
/**
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8059942
|
||||
* @bug 8059942 8264317
|
||||
* @summary Tests rotated clip when unmanaged image is drawn to VI.
|
||||
* Results of the blit to compatibleImage are used for comparison.
|
||||
* @run main/othervm -Dsun.java2d.uiScale=1 IncorrectUnmanagedImageRotatedClip
|
||||
|
Loading…
x
Reference in New Issue
Block a user