8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test
authorjchen
Wed, 16 Oct 2013 14:00:05 -0700
changeset 21229 dfcbcf500680
parent 21228 53476a342542
child 21230 895c9e490351
8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test Reviewed-by: prr, vadim, serb
jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c
--- a/jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c	Wed Oct 16 17:13:15 2013 +0400
+++ b/jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c	Wed Oct 16 14:00:05 2013 -0700
@@ -661,7 +661,12 @@
                             (sy2-sy1) != (jint)(dy2-dy1) ||
                             oglc->extraAlpha != 1.0f;
                         break;
-
+#ifdef MACOSX
+                    case OGLC_VENDOR_ATI:
+                        // see 8024461
+                        viaTexture = JNI_TRUE;
+                        break;
+#endif
                     default:
                         // just use the glDrawPixels() codepath
                         viaTexture = JNI_FALSE;