> Final blit operation in MTLLayer.blitTexture() is driven by CVDisplayLink in 
> Metal.
> In this test case we are hitting an invalid condition because of which we 
> exit from MTLLayer.blitTexture(), but we are not stopping the CVDisplayLink. 
> This is causing the CVDisplayLink callback to run in loop. Fix is to stop 
> CVDisplayLink when we return without completing final blit operation in 
> MTLLayer.blitTexture().
> 
> Sanity and performance analysis is green. More details in JBS.

Jayathirth D V has updated the pull request incrementally with one additional 
commit since the last revision:

  Remove stopDisplayLink call when nextDrawableCount is not zero

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk17/pull/175/files
  - new: https://git.openjdk.java.net/jdk17/pull/175/files/5b5914ab..cca4c900

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=175&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=175&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/175.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/175/head:pull/175

PR: https://git.openjdk.java.net/jdk17/pull/175

Reply via email to