Mercurial > hg > release > icedtea7-forest-2.5 > jdk
changeset 7211:dd60bcc30d64
8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test
Reviewed-by: prr, vadim, serb
author | jchen |
---|---|
date | Wed, 16 Oct 2013 15:16:21 -0700 |
parents | 5c20ac773584 |
children | ac44ec0de12a |
files | src/share/native/sun/java2d/opengl/OGLBlitLoops.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/native/sun/java2d/opengl/OGLBlitLoops.c Wed Oct 16 20:12:52 2013 -0700 +++ b/src/share/native/sun/java2d/opengl/OGLBlitLoops.c Wed Oct 16 15:16:21 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;