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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 1243263002: content: Pass surfacelessness of GL context from GPU to browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/ipc/gpu_command_buffer_traits_multi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 174b787b01947d3db9324e543e8b09a2ddf7fdbd..7db0d5c336e5f5060cbb9e14b534d67f5cc8f323 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3145,6 +3145,7 @@ Capabilities GLES2DecoderImpl::GetCapabilities() {
caps.post_sub_buffer = supports_post_sub_buffer_;
caps.image = true;
+ caps.surfaceless = surfaceless_;
caps.blend_equation_advanced =
feature_info_->feature_flags().blend_equation_advanced;
« no previous file with comments | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/ipc/gpu_command_buffer_traits_multi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698