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

Side by Side Diff: cc/base/switches.cc

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: introduce --disable-half-float-conversion-texture flag Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
(...skipping 26 matching lines...) Expand all
37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; 37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold";
38 38
39 // Re-rasters everything multiple times to simulate a much slower machine. 39 // Re-rasters everything multiple times to simulate a much slower machine.
40 // Give a scale factor to cause raster to take that many times longer to 40 // Give a scale factor to cause raster to take that many times longer to
41 // complete, such as --slow-down-raster-scale-factor=25. 41 // complete, such as --slow-down-raster-scale-factor=25.
42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
43 43
44 // Compress tile textures for GPUs supporting it. 44 // Compress tile textures for GPUs supporting it.
45 const char kEnableTileCompression[] = "enable-tile-compression"; 45 const char kEnableTileCompression[] = "enable-tile-compression";
46 46
47 // Use RG8 texture instead of half float conversion by CPU.
48 const char kDisableHalfFloatConversionTexture[] =
hubbe 2016/09/27 20:49:51 Please use the features API instead.
dshwang 2016/09/28 10:33:27 Got it.
hubbe 2016/09/28 17:57:44 Usually people don't reply until they have actuall
dshwang 2016/09/29 18:52:27 Usually I did :) I want to listen to your opinion
49 "disable-half-float-conversion-texture";
50
47 // Enable color space aware rasterization and compositing. 51 // Enable color space aware rasterization and compositing.
48 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; 52 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
49 53
50 // Enables the GPU benchmarking extension 54 // Enables the GPU benchmarking extension
51 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 55 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
52 56
53 // Renders a border around compositor layers to help debug and study 57 // Renders a border around compositor layers to help debug and study
54 // layer compositing. 58 // layer compositing.
55 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 59 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
56 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 60 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 102 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
99 103
100 // Increases timeout for memory checkers. 104 // Increases timeout for memory checkers.
101 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; 105 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout";
102 106
103 // Makes pixel tests write their output instead of read it. 107 // Makes pixel tests write their output instead of read it.
104 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 108 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
105 109
106 } // namespace switches 110 } // namespace switches
107 } // namespace cc 111 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/output/gl_renderer.h » ('j') | cc/output/shader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698