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:
@@ -53,5 +53,9 @@ enum {
|
||||
B_PIC_SET_FONT_FACE = 0x0389,
|
||||
};
|
||||
|
||||
|
||||
const static uint32 kOpsTableSize = 48;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user