diff options
author | kaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-18 09:34:21 +0000 |
---|---|---|
committer | kaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-18 09:34:21 +0000 |
commit | 8e6d15826280b9f11a28060b5b2d2bbef17d15bc (patch) | |
tree | 4e9d72e8a47235583089c67bfdc16da572370812 /cc/base | |
parent | 2ec5b56e62d38f6a1947868f90f63633c3579b54 (diff) | |
download | chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.zip chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.tar.gz chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.tar.bz2 |
Adding support for RGBA_4444 tile textures
BUG=245774,272539
Review URL: https://chromiumcodereview.appspot.com/21159007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/base')
-rw-r--r-- | cc/base/switches.cc | 3 | ||||
-rw-r--r-- | cc/base/switches.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc index e604145..87e10ce 100644 --- a/cc/base/switches.cc +++ b/cc/base/switches.cc @@ -141,6 +141,9 @@ const char kDisableMapImage[] = "disable-map-image"; // Prevents the layer tree unit tests from timing out. const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; +// Disable textures using RGBA_4444 layout. +const char kDisable4444Textures[] = "disable-4444-textures"; + bool IsLCDTextEnabled() { const CommandLine* command_line = CommandLine::ForCurrentProcess(); if (command_line->HasSwitch(cc::switches::kDisableLCDText)) diff --git a/cc/base/switches.h b/cc/base/switches.h index b8585e2..97fe833 100644 --- a/cc/base/switches.h +++ b/cc/base/switches.h @@ -41,6 +41,7 @@ CC_EXPORT extern const char kEnablePartialSwap[]; CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[]; CC_EXPORT extern const char kEnableMapImage[]; CC_EXPORT extern const char kDisableMapImage[]; +CC_EXPORT extern const char kDisable4444Textures[]; // Switches for both the renderer and ui compositors. CC_EXPORT extern const char kUIDisablePartialSwap[]; |