[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] [15] Review Request: 8238075 [OGL] Delete unused properties
From:       Sergey Bylokhov <Sergey.Bylokhov () oracle ! com>
Date:       2020-01-29 4:15:00
Message-ID: 19076fe4-7414-6aac-e112-a4d9d3799136 () oracle ! com
[Download RAW message or body]

Hello.
Please review the small cleanup for JDK 15.

Bug: https://bugs.openjdk.java.net/browse/JDK-8238075
Fix: http://cr.openjdk.java.net/~serb/8238075/webrev.00

The OGL pipeline on macOS still used some properties:
  - CGLGraphicsConfig#kOpenGLSwapInterval is not useful since we moved to the CALayer
  - CGLGraphicsConfig#pixfmt never used
  - Initialization of CGLGraphicsConfig does not depend on displayID after JDK-8223158[1]

Also I simplified the native initialization logic of CGLGraphicsConfig.
Previously we create an array of parameters and passed them to the selector, also we
return result via the same array, in the fix selector was replaced by the simple "block"
passed to "ThreadUtilities performOnMainThreadWaiting"

[1] https://bugs.openjdk.java.net/browse/JDK-8223158

-- 
Best regards, Sergey.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic