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

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

Issue 235563002: gpu: Separate GpuControlService from GpuControl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 6 years, 8 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
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 7575cb5fbc776f1d75c9e1cab53541b833f340ed..adbddff8a43dab835251862696c136c8028d739a 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2689,6 +2689,7 @@ Capabilities GLES2DecoderImpl::GetCapabilities() {
#endif
caps.post_sub_buffer = supports_post_sub_buffer_;
+ caps.map_image = !!image_manager();
no sievers 2014/04/23 23:57:29 Shouldn't we always have an ImageManager (see Cont
boliu 2014/04/24 00:04:02 I was going to ask reveman too. The condition befo
reveman 2014/04/24 00:39:11 I would like to remove this cap completely and req
boliu 2014/04/24 01:30:56 Pepper and mojo are not affected. They don't imple
return caps;
}

Powered by Google App Engine
This is Rietveld 408576698