While working on JDK-8246194 i noticed that we create MTLBuffer(StencilBuffer) everytime we start shape clip in MTLClip_begin_shape_clip.
We can optimise to reuse the MTLBuffer when there is no size change.
We can optimise to reuse the MTLBuffer when there is no size change.
- relates to
- 
                    JDK-8246194 Performance of Mix.Balls decreases when Rendering Quality option is Selected -           
- Resolved
 
-         
- 
                    JDK-8258257 Lanai: optimize stencil texture clear code -           
- Resolved
 
-