GM is passing the wrong flag to beginRecording() for --rtree.
BUG= R=epoger@google.com, reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/50713004 git-svn-id: http://skia.googlecode.com/svn/trunk@12011 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
4cc7518d9b
commit
af94d9a82e
@ -1724,7 +1724,7 @@ ErrorCombination run_multiple_modes(GMMain &gmmain, GM *gm, const ConfigData &co
|
|||||||
errorsForAllModes.add(kIntentionallySkipped_ErrorType);
|
errorsForAllModes.add(kIntentionallySkipped_ErrorType);
|
||||||
} else {
|
} else {
|
||||||
SkPicture* pict = gmmain.generate_new_picture(
|
SkPicture* pict = gmmain.generate_new_picture(
|
||||||
gm, kRTree_BbhType, SkPicture::kUsePathBoundsForClip_RecordingFlag);
|
gm, kRTree_BbhType, SkPicture::kOptimizeForClippedPlayback_RecordingFlag);
|
||||||
SkAutoUnref aur(pict);
|
SkAutoUnref aur(pict);
|
||||||
SkBitmap bitmap;
|
SkBitmap bitmap;
|
||||||
gmmain.generate_image_from_picture(gm, compareConfig, pict, &bitmap);
|
gmmain.generate_image_from_picture(gm, compareConfig, pict, &bitmap);
|
||||||
|
Loading…
Reference in New Issue
Block a user