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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.cc

Issue 23601013: cc: Invalidate framebuffer contents when clearing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use arraysize. Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/context_provider_command_buffer.cc
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
index 2c5b4da55fc9cfb091e068ed760b147c013ffc2a..87be5a021465055791fa67cb16cd2dab9a4da29e 100644
--- a/content/common/gpu/client/context_provider_command_buffer.cc
+++ b/content/common/gpu/client/context_provider_command_buffer.cc
@@ -264,6 +264,9 @@ void ContextProviderCommandBuffer::InitializeCapabilities() {
caps.texture_usage = extension_set.count("GL_ANGLE_texture_usage") > 0;
caps.texture_storage = extension_set.count("GL_EXT_texture_storage") > 0;
+ caps.discard_framebuffer =
+ extension_set.count("GL_EXT_discard_framebuffer") > 0;
+
capabilities_ = caps;
}
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698