JRE-526: IDE is unusably slow when using a 4K display on OS X

Do not reduce reported max texture size
diff --git a/src/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java b/src/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java
index 89911b8..eda6742 100644
--- a/src/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java
+++ b/src/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java
@@ -163,10 +163,13 @@
                         kOpenGLSwapInterval);
                 if (cfginfo != 0L) {
                     textureSize = nativeGetMaxTextureSize();
-                    // 7160609: GL still fails to create a square texture of this
-                    // size. Half should be safe enough.
-                    // Explicitly not support a texture more than 2^14, see 8010999.
-                    textureSize = textureSize <= 16384 ? textureSize / 2 : 8192;
+                    // Looks like it is outdated info, moreover on OSX in 4K resolution
+                    // reducing max size of the texture leads to performance degradation
+                    // in scrolling
+                    // // 7160609: GL still fails to create a square texture of this
+                    // // size. Half should be safe enough.
+                    // // Explicitly not support a texture more than 2^14, see 8010999.
+                    // // textureSize = textureSize <= 16384 ? textureSize / 2 : 8192;
                     OGLContext.setScratchSurface(cfginfo);
                     rq.flushAndInvokeNow(() -> ids[0] = OGLContext.getOGLIdString());
                 }