diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 03:08:24 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 03:08:24 +0000 |
commit | 272279c609dd750e5e84ebe0bac21f1e877e49c2 (patch) | |
tree | 4eaeae1014eb283592148aaa2b5b9aad4167ea4e /cc/output/gl_renderer.cc | |
parent | aa2c776abb09337ae2111e5123dfe81b8023543c (diff) | |
download | chromium_src-272279c609dd750e5e84ebe0bac21f1e877e49c2.zip chromium_src-272279c609dd750e5e84ebe0bac21f1e877e49c2.tar.gz chromium_src-272279c609dd750e5e84ebe0bac21f1e877e49c2.tar.bz2 |
cc: Remove legacy accelerated painting path
R=nduca@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/16069004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/gl_renderer.cc')
-rw-r--r-- | cc/output/gl_renderer.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc index da2f4f6..7d37920 100644 --- a/cc/output/gl_renderer.cc +++ b/cc/output/gl_renderer.cc @@ -155,13 +155,6 @@ bool GLRenderer::Initialize() { std::set<std::string> extensions(extensions_list.begin(), extensions_list.end()); - if (Settings().accelerate_painting && - extensions.count("GL_EXT_texture_format_BGRA8888") && - extensions.count("GL_EXT_read_format_bgra")) - capabilities_.using_accelerated_painting = true; - else - capabilities_.using_accelerated_painting = false; - capabilities_.using_partial_swap = Settings().partial_swap_enabled && extensions.count("GL_CHROMIUM_post_sub_buffer"); |