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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 934fe97620c497c8503d85086922ab2e5690f234..572cc9ab2021e7d4c5156702ede161fa2d1521de 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1321,6 +1321,12 @@ GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM(
width, height, internalformat, usage);
}
+GLuint GL_APIENTRY GLES2CreateFenceCHROMIUM(ClientFence fence) {
+ return gles2::GetGLContext()->CreateFenceCHROMIUM(fence);
+}
+void GL_APIENTRY GLES2DestroyFenceCHROMIUM(GLuint fence_id) {
+ gles2::GetGLContext()->DestroyFenceCHROMIUM(fence_id);
+}
void GL_APIENTRY GLES2DescheduleUntilFinishedCHROMIUM() {
gles2::GetGLContext()->DescheduleUntilFinishedCHROMIUM();
}
@@ -2724,6 +2730,14 @@ extern const NameToFunc g_gles2_function_table[] = {
glCreateGpuMemoryBufferImageCHROMIUM),
},
{
+ "glCreateFenceCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glCreateFenceCHROMIUM),
+ },
+ {
+ "glDestroyFenceCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glDestroyFenceCHROMIUM),
+ },
+ {
"glDescheduleUntilFinishedCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(
glDescheduleUntilFinishedCHROMIUM),

Powered by Google App Engine
This is Rietveld 408576698