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

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

Issue 3122033: Adds support for EXT_framebuffer_multisample... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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. DO NOT EDIT! 5 // This file is auto-generated. DO NOT EDIT!
6 6
7 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 7 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
8 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 8 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
9 9
10 void ActiveTexture(GLenum texture) { 10 void ActiveTexture(GLenum texture) {
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 GLsizei stride, GLuint offset) { 1124 GLsizei stride, GLuint offset) {
1125 gles2::VertexAttribPointer& c = GetCmdSpace<gles2::VertexAttribPointer>(); 1125 gles2::VertexAttribPointer& c = GetCmdSpace<gles2::VertexAttribPointer>();
1126 c.Init(indx, size, type, normalized, stride, offset); 1126 c.Init(indx, size, type, normalized, stride, offset);
1127 } 1127 }
1128 1128
1129 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { 1129 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) {
1130 gles2::Viewport& c = GetCmdSpace<gles2::Viewport>(); 1130 gles2::Viewport& c = GetCmdSpace<gles2::Viewport>();
1131 c.Init(x, y, width, height); 1131 c.Init(x, y, width, height);
1132 } 1132 }
1133 1133
1134 void BlitFramebufferEXT(
1135 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
1136 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) {
1137 gles2::BlitFramebufferEXT& c = GetCmdSpace<gles2::BlitFramebufferEXT>();
1138 c.Init(
1139 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1140 }
1141
1142 void RenderbufferStorageMultisampleEXT(
1143 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
1144 GLsizei height) {
1145 gles2::RenderbufferStorageMultisampleEXT& c =
1146 GetCmdSpace<gles2::RenderbufferStorageMultisampleEXT>();
1147 c.Init(target, samples, internalformat, width, height);
1148 }
1149
1134 void SwapBuffers() { 1150 void SwapBuffers() {
1135 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>(); 1151 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>();
1136 c.Init(); 1152 c.Init();
1137 } 1153 }
1138 1154
1139 void GetMaxValueInBuffer( 1155 void GetMaxValueInBuffer(
1140 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset, 1156 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset,
1141 uint32 result_shm_id, uint32 result_shm_offset) { 1157 uint32 result_shm_id, uint32 result_shm_offset) {
1142 gles2::GetMaxValueInBuffer& c = GetCmdSpace<gles2::GetMaxValueInBuffer>(); 1158 gles2::GetMaxValueInBuffer& c = GetCmdSpace<gles2::GetMaxValueInBuffer>();
1143 c.Init(buffer_id, count, type, offset, result_shm_id, result_shm_offset); 1159 c.Init(buffer_id, count, type, offset, result_shm_id, result_shm_offset);
(...skipping 21 matching lines...) Expand all
1165 } 1181 }
1166 1182
1167 void CommandBufferEnable( 1183 void CommandBufferEnable(
1168 GLuint bucket_id, uint32 result_shm_id, uint32 result_shm_offset) { 1184 GLuint bucket_id, uint32 result_shm_id, uint32 result_shm_offset) {
1169 gles2::CommandBufferEnable& c = GetCmdSpace<gles2::CommandBufferEnable>(); 1185 gles2::CommandBufferEnable& c = GetCmdSpace<gles2::CommandBufferEnable>();
1170 c.Init(bucket_id, result_shm_id, result_shm_offset); 1186 c.Init(bucket_id, result_shm_id, result_shm_offset);
1171 } 1187 }
1172 1188
1173 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1189 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1174 1190
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698