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

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

Issue 24182005: Fix partial swap support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | webkit/common/gpu/context_provider_in_process.cc » ('j') | 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 940d4a9eddb54d6fc0bfcda71a1d68b0eab49b10..9d4a183dde4fda1a35112ce29355cd1b57c2c420 100644
--- a/content/common/gpu/client/context_provider_command_buffer.cc
+++ b/content/common/gpu/client/context_provider_command_buffer.cc
@@ -265,6 +265,8 @@ void ContextProviderCommandBuffer::InitializeCapabilities() {
extension_set.count("GL_EXT_texture_format_BGRA8888") > 0;
caps.texture_rectangle = extension_set.count("GL_ARB_texture_rectangle") > 0;
+ caps.post_sub_buffer = extension_set.count("GL_CHROMIUM_post_sub_buffer") > 0;
+
// TODO(jamesr): This is unconditionally true on mac, no need to test for it
// at runtime.
caps.iosurface = extension_set.count("GL_CHROMIUM_iosurface") > 0;
« no previous file with comments | « no previous file | webkit/common/gpu/context_provider_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698