skia2/site/dev/testing/skps.md

3.2 KiB

Downloading SKPs

Contents

Overview

An SKP is a binary representation of the draw commands Chromium sends to Skia for rasterization.

Skia uses different types of SKPs in our continuous builds and tests:

Skia developers find it useful to download these SKPs to run local tests to reproduce problems seen on the buildbots. The below sections detail how to download them.

How to download SKPs

Buildbot SKPs (for Googlers)

The following will work only if you have a google.com account.

All buildbot SKP files created by the RecreateSKPs bot are available in the Google Storage bucket gs://chromium-skia-gm, they can be copied over to your local directory like this:

Buildbot SKPs (for trusted partners)

  • Request access to the gs://chrome-partner-telemetry bucket by emailing telemetry@chromium.org (example).
  • Once approved you can download Skia's weekly refreshed buildbot SKPs from gs://chrome-partner-telemetry/skps

Cluster Telemetry SKPs (for Googlers)

The following will work only if you have a google.com account.

  • Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start.

  • Authenticate using your google.com credentials “gcloud auth login”

  • Look at the SKP Repository list here for all available SKPs.

  • Run in your terminal:

    $ SKP_DEST=...
    $ REPO_TYPE=... (Either All, Mobile10k, 10k, Dummy1k)
    $ CHROMIUM_BUILD=... (Eg: 57259e0-05dcb4c)
    $ SLAVE_NUM=... (There are 100 available slaves)
    $ gsutil -m cp gs://cluster-telemetry/skps/${REPO_TYPE}/${CHROMIUM_BUILD}/slave${SLAVE_NUM}/*.skp ${SKP_DEST}