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

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper_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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 } 233 }
234 } 234 }
235 235
236 void ClearStencil(GLint s) { 236 void ClearStencil(GLint s) {
237 gles2::cmds::ClearStencil* c = GetCmdSpace<gles2::cmds::ClearStencil>(); 237 gles2::cmds::ClearStencil* c = GetCmdSpace<gles2::cmds::ClearStencil>();
238 if (c) { 238 if (c) {
239 c->Init(s); 239 c->Init(s);
240 } 240 }
241 } 241 }
242 242
243 void ClientWaitSync(GLuint sync,
244 GLbitfield flags,
245 GLuint timeout_0,
246 GLuint timeout_1,
247 uint32_t result_shm_id,
248 uint32_t result_shm_offset) {
249 gles2::cmds::ClientWaitSync* c = GetCmdSpace<gles2::cmds::ClientWaitSync>();
250 if (c) {
251 c->Init(sync, flags, timeout_0, timeout_1, result_shm_id,
252 result_shm_offset);
253 }
254 }
255
243 void ColorMask(GLboolean red, 256 void ColorMask(GLboolean red,
244 GLboolean green, 257 GLboolean green,
245 GLboolean blue, 258 GLboolean blue,
246 GLboolean alpha) { 259 GLboolean alpha) {
247 gles2::cmds::ColorMask* c = GetCmdSpace<gles2::cmds::ColorMask>(); 260 gles2::cmds::ColorMask* c = GetCmdSpace<gles2::cmds::ColorMask>();
248 if (c) { 261 if (c) {
249 c->Init(red, green, blue, alpha); 262 c->Init(red, green, blue, alpha);
250 } 263 }
251 } 264 }
252 265
(...skipping 2364 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 } 2630 }
2618 2631
2619 void BlendBarrierKHR() { 2632 void BlendBarrierKHR() {
2620 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2633 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2621 if (c) { 2634 if (c) {
2622 c->Init(); 2635 c->Init();
2623 } 2636 }
2624 } 2637 }
2625 2638
2626 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2639 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698