OLD | NEW |
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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1239 } | 1239 } |
1240 void* GL_APIENTRY GLES2MapBufferRange(GLenum target, | 1240 void* GL_APIENTRY GLES2MapBufferRange(GLenum target, |
1241 GLintptr offset, | 1241 GLintptr offset, |
1242 GLsizeiptr size, | 1242 GLsizeiptr size, |
1243 GLbitfield access) { | 1243 GLbitfield access) { |
1244 return gles2::GetGLContext()->MapBufferRange(target, offset, size, access); | 1244 return gles2::GetGLContext()->MapBufferRange(target, offset, size, access); |
1245 } | 1245 } |
1246 GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) { | 1246 GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) { |
1247 return gles2::GetGLContext()->UnmapBuffer(target); | 1247 return gles2::GetGLContext()->UnmapBuffer(target); |
1248 } | 1248 } |
| 1249 void GL_APIENTRY GLES2FlushMappedBufferRange(GLenum target, |
| 1250 GLintptr offset, |
| 1251 GLsizeiptr size) { |
| 1252 gles2::GetGLContext()->FlushMappedBufferRange(target, offset, size); |
| 1253 } |
1249 void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target, | 1254 void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target, |
1250 GLint level, | 1255 GLint level, |
1251 GLint xoffset, | 1256 GLint xoffset, |
1252 GLint yoffset, | 1257 GLint yoffset, |
1253 GLsizei width, | 1258 GLsizei width, |
1254 GLsizei height, | 1259 GLsizei height, |
1255 GLenum format, | 1260 GLenum format, |
1256 GLenum type, | 1261 GLenum type, |
1257 GLenum access) { | 1262 GLenum access) { |
1258 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( | 1263 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( |
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2651 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), | 2656 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), |
2652 }, | 2657 }, |
2653 { | 2658 { |
2654 "glMapBufferRange", | 2659 "glMapBufferRange", |
2655 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange), | 2660 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange), |
2656 }, | 2661 }, |
2657 { | 2662 { |
2658 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer), | 2663 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer), |
2659 }, | 2664 }, |
2660 { | 2665 { |
| 2666 "glFlushMappedBufferRange", |
| 2667 reinterpret_cast<GLES2FunctionPointer>(glFlushMappedBufferRange), |
| 2668 }, |
| 2669 { |
2661 "glMapTexSubImage2DCHROMIUM", | 2670 "glMapTexSubImage2DCHROMIUM", |
2662 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), | 2671 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), |
2663 }, | 2672 }, |
2664 { | 2673 { |
2665 "glUnmapTexSubImage2DCHROMIUM", | 2674 "glUnmapTexSubImage2DCHROMIUM", |
2666 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), | 2675 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), |
2667 }, | 2676 }, |
2668 { | 2677 { |
2669 "glResizeCHROMIUM", | 2678 "glResizeCHROMIUM", |
2670 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), | 2679 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2999 "glSwapBuffersWithDamageCHROMIUM", | 3008 "glSwapBuffersWithDamageCHROMIUM", |
3000 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3009 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
3001 }, | 3010 }, |
3002 { | 3011 { |
3003 NULL, NULL, | 3012 NULL, NULL, |
3004 }, | 3013 }, |
3005 }; | 3014 }; |
3006 | 3015 |
3007 } // namespace gles2 | 3016 } // namespace gles2 |
3008 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3017 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |