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

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

Issue 12545014: Implement EXT_draw_buffers WebGL extention support in command buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
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 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
(...skipping 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 } 2073 }
2074 2074
2075 void WaitSyncPointCHROMIUM(GLuint sync_point) { 2075 void WaitSyncPointCHROMIUM(GLuint sync_point) {
2076 gles2::cmds::WaitSyncPointCHROMIUM* c = 2076 gles2::cmds::WaitSyncPointCHROMIUM* c =
2077 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>(); 2077 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>();
2078 if (c) { 2078 if (c) {
2079 c->Init(sync_point); 2079 c->Init(sync_point);
2080 } 2080 }
2081 } 2081 }
2082 2082
2083 void DrawBuffersEXT(
2084 GLsizei count, uint32 bufs_shm_id, uint32 bufs_shm_offset) {
2085 gles2::cmds::DrawBuffersEXT* c =
2086 GetCmdSpace<gles2::cmds::DrawBuffersEXT>();
2087 if (c) {
2088 c->Init(count, bufs_shm_id, bufs_shm_offset);
2089 }
2090 }
2091
2092 void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) {
2093 const uint32 size =
2094 gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count);
2095 gles2::cmds::DrawBuffersEXTImmediate* c =
2096 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>(
2097 size);
2098 if (c) {
2099 c->Init(count, bufs);
2100 }
2101 }
2102
2083 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2103 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
2084 2104
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698