Home | History | Annotate | only in /external/chromium_org/third_party/skia/dm
Up to higher level directory
NameDateSize
DM.cpp10-Mar-20157.8K
DMCpuGMTask.cpp10-Mar-20152.2K
DMCpuGMTask.h10-Mar-2015935
DMGpuGMTask.cpp10-Mar-20151.7K
DMGpuGMTask.h10-Mar-20151,008
DMGpuSupport.h10-Mar-20151.8K
DMPDFRasterizeTask.cpp10-Mar-2015887
DMPDFRasterizeTask.h10-Mar-2015998
DMPDFTask.cpp10-Mar-20153.1K
DMPDFTask.h10-Mar-20151K
DMPipeTask.cpp10-Mar-20152.3K
DMPipeTask.h16-Dec-20141K
DMQuiltTask.cpp10-Mar-20153.7K
DMQuiltTask.h10-Mar-20151.1K
DMReporter.cpp10-Mar-20151.2K
DMReporter.h16-Dec-2014839
DMSerializeTask.cpp10-Mar-20151.6K
DMSerializeTask.h10-Mar-2015873
DMSKPTask.cpp10-Mar-2015945
DMSKPTask.h10-Mar-2015698
DMTask.cpp10-Mar-20152.6K
DMTask.h10-Mar-20151.6K
DMTaskRunner.cpp10-Mar-2015376
DMTaskRunner.h10-Mar-2015467
DMTestTask.cpp10-Mar-20151.5K
DMTestTask.h10-Mar-20151.4K
DMUtil.cpp10-Mar-20153.7K
DMUtil.h10-Mar-20151.3K
DMWriteTask.cpp10-Mar-20156.1K
DMWriteTask.h10-Mar-20151.3K
README16-Dec-20141K

README

      1 DM is like GM, but multithreaded.  It doesn't do everything GM does.
      2 
      3 DM's design is based around Tasks and a TaskRunner.
      4 
      5 A Task represents an independent unit of work that might fail.  We make a task
      6 for each GM/configuration pair we want to run.  Tasks can kick off new tasks
      7 themselves.  For example, a CpuTask can kick off a ReplayTask to make sure
      8 recording and playing back an SkPicture gives the same result as direct
      9 rendering.
     10 
     11 The TaskRunner runs all tasks on one of two threadpools, whose sizes are
     12 configurable by --cpuThreads and --gpuThreads.  Ideally we'd run these on a
     13 single threadpool but it can swamp the GPU if we shove too much work into it at
     14 once.  --cpuThreads defaults to the number of cores on the machine.
     15 --gpuThreads defaults to 1, but you may find 2 or 4 runs a little faster.
     16 
     17 So the main flow of DM is:
     18 
     19     for each GM:
     20         for each configuration:
     21             kick off a new task
     22     < tasks run, maybe fail, and maybe kick off new tasks >
     23     wait for all tasks to finish
     24     report failures
     25 
     26