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

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

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 } 2073 }
2074 2074
2075 void LoseContextCHROMIUM(GLenum current, GLenum other) { 2075 void LoseContextCHROMIUM(GLenum current, GLenum other) {
2076 gles2::cmds::LoseContextCHROMIUM* c = 2076 gles2::cmds::LoseContextCHROMIUM* c =
2077 GetCmdSpace<gles2::cmds::LoseContextCHROMIUM>(); 2077 GetCmdSpace<gles2::cmds::LoseContextCHROMIUM>();
2078 if (c) { 2078 if (c) {
2079 c->Init(current, other); 2079 c->Init(current, other);
2080 } 2080 }
2081 } 2081 }
2082 2082
2083 void WaitSyncPointCHROMIUM(GLuint sync_point) {
2084 gles2::cmds::WaitSyncPointCHROMIUM* c =
2085 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>();
2086 if (c) {
2087 c->Init(sync_point);
2088 }
2089 }
2090
2091 void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) { 2083 void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) {
2092 const uint32_t size = 2084 const uint32_t size =
2093 gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count); 2085 gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count);
2094 gles2::cmds::DrawBuffersEXTImmediate* c = 2086 gles2::cmds::DrawBuffersEXTImmediate* c =
2095 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>(size); 2087 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>(size);
2096 if (c) { 2088 if (c) {
2097 c->Init(count, bufs); 2089 c->Init(count, bufs);
2098 } 2090 }
2099 } 2091 }
2100 2092
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2146 } 2138 }
2147 2139
2148 void BlendBarrierKHR() { 2140 void BlendBarrierKHR() {
2149 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2141 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2150 if (c) { 2142 if (c) {
2151 c->Init(); 2143 c->Init();
2152 } 2144 }
2153 } 2145 }
2154 2146
2155 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2147 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper_test.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698