diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-30 13:20:45 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-30 13:20:45 +0000 |
commit | a90c6803865766d28e92091f56f718f5e41fe80f (patch) | |
tree | 5fc529e998c6252828ee60de9ac9b8263db2e3b5 /dm/DMTileGridTask.h | |
parent | b53dd6cb4edb2523c064d52a25a026256a6ef403 (diff) |
Turn on quilt mode in DM.
- Rename TileGrid -> Quilt to avoid the name overload.
- Tag all failing GMs with kSkipTiled_Flag.
You may be wondering, do any GMs pass? Yes, some do! And that trends towards all of them as we increase --quiltTile.
Two GMs only fail in --quilt mode in 565. Otherwise all GMs which fail are skipped, and those which don't fail aren't. (The 8888 variants of those two GMs are skipped even though they pass.)
BUG=skia:2477
R=reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/256373002
git-svn-id: http://skia.googlecode.com/svn/trunk@14457 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'dm/DMTileGridTask.h')
-rw-r--r-- | dm/DMTileGridTask.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dm/DMTileGridTask.h b/dm/DMTileGridTask.h deleted file mode 100644 index 911a1c52a1..0000000000 --- a/dm/DMTileGridTask.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef DMTileGridTask_DEFINED -#define DMTileGridTask_DEFINED - -#include "DMTask.h" -#include "SkBitmap.h" -#include "SkString.h" -#include "SkTemplates.h" -#include "gm.h" - -// Records a GM through an SkPicture, draws it in tiles, and compares against the reference bitmap. - -namespace DM { - -class TileGridTask : public CpuTask { - -public: - TileGridTask(const Task& parent, // TileGridTask must be a child task. Pass its parent here. - skiagm::GM*, // GM to run through a picture. Takes ownership. - SkBitmap reference, // Bitmap to compare picture replay results to. - SkISize tileSize); // Tile size to use. - - virtual void draw() SK_OVERRIDE; - virtual bool shouldSkip() const SK_OVERRIDE; - virtual SkString name() const SK_OVERRIDE { return fName; } - -private: - const SkString fName; - SkAutoTDelete<skiagm::GM> fGM; - const SkBitmap fReference; - const SkISize fTileSize; -}; - -} // namespace DM - -#endif // DMReplayTask_DEFINED |