This  passing of rendering context is a temporary mechanism to get Mac working. We need to find a better solution to support es2n on Mac. The following files need to be fixed:
ES2NContext.java, GLFactory.java and MacGLFactory.java
// 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
ES2NContext.java, GLFactory.java and MacGLFactory.java
// 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
- is blocked by
- 
                    JDK-8098102 Glass should not be the owner of graphics context (Glass client should be the owner) -           
- Closed
 
-         
- 
                    JDK-8101513 CLONE - Glass should not be the owner of graphics context (Glass client should be the owner) -           
- Closed
 
-         
- relates to
- 
                    JDK-8097794 Mac Glass: use Prism for managing FBO -           
- Closed
 
-         
- 
                    JDK-8096813 [Mac] Glass shouldn't use Prism's context for creating or destroying native rendering resources -           
- Resolved
 
-         
- 
                    JDK-8097811 Move Mac specific implementation (support CALayer) out of platform independent code path -           
- Resolved
 
-