diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 09:33:44 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 09:33:44 +0000 |
commit | bdb68b9997cf50d1ad4803ca830ae4dc4530e502 (patch) | |
tree | 6acd291c6ff5c1c1c0a719ff0cd321ee2ae8095c /ui/compositor/layer_unittest.cc | |
parent | 683ef50ad3bd599cd09a52f11900cfd484fd3407 (diff) | |
download | chromium_src-bdb68b9997cf50d1ad4803ca830ae4dc4530e502.zip chromium_src-bdb68b9997cf50d1ad4803ca830ae4dc4530e502.tar.gz chromium_src-bdb68b9997cf50d1ad4803ca830ae4dc4530e502.tar.bz2 |
Use software renderer for windows with an initial size less than 64x64
If the width or height of a window is less than 64 pixels then some AMD drivers have problems presenting from them, so composite those windows in software.
BUG=286609
Review URL: https://codereview.chromium.org/59913008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/compositor/layer_unittest.cc')
-rw-r--r-- | ui/compositor/layer_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc index 2d94d35..0c2f2e1 100644 --- a/ui/compositor/layer_unittest.cc +++ b/ui/compositor/layer_unittest.cc @@ -355,7 +355,7 @@ class LayerWithDelegateTest : public testing::Test { bool allow_test_contexts = true; InitializeContextFactoryForTests(allow_test_contexts); Compositor::Initialize(); - compositor_.reset(new Compositor(gfx::kNullAcceleratedWidget)); + compositor_.reset(new Compositor(false, gfx::kNullAcceleratedWidget)); compositor_->SetScaleAndSize(1.0f, gfx::Size(1000, 1000)); } |