jdk/src/java.desktop/windows/native/libawt/java2d/windows/GDIWindowSurfaceData.cpp
equal
deleted
inserted
replaced
75 if (info == NULL) { |
75 if (info == NULL) { |
76 info = new ThreadGraphicsInfo; |
76 info = new ThreadGraphicsInfo; |
77 ZeroMemory(info, sizeof(ThreadGraphicsInfo)); |
77 ZeroMemory(info, sizeof(ThreadGraphicsInfo)); |
78 TlsSetValue(threadInfoIndex, (LPVOID)info); |
78 TlsSetValue(threadInfoIndex, (LPVOID)info); |
79 J2dTraceLn2(J2D_TRACE_VERBOSE, |
79 J2dTraceLn2(J2D_TRACE_VERBOSE, |
80 " current batch limit for for thread 0x%x is %d", |
80 " current batch limit for thread 0x%x is %d", |
81 GetCurrentThreadId(), ::GdiGetBatchLimit()); |
81 GetCurrentThreadId(), ::GdiGetBatchLimit()); |
82 J2dTraceLn(J2D_TRACE_VERBOSE, " setting to the limit to 1"); |
82 J2dTraceLn(J2D_TRACE_VERBOSE, " setting to the limit to 1"); |
83 // Fix for bug 4374079 |
83 // Fix for bug 4374079 |
84 ::GdiSetBatchLimit(1); |
84 ::GdiSetBatchLimit(1); |
85 |
85 |