We can safely (and should) move the following platform specific code out of ES2Context and GLFactory:
// JIRA:RT-21739
// TODO: This is a temporary mechanism to work well with Glass on Mac due
// to the CALayer work. Need to be removed in the early future for 3.0
if (PlatformUtil.isMac() || PlatformUtil.isIOS()) {
HashMap devDetails = (HashMap) ES2Pipeline.getInstance().getDeviceDetails();
ES2Pipeline.glFactory.updateDeviceDetails(devDetails, glContext);
// JIRA:
// TODO: This is a temporary mechanism to work well with Glass on Mac due
// to the CALayer work. Need to be removed in the early future for 3.0
if (PlatformUtil.isMac() || PlatformUtil.isIOS()) {
HashMap devDetails = (HashMap) ES2Pipeline.getInstance().getDeviceDetails();
ES2Pipeline.glFactory.updateDeviceDetails(devDetails, glContext);
- relates to
-
JDK-8098031 Eliminate the need to pass Glass the rendering context to get multi-stage rendering to work on Mac
-
- Closed
-