moz-skia/dm
commit-bot@chromium.org 5aacfe9ffc Remove setLocalMatrix calls from picture shader GM.
This makes all --skr tests pass for me.  Enabling it by default in DM.

BUG=skia:2378

Committed: http://code.google.com/p/skia/source/detail?r=14549

R=reed@google.com, mtklein@google.com, fmalita@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/260863007

git-svn-id: http://skia.googlecode.com/svn/trunk@14551 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-02 21:23:52 +00:00
..
DM.cpp Fix type in DM/mesa 2014-05-02 14:43:12 +00:00
DMBenchTask.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
DMBenchTask.h
DMCpuGMTask.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
DMCpuGMTask.h
DMExpectations.h
DMExpectationsTask.cpp
DMExpectationsTask.h
DMGpuGMTask.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
DMGpuGMTask.h
DMGpuSupport.h
DMPipeTask.cpp
DMPipeTask.h
DMQuiltTask.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
DMQuiltTask.h Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
DMRecordTask.cpp Remove setLocalMatrix calls from picture shader GM. 2014-05-02 21:23:52 +00:00
DMRecordTask.h
DMReplayTask.cpp DM's rtree picture replay mode can ignore kSkippedTiled_Flag safely. 2014-04-29 16:44:00 +00:00
DMReplayTask.h
DMReporter.cpp
DMReporter.h
DMSerializeTask.cpp split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
DMSerializeTask.h
DMTask.cpp DM: Push GPU-parent child tasks to the front of the queue. 2014-05-01 17:41:32 +00:00
DMTask.h DM: Push GPU-parent child tasks to the front of the queue. 2014-05-01 17:41:32 +00:00
DMTaskRunner.cpp DM: Push GPU-parent child tasks to the front of the queue. 2014-05-01 17:41:32 +00:00
DMTaskRunner.h DM: Push GPU-parent child tasks to the front of the queue. 2014-05-01 17:41:32 +00:00
DMTestTask.cpp DM: when 32-bit, disable pathops internal threading by default 2014-04-30 14:56:29 +00:00
DMTestTask.h
DMUtil.cpp Staging for cleanup of SkPicture-related headers 2014-04-18 18:04:41 +00:00
DMUtil.h Staged removal of SkPicture-derived classes 2014-04-17 23:35:06 +00:00
DMWriteTask.cpp Remove offset to SkMallocPixelRef::NewWithData - use SkData::NewSubset instead. 2014-04-21 21:08:14 +00:00
DMWriteTask.h
README

README

DM is like GM, but multithreaded.  It doesn't do everything GM does yet.

Current approximate list of missing features:
  --config pdf
  --mismatchPath
  --missingExpectationsPath
  --writePicturePath

  --deferred


DM's design is based around Tasks and a TaskRunner.

A Task represents an independent unit of work that might fail.  We make a task
for each GM/configuration pair we want to run.  Tasks can kick off new tasks
themselves.  For example, a CpuTask can kick off a ReplayTask to make sure
recording and playing back an SkPicture gives the same result as direct
rendering.

The TaskRunner runs all tasks on one of two threadpools, whose sizes are
configurable by --cpuThreads and --gpuThreads.  Ideally we'd run these on a
single threadpool but it can swamp the GPU if we shove too much work into it at
once.  --cpuThreads defaults to the number of cores on the machine.
--gpuThreads defaults to 1, but you may find 2 or 4 runs a little faster.

So the main flow of DM is:

    for each GM:
        for each configuration:
            kick off a new task
    < tasks run, maybe fail, and maybe kick off new tasks >
    wait for all tasks to finish
    report failures