From 69023944fd69b3cabe71f1dec7fdfa922f2034d7 Mon Sep 17 00:00:00 2001 From: "epenner@chromium.org" Date: Fri, 30 Nov 2012 19:57:16 +0000 Subject: 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 --- gpu/command_buffer/service/gl_utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gpu/command_buffer/service/gl_utils.h') 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 -- cgit v1.1