summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
diff options
context:
space:
mode:
authorepenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 19:57:16 +0000
committerepenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 19:57:16 +0000
commit69023944fd69b3cabe71f1dec7fdfa922f2034d7 (patch)
tree44f8d73a06d55e9136af99e1c79e4a59274e7c7a /gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
parentb949fcb52666d423b7c66d9a7a69d482bf056513 (diff)
downloadchromium_src-69023944fd69b3cabe71f1dec7fdfa922f2034d7.zip
chromium_src-69023944fd69b3cabe71f1dec7fdfa922f2034d7.tar.gz
chromium_src-69023944fd69b3cabe71f1dec7fdfa922f2034d7.tar.bz2
gpu: Add async upload functions.
Just adding the API first to unblock other CLs and so we can start to use the API. Async tasks are just done synchronously, and the completion query is set immediately when it executes in the GPU process. BUG=161337 Review URL: https://chromiumcodereview.appspot.com/11412232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h')
-rw-r--r--gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
index 03913b4..a358e7b 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -1057,6 +1057,8 @@ std::string GLES2Util::GetStringQueryTarget(uint32 value) {
"GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT" },
{ GL_COMMANDS_ISSUED_CHROMIUM, "GL_COMMANDS_ISSUED_CHROMIUM" },
{ GL_LATENCY_QUERY_CHROMIUM, "GL_LATENCY_QUERY_CHROMIUM" },
+ { GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM,
+ "GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM" },
};
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);