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

Side by Side Diff: site/user/sample/sampleapp.md

Issue 883203003: SampleApp documentation (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make changes from review Created 5 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 About SampleApp
2 ==========================
3 The SampleApp displays a series of slides that exhibit specific features of the Skia system. It is mainly controlled using the keyboard: left (&#x2190;) and (&# x2192;) right arrows to move from slide to slide. Some slides require use resour ces stored outside the program. These resources are stored in the `<skia-path>/r esources` directory.
tfarina 2015/01/30 14:33:42 nit: require use?
4
5 `<skia-path>/out/Release/SampleApp --resourcePath <skia-path>/resources`
6 
7
8 In addition to displaying various aspects of Skia, SampleApp is used to debug an d understand different parts of the Skia system.
9
10 * Observe rendering performance - pressing the 'f' key places the SampleApp in f rame rate mode. It continuously draws the slide while desplaying the draw time i n the title of the window.
11 * Try different rendering methods - pressing the 'd' key cycles among the three rendering methods raster, picture and opengl. You can use this with the 'f' key to see the effect that the different rendering methods have on drawing performan ce.
12 * Look at different angles - pressing the 'r' slowley rotates the slide.
13 * Display and manipulate your own pictures - use the `--picture <skp-file-path>. skp` to use the `.skp` file as the slide desplayed by SampleApp. A `.skp` file c an be generated by...
tfarina 2015/01/30 14:33:42 generated by...? Explain how to generate it or jus
14
15 You can find how to build the SampleApp for the various operating systems at the following links:
16
17 * [Linux](/user/quick/linux)
18 * [Macintosh](/user/quick/macos)
19 * [Windows](/user/quick/windows)
20 * [Android](/user/quick/android)
21
22 Key | Action
23 -----------------------------|-------------
24 &#x2190; &#x2192; | Move between the slides
25 r | Rotate the current slide
26 &#x2191; &#x2193; | Zoom in / out
27 d | Change render methods among raster, pictur e and opengl
28 f | Display the rendering time in the menu b ar
29 G | Show bounding box
30
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698