diff options
author | Hal Canary <halcanary@google.com> | 2015-11-10 13:25:12 -0500 |
---|---|---|
committer | Hal Canary <halcanary@google.com> | 2015-11-10 13:25:12 -0500 |
commit | 824f46ca2cf0a7c2e95ae747b020f4a321e72d66 (patch) | |
tree | ecc87f79d4fb2d15f2918f7907db0d1eed3ba62c /site | |
parent | 1f0e350af690044b2ba807893ac470800f8914a2 (diff) |
GYP: remove stale skia_scalar gyp variable
DOCS_PREVIEW= https://skia.org/?cl=1417703013
Review URL: https://codereview.chromium.org/1417703013 .
Diffstat (limited to 'site')
-rw-r--r-- | site/user/quick/linux.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/site/user/quick/linux.md b/site/user/quick/linux.md index 900150dd03..a9c00bd48c 100644 --- a/site/user/quick/linux.md +++ b/site/user/quick/linux.md @@ -136,19 +136,20 @@ To move through the sample app, use the following keypresses: * left-arrow key: cycle through rendering methods for each test page * other keys are defined in SampleApp.cpp’s SampleWindow::onHandleKey() and SampleWindow::onHandleChar() methods -Build and run gm ("golden master") tests +Build and run DM ("diamond master") tests ---------------------------------------- -This will display the return value (0 = success) after running the tests... +[DM is Skia's unit/correctness test harness](../../dev/testing/testing). - make -j gm - out/Debug/gm -r gm/base-linux ; echo $? + make -j dm + out/Debug/dm -You can also adjust the type used to represent SkScalar. By default, we use a -float. To change that, run it as follows: +The `GYP_DEFINES` environment variable can be used to change Skia's +compile-time settings. For example, to disable the Skia GPU backend, +run it as follows: - GYP_DEFINES="skia_scalar=fixed" make -j gm - out/Debug/gm -r gm/base-linux-fixed ; echo $? + GYP_DEFINES='skia_gpu=0' make -j dm + out/Debug/dm Build and run bench (performance testbench) ------------------------------------------- |