Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: site/user/quick/linux.md

Issue 1417703013: GYP: remove stale skia_scalar gyp variable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-11-10 (Tuesday) 13:15:58 EST Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « make.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/quick/linux.md
diff --git a/site/user/quick/linux.md b/site/user/quick/linux.md
index 900150dd0316728695e8a44b3837cebff6108ab4..a9c00bd48c7a879e515fb91c7deb397f7815cd60 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)
-------------------------------------------
« no previous file with comments | « make.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698