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

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

Issue 932963003: Add glClientWaitSync to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove using of union Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 GLclampf blue, 112 GLclampf blue,
113 GLclampf alpha) { 113 GLclampf alpha) {
114 gles2::GetGLContext()->ClearColor(red, green, blue, alpha); 114 gles2::GetGLContext()->ClearColor(red, green, blue, alpha);
115 } 115 }
116 void GLES2ClearDepthf(GLclampf depth) { 116 void GLES2ClearDepthf(GLclampf depth) {
117 gles2::GetGLContext()->ClearDepthf(depth); 117 gles2::GetGLContext()->ClearDepthf(depth);
118 } 118 }
119 void GLES2ClearStencil(GLint s) { 119 void GLES2ClearStencil(GLint s) {
120 gles2::GetGLContext()->ClearStencil(s); 120 gles2::GetGLContext()->ClearStencil(s);
121 } 121 }
122 GLenum GLES2ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) {
123 return gles2::GetGLContext()->ClientWaitSync(sync, flags, timeout);
124 }
122 void GLES2ColorMask(GLboolean red, 125 void GLES2ColorMask(GLboolean red,
123 GLboolean green, 126 GLboolean green,
124 GLboolean blue, 127 GLboolean blue,
125 GLboolean alpha) { 128 GLboolean alpha) {
126 gles2::GetGLContext()->ColorMask(red, green, blue, alpha); 129 gles2::GetGLContext()->ColorMask(red, green, blue, alpha);
127 } 130 }
128 void GLES2CompileShader(GLuint shader) { 131 void GLES2CompileShader(GLuint shader) {
129 gles2::GetGLContext()->CompileShader(shader); 132 gles2::GetGLContext()->CompileShader(shader);
130 } 133 }
131 void GLES2CompressedTexImage2D(GLenum target, 134 void GLES2CompressedTexImage2D(GLenum target,
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 }, 1417 },
1415 { 1418 {
1416 "glClearDepthf", 1419 "glClearDepthf",
1417 reinterpret_cast<GLES2FunctionPointer>(glClearDepthf), 1420 reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
1418 }, 1421 },
1419 { 1422 {
1420 "glClearStencil", 1423 "glClearStencil",
1421 reinterpret_cast<GLES2FunctionPointer>(glClearStencil), 1424 reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
1422 }, 1425 },
1423 { 1426 {
1427 "glClientWaitSync",
1428 reinterpret_cast<GLES2FunctionPointer>(glClientWaitSync),
1429 },
1430 {
1424 "glColorMask", 1431 "glColorMask",
1425 reinterpret_cast<GLES2FunctionPointer>(glColorMask), 1432 reinterpret_cast<GLES2FunctionPointer>(glColorMask),
1426 }, 1433 },
1427 { 1434 {
1428 "glCompileShader", 1435 "glCompileShader",
1429 reinterpret_cast<GLES2FunctionPointer>(glCompileShader), 1436 reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
1430 }, 1437 },
1431 { 1438 {
1432 "glCompressedTexImage2D", 1439 "glCompressedTexImage2D",
1433 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), 1440 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
2476 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2483 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2477 }, 2484 },
2478 { 2485 {
2479 NULL, 2486 NULL,
2480 NULL, 2487 NULL,
2481 }, 2488 },
2482 }; 2489 };
2483 2490
2484 } // namespace gles2 2491 } // namespace gles2
2485 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2492 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698