summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc4
-rw-r--r--gpu/command_buffer/common/capabilities.cc2
-rw-r--r--gpu/command_buffer/common/capabilities.h2
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc2
4 files changed, 5 insertions, 5 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 86b1501..852410b 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -2210,9 +2210,9 @@ const GLubyte* GLES2Implementation::GetStringHelper(GLenum name) {
"GL_CHROMIUM_flipy "
"GL_EXT_unpack_subimage "
"GL_CHROMIUM_map_sub";
- if (capabilities_.map_image) {
+ if (capabilities_.image) {
// The first space character is intentional.
- str += " GL_CHROMIUM_map_image";
+ str += " GL_CHROMIUM_image";
}
if (capabilities_.future_sync_points)
str += " GL_CHROMIUM_future_sync_point";
diff --git a/gpu/command_buffer/common/capabilities.cc b/gpu/command_buffer/common/capabilities.cc
index 257086a..74b2423 100644
--- a/gpu/command_buffer/common/capabilities.cc
+++ b/gpu/command_buffer/common/capabilities.cc
@@ -18,7 +18,7 @@ Capabilities::Capabilities()
texture_storage(false),
discard_framebuffer(false),
sync_query(false),
- map_image(false),
+ image(false),
future_sync_points(false) {
}
diff --git a/gpu/command_buffer/common/capabilities.h b/gpu/command_buffer/common/capabilities.h
index 60f7b0d..cb0246f 100644
--- a/gpu/command_buffer/common/capabilities.h
+++ b/gpu/command_buffer/common/capabilities.h
@@ -21,7 +21,7 @@ struct GPU_EXPORT Capabilities {
bool texture_storage;
bool discard_framebuffer;
bool sync_query;
- bool map_image;
+ bool image;
bool future_sync_points;
Capabilities();
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 0e99bb9..d4c0e98 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2756,7 +2756,7 @@ Capabilities GLES2DecoderImpl::GetCapabilities() {
#endif
caps.post_sub_buffer = supports_post_sub_buffer_;
- caps.map_image = true;
+ caps.image = true;
return caps;
}