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 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1386 } | 1386 } |
1387 void GLES2SwapInterval(GLint interval) { | 1387 void GLES2SwapInterval(GLint interval) { |
1388 gles2::GetGLContext()->SwapInterval(interval); | 1388 gles2::GetGLContext()->SwapInterval(interval); |
1389 } | 1389 } |
1390 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1390 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1391 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1391 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
1392 } | 1392 } |
1393 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1393 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1394 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 1394 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
1395 } | 1395 } |
| 1396 GLenum GLES2GetGraphicsResetStatusKHR() { |
| 1397 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); |
| 1398 } |
1396 void GLES2BlendBarrierKHR() { | 1399 void GLES2BlendBarrierKHR() { |
1397 gles2::GetGLContext()->BlendBarrierKHR(); | 1400 gles2::GetGLContext()->BlendBarrierKHR(); |
1398 } | 1401 } |
1399 | 1402 |
1400 namespace gles2 { | 1403 namespace gles2 { |
1401 | 1404 |
1402 extern const NameToFunc g_gles2_function_table[] = { | 1405 extern const NameToFunc g_gles2_function_table[] = { |
1403 { | 1406 { |
1404 "glActiveTexture", | 1407 "glActiveTexture", |
1405 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1408 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2613 }, | 2616 }, |
2614 { | 2617 { |
2615 "glMatrixLoadfCHROMIUM", | 2618 "glMatrixLoadfCHROMIUM", |
2616 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2619 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
2617 }, | 2620 }, |
2618 { | 2621 { |
2619 "glMatrixLoadIdentityCHROMIUM", | 2622 "glMatrixLoadIdentityCHROMIUM", |
2620 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 2623 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
2621 }, | 2624 }, |
2622 { | 2625 { |
| 2626 "glGetGraphicsResetStatusKHR", |
| 2627 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), |
| 2628 }, |
| 2629 { |
2623 "glBlendBarrierKHR", | 2630 "glBlendBarrierKHR", |
2624 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2631 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2625 }, | 2632 }, |
2626 { | 2633 { |
2627 NULL, | 2634 NULL, |
2628 NULL, | 2635 NULL, |
2629 }, | 2636 }, |
2630 }; | 2637 }; |
2631 | 2638 |
2632 } // namespace gles2 | 2639 } // namespace gles2 |
2633 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |