summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gl_utils.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/service/gl_utils.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/service/gl_utils.h')
-rw-r--r--gpu/command_buffer/service/gl_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h
index ccd96f3..8fa9325 100644
--- a/gpu/command_buffer/service/gl_utils.h
+++ b/gpu/command_buffer/service/gl_utils.h
@@ -92,6 +92,9 @@
/* GL_CHROMIUM_command_buffer_latency_query */
#define GL_LATENCY_QUERY_CHROMIUM 0x84F4
+/* GL_CHROMIUM_async_pixel_transfers */
+#define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5
+
// GL_OES_texure_3D
#define GL_SAMPLER_3D_OES 0x8B5F