Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261707

Swing test fails in CopyArea with Metal API validation

XMLWordPrintable

    • 2d
    • generic
    • os_x

      javax/swing/JTree/8003400/Test8003400.java fails if we run it with MetalAPI validation.

      jtreg trace logs :
      [I] MTLClip.setClipRect: x=1 y=23 w=182 h=60
      [V] MTLRenderQueue_flushBuffer: opcode=56, rem=752
      [I] MTLContext_SetAlphaComposite: rule=2, extraAlpha=1.00, flags=1
      [V] MTLRenderQueue_flushBuffer: opcode=100, rem=736
      [V] MTLRenderQueue_CheckPreviousOp: new op=3
      [I] MTLContext.resetPaint
      [V] MTLRenderQueue_flushBuffer: opcode=30, rem=732
      [V] MTLRenderQueue_CheckPreviousOp: new op=7
      [V] MTLBlitLoops_CopyArea: bdst=0x7fdf8679c6e0 [tex=0x7fdf8679cf70] 200x100 | src (1, 43), 182x40 -> dst (0, -20)
      ----------System.err:(21/1859)----------
      2021-02-14 07:16:51.431 java[79199:447716] Metal API Validation Enabled
      2021-02-14 07:16:51.935 system_profiler[79201:447795] Metal API Validation Enabled
      2021-02-14 07:16:52.756 java[79199:447806] name is : .SFNS-Regular
      2021-02-14 07:16:52.757 java[79199:447806] family is : .AppleSystemUIFont
      2021-02-14 07:16:52.757 java[79199:447806] name is : .SFNS-Bold
      2021-02-14 07:16:52.757 java[79199:447806] family is : .AppleSystemUIFont
      2021-02-14 07:16:53.163 java[79199:447806] nsFont-name is : .AppleSystemUIFont
      2021-02-14 07:16:53.163 java[79199:447806] nsFont-family is : .AppleSystemUIFont
      2021-02-14 07:16:53.163 java[79199:447806] nsFont-desc-name is : .SFNS-Regular
      2021-02-14 07:16:53.164 java[79199:447806] nsFont-name is : .AppleSystemUIFont
      2021-02-14 07:16:53.164 java[79199:447806] nsFont-family is : .AppleSystemUIFontBold
      2021-02-14 07:16:53.164 java[79199:447806] nsFont-desc-name is : .SFNS-Bold
      2021-02-14 07:16:53.176 java[79199:447806] nsFont-name is : .AppleSystemUIFont
      2021-02-14 07:16:53.176 java[79199:447806] nsFont-family is : .AppleSystemUIFont
      2021-02-14 07:16:53.176 java[79199:447806] nsFont-desc-name is : .SFNS-Regular
      2021-02-14 07:16:53.191 java[79199:447806] nsFont-name is : .AppleSystemUIFont
      2021-02-14 07:16:53.191 java[79199:447806] nsFont-family is : .AppleSystemUIFontBold
      2021-02-14 07:16:53.191 java[79199:447806] nsFont-desc-name is : .SFNS-Bold
      2021-02-14 07:16:53.442 java[79199:447716] became key: 0 Test JTree with a large model (null)
      2021-02-14 07:16:53.444 java[79199:447716] became main: 1 Test JTree with a large model (null) 1
      -[MTLDebugBlitCommandEncoder validateCopyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:]:921: failed assertion `(sourceOrigin.y + sourceSize.height)(223) must be <= height(100).'

            jdv Jayathirth D V
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: