Painter: PAINTER_TIMING in CharacterOp

git-svn-id: svn://ultimatepp.org/upp/trunk@801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-01-24 18:49:11 +00:00
parent fb55c7f444
commit 736018f192
2 changed files with 2 additions and 1 deletions

View file

@ -95,6 +95,7 @@ struct sMakeCharOutline : LRUCache<String, FontChar>::Maker {
void Painter::CharacterOp(double x, double y, int ch, Font fnt) void Painter::CharacterOp(double x, double y, int ch, Font fnt)
{ {
PAINTER_TIMING("CharacterOp");
String s; String s;
INTERLOCKED { INTERLOCKED {
static LRUCache<String, FontChar> cache; static LRUCache<String, FontChar> cache;

View file

@ -3,7 +3,7 @@
#include <Draw/Draw.h> #include <Draw/Draw.h>
#define PAINTER_TIMING(x) // RTIMING(x) #define PAINTER_TIMING(x) RTIMING(x)
#define AGGUPP 1 #define AGGUPP 1