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

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: Fix spacing 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 the SampleApp
hcm 2015/01/29 20:14:18 Nit, but lets title it "About SampleApp"
herb_g 2015/01/30 02:24:14 Done.
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.
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...
14
15 You can find how to build the SampleApp for the various operating systems at the following links:
jcgregorio 2015/01/29 19:10:17 Make these relative links, also consider putting t
herb_g 2015/01/30 02:24:14 Done.
16 [Linux](https://skia.org/user/quick/linux) [Macintosh](https://skia.org/user/qui ck/macos) [Windows](https://skia.org/user/quick/windows) [Android](https://skia. org/user/quick/android).
17
18 Key | Action
19 -----------------------------|-------------
20 &#x2190; &#x2192; | Move between the slides
21 r | Rotate the current slide
22 &#x2191; &#x2193; | Zoom in / out
23 d | Change render methods among raster, pictur e and opengl
24 f | Display the rendering time in the menu b ar
25 G | Show bounding box
26
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