Ignore:
Timestamp:
Nov 10, 2009, 1:49:03 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Use manual image flipping (from Qt to PM) instead of setting the world transformation matrix. Added a simple pixel/ms counter for measurements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r307 r308  
    390390        displayPS = 0;
    391391    }
     392
     393#ifdef QT_LOG_BLITSPEED
     394    extern unsigned long long qt_total_blit_ms;
     395    extern unsigned long long qt_total_blit_pixels;
     396    printf("*** qt_total_blit_ms %llu\n"
     397           "*** qt_total_blit_pixels %llu\n"
     398           "*** speed %llu pixels/ms",
     399           qt_total_blit_ms, qt_total_blit_pixels,
     400           qt_total_blit_pixels / qt_total_blit_ms);
     401#endif
    392402}
    393403
Note: See TracChangeset for help on using the changeset viewer.