| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 GLint xoffset, | 109 GLint xoffset, |
| 110 GLint yoffset, | 110 GLint yoffset, |
| 111 GLsizei width, | 111 GLsizei width, |
| 112 GLsizei height, | 112 GLsizei height, |
| 113 GLenum format, | 113 GLenum format, |
| 114 GLsizei imageSize, | 114 GLsizei imageSize, |
| 115 const void* data) { | 115 const void* data) { |
| 116 gles2::GetGLContext()->CompressedTexSubImage2D( | 116 gles2::GetGLContext()->CompressedTexSubImage2D( |
| 117 target, level, xoffset, yoffset, width, height, format, imageSize, data); | 117 target, level, xoffset, yoffset, width, height, format, imageSize, data); |
| 118 } | 118 } |
| 119 void GLES2CopyBufferSubData(GLenum readtarget, |
| 120 GLenum writetarget, |
| 121 GLintptr readoffset, |
| 122 GLintptr writeoffset, |
| 123 GLsizeiptr size) { |
| 124 gles2::GetGLContext()->CopyBufferSubData(readtarget, writetarget, readoffset, |
| 125 writeoffset, size); |
| 126 } |
| 119 void GLES2CopyTexImage2D(GLenum target, | 127 void GLES2CopyTexImage2D(GLenum target, |
| 120 GLint level, | 128 GLint level, |
| 121 GLenum internalformat, | 129 GLenum internalformat, |
| 122 GLint x, | 130 GLint x, |
| 123 GLint y, | 131 GLint y, |
| 124 GLsizei width, | 132 GLsizei width, |
| 125 GLsizei height, | 133 GLsizei height, |
| 126 GLint border) { | 134 GLint border) { |
| 127 gles2::GetGLContext()->CopyTexImage2D(target, level, internalformat, x, y, | 135 gles2::GetGLContext()->CopyTexImage2D(target, level, internalformat, x, y, |
| 128 width, height, border); | 136 width, height, border); |
| (...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 }, | 1063 }, |
| 1056 { | 1064 { |
| 1057 "glCompressedTexImage2D", | 1065 "glCompressedTexImage2D", |
| 1058 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), | 1066 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), |
| 1059 }, | 1067 }, |
| 1060 { | 1068 { |
| 1061 "glCompressedTexSubImage2D", | 1069 "glCompressedTexSubImage2D", |
| 1062 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), | 1070 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), |
| 1063 }, | 1071 }, |
| 1064 { | 1072 { |
| 1073 "glCopyBufferSubData", |
| 1074 reinterpret_cast<GLES2FunctionPointer>(glCopyBufferSubData), |
| 1075 }, |
| 1076 { |
| 1065 "glCopyTexImage2D", | 1077 "glCopyTexImage2D", |
| 1066 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), | 1078 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), |
| 1067 }, | 1079 }, |
| 1068 { | 1080 { |
| 1069 "glCopyTexSubImage2D", | 1081 "glCopyTexSubImage2D", |
| 1070 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), | 1082 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), |
| 1071 }, | 1083 }, |
| 1072 { | 1084 { |
| 1073 "glCreateProgram", | 1085 "glCreateProgram", |
| 1074 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), | 1086 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1856 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 1868 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 1857 }, | 1869 }, |
| 1858 { | 1870 { |
| 1859 NULL, | 1871 NULL, |
| 1860 NULL, | 1872 NULL, |
| 1861 }, | 1873 }, |
| 1862 }; | 1874 }; |
| 1863 | 1875 |
| 1864 } // namespace gles2 | 1876 } // namespace gles2 |
| 1865 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1877 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |