diff options
author | ccameron <ccameron@chromium.org> | 2015-11-03 12:14:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-03 20:15:50 +0000 |
commit | c7fcd13e9907d4a663d5bc47c1c9ff1701f0b068 (patch) | |
tree | a755ad06f5dd88ab2daeefc17d6cd71daf97e0c2 /cc/surfaces/display.cc | |
parent | 1ae3c3a3b26dc42489c0209bbf8ab12738094857 (diff) | |
download | chromium_src-c7fcd13e9907d4a663d5bc47c1c9ff1701f0b068.zip chromium_src-c7fcd13e9907d4a663d5bc47c1c9ff1701f0b068.tar.gz chromium_src-c7fcd13e9907d4a663d5bc47c1c9ff1701f0b068.tar.bz2 |
cc: Add flag to specify to ResourceProvider to always use GMBs
Add a command line switch (similar to zero-copy) to specify that all
resources allocated by the cc::ResourceProvider should use GMBs and
have GLImages attached to them.
BUG=533677
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1425533006
Cr-Commit-Position: refs/heads/master@{#357604}
Diffstat (limited to 'cc/surfaces/display.cc')
-rw-r--r-- | cc/surfaces/display.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc index 7cd9d6d..31335ae 100644 --- a/cc/surfaces/display.cc +++ b/cc/surfaces/display.cc @@ -106,6 +106,7 @@ void Display::InitializeRenderer() { output_surface_.get(), bitmap_manager_, gpu_memory_buffer_manager_, nullptr, settings_.highp_threshold_min, settings_.texture_id_allocation_chunk_size, + settings_.use_gpu_memory_buffer_resources, std::vector<unsigned>(static_cast<size_t>(gfx::BufferFormat::LAST) + 1, GL_TEXTURE_2D)); if (!resource_provider) |