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; |
} |