jdk/src/java.desktop/windows/native/libawt/java2d/windows/GDIWindowSurfaceData.cpp
changeset 28059 e576535359cc
parent 26751 70bac69b37c9
child 33508 75a3d3923c24
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
    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