Added some debug output to PicturePlayer. Since checking the table size for every op is very slow, now we do that only at the beginning, and use a custom op table if needed. The best case (which is the one used when drawing a picture with BView::DrawPicture()) is very fast since it only requires one check.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21972 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2007-08-16 09:14:03 +00:00
parent 066a557444
commit 46b4e48998
4 changed files with 210 additions and 141 deletions
@@ -53,5 +53,9 @@ enum {
B_PIC_SET_FONT_FACE = 0x0389,
};
const static uint32 kOpsTableSize = 48;
#endif