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

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

Issue 8772033: Adds support for the GL_ANGLE_texture_usage and GL_EXT_texture_storage (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 } 1144 }
1145 1145
1146 void RenderbufferStorageMultisampleEXT( 1146 void RenderbufferStorageMultisampleEXT(
1147 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, 1147 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width,
1148 GLsizei height) { 1148 GLsizei height) {
1149 gles2::RenderbufferStorageMultisampleEXT& c = 1149 gles2::RenderbufferStorageMultisampleEXT& c =
1150 GetCmdSpace<gles2::RenderbufferStorageMultisampleEXT>(); 1150 GetCmdSpace<gles2::RenderbufferStorageMultisampleEXT>();
1151 c.Init(target, samples, internalformat, width, height); 1151 c.Init(target, samples, internalformat, width, height);
1152 } 1152 }
1153 1153
1154 void TexStorage2DEXT(
1155 GLenum target, GLsizei levels, GLint internalFormat, GLsizei width,
1156 GLsizei height) {
1157 gles2::TexStorage2DEXT& c = GetCmdSpace<gles2::TexStorage2DEXT>();
1158 c.Init(target, levels, internalFormat, width, height);
1159 }
1160
1154 void SwapBuffers() { 1161 void SwapBuffers() {
1155 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>(); 1162 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>();
1156 c.Init(); 1163 c.Init();
1157 } 1164 }
1158 1165
1159 void GetMaxValueInBufferCHROMIUM( 1166 void GetMaxValueInBufferCHROMIUM(
1160 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset, 1167 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset,
1161 uint32 result_shm_id, uint32 result_shm_offset) { 1168 uint32 result_shm_id, uint32 result_shm_offset) {
1162 gles2::GetMaxValueInBufferCHROMIUM& c = 1169 gles2::GetMaxValueInBufferCHROMIUM& c =
1163 GetCmdSpace<gles2::GetMaxValueInBufferCHROMIUM>(); 1170 GetCmdSpace<gles2::GetMaxValueInBufferCHROMIUM>();
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 void TexImageIOSurface2DCHROMIUM( 1263 void TexImageIOSurface2DCHROMIUM(
1257 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, 1264 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId,
1258 GLuint plane) { 1265 GLuint plane) {
1259 gles2::TexImageIOSurface2DCHROMIUM& c = 1266 gles2::TexImageIOSurface2DCHROMIUM& c =
1260 GetCmdSpace<gles2::TexImageIOSurface2DCHROMIUM>(); 1267 GetCmdSpace<gles2::TexImageIOSurface2DCHROMIUM>();
1261 c.Init(target, width, height, ioSurfaceId, plane); 1268 c.Init(target, width, height, ioSurfaceId, plane);
1262 } 1269 }
1263 1270
1264 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1271 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1265 1272
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