Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 12210129: gpu: Add the ability to wait on upload completion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added entry point for waiting. Rebased and added test. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // These functions emulate GLES2 over command buffers. 9 // These functions emulate GLES2 over command buffers.
10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 target, level, xoffset, yoffset, width, height, format, type, data); 704 target, level, xoffset, yoffset, width, height, format, type, data);
705 } 705 }
706 void GLES2AsyncTexImage2DCHROMIUM( 706 void GLES2AsyncTexImage2DCHROMIUM(
707 GLenum target, GLint level, GLint internalformat, GLsizei width, 707 GLenum target, GLint level, GLint internalformat, GLsizei width,
708 GLsizei height, GLint border, GLenum format, GLenum type, 708 GLsizei height, GLint border, GLenum format, GLenum type,
709 const void* pixels) { 709 const void* pixels) {
710 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM( 710 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM(
711 target, level, internalformat, width, height, border, format, type, 711 target, level, internalformat, width, height, border, format, type,
712 pixels); 712 pixels);
713 } 713 }
714 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) {
715 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target);
716 }
714 void GLES2DiscardFramebufferEXT( 717 void GLES2DiscardFramebufferEXT(
715 GLenum target, GLsizei count, const GLenum* attachments) { 718 GLenum target, GLsizei count, const GLenum* attachments) {
716 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); 719 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
717 } 720 }
718 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { 721 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) {
719 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); 722 gles2::GetGLContext()->LoseContextCHROMIUM(current, other);
720 } 723 }
721 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { 724 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
722 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); 725 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
723 } 726 }
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 { "glReleaseTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1048 { "glReleaseTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1046 glReleaseTexImage2DCHROMIUM), }, 1049 glReleaseTexImage2DCHROMIUM), },
1047 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1050 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1048 glTraceBeginCHROMIUM), }, 1051 glTraceBeginCHROMIUM), },
1049 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1052 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1050 glTraceEndCHROMIUM), }, 1053 glTraceEndCHROMIUM), },
1051 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1054 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1052 glAsyncTexSubImage2DCHROMIUM), }, 1055 glAsyncTexSubImage2DCHROMIUM), },
1053 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1056 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1054 glAsyncTexImage2DCHROMIUM), }, 1057 glAsyncTexImage2DCHROMIUM), },
1058 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1059 glWaitAsyncTexImage2DCHROMIUM), },
1055 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( 1060 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>(
1056 glDiscardFramebufferEXT), }, 1061 glDiscardFramebufferEXT), },
1057 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1062 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1058 glLoseContextCHROMIUM), }, 1063 glLoseContextCHROMIUM), },
1059 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1064 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1060 glWaitSyncPointCHROMIUM), }, 1065 glWaitSyncPointCHROMIUM), },
1061 { NULL, NULL, }, 1066 { NULL, NULL, },
1062 }; 1067 };
1063 1068
1064 } // namespace gles2 1069 } // namespace gles2
1065 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1070 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1066 1071
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698