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

Side by Side Diff: site/dev/runtime/config.md

Issue 2212473002: SkRTConf: eliminate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: `git grep SK_CONF` now returns nothing Created 4 years, 4 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 | « include/utils/SkRTConf.h ('k') | site/dev/runtime/index.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Runtime Configuration Settings
2 ==============================
3
4 Here is a (partial) list of Skia's runtime configuration settings:
5
6 ## Warning suppression:
7
8 * configuration name: images.gif.suppressDecoderWarnings
9 environment variable: skia_images_gif_suppressDecoderWarnings
10 type: boolean
11 description: Suppress GIF warnings and errors when calling image decode
12 functions.
13 default: true.
14
15 * configuration name: images.jpeg.suppressDecoderWarnings
16 environment variable: skia_images_jpeg_suppressDecoderWarnings
17 type: boolean
18 description: Suppress most JPG warnings when calling decode functions.
19 default: false in debug, true otherwise.
20
21 * configuration name: images.jpeg.suppressDecoderErrors
22 environment variable: skia_images_jpeg_suppressDecoderErrors
23 type: boolean
24 description: Suppress most JPG error messages when decode function fails.
25 default: false in debug, true otherwise.
26
27 * configuration name: images.png.suppressDecoderWarnings
28 environment variable: skia_images_png_suppressDecoderWarnings
29 type: boolean
30 description: Suppress most PNG warnings when calling image decode functions.
31 default: false in debug, true otherwise.
32
33 ## Other:
34
35 * configuration name: bitmap.filter
36 environment variable: skia_bitmap_filter
37 type: string
38 description: Which scanline bitmap filter to use \[mitchell, lanczos, hamming,
39 gaussian, triangle, box\]
40 default: mitchell
41
42 * configuration name: mask.filter.analyticNinePatch
43 environment variable: skia_mask_filter_analyticNinePatch
44 type: boolean
45 description: Use the faster analytic blur approach for ninepatch rects
46 default: \?
47
48 * configuration name: gpu.deferContext
49 environment variable: skia_gpu_deferContext
50 type: boolean
51 description: Defers rendering in GrContext via GrInOrderDrawBuffer
52 default: true
53
54 * configuration name: gpu.dumpFontCache
55 environment variable: skia_gpu_dumpFontCache
56 type: boolean
57 description: Dump the contents of the font cache before every purge
58 default: false
59
60 * configuration name: bitmap.filter.highQualitySSE
61 environment variable: skia_bitmap_filter_highQualitySSE
62 type: boolean
63 description: Use SSE optimized version of high quality image filters
64 default: false
65
66 ## Use:
67
68 These configuration values can be changed at runtime by including this in your
69 program:
70
71 <!--?prettify?-->
72 ~~~~
73 #include "SkRTConf.h"
74 /*...*/
75 int main() {
76 SK_CONF_SET( configuration_name, new_value );
77 /*...*/
78 ~~~~
79
80 Or by setting the corresponding environment variable before starting the
81 program. For example, in Bourne shell:
82
83 <!--?prettify?-->
84 ~~~~
85 #!/bin/sh
86 export skia_environment_variable="new_value"
87 your_program
88 ~~~~
89
OLDNEW
« no previous file with comments | « include/utils/SkRTConf.h ('k') | site/dev/runtime/index.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698