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 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1394 GLfloat uv_y, | 1394 GLfloat uv_y, |
1395 GLfloat uv_width, | 1395 GLfloat uv_width, |
1396 GLfloat uv_height) { | 1396 GLfloat uv_height) { |
1397 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( | 1397 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( |
1398 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1398 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
1399 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1399 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
1400 } | 1400 } |
1401 void GLES2SwapInterval(GLint interval) { | 1401 void GLES2SwapInterval(GLint interval) { |
1402 gles2::GetGLContext()->SwapInterval(interval); | 1402 gles2::GetGLContext()->SwapInterval(interval); |
1403 } | 1403 } |
| 1404 void GLES2FlushDriverCachesCHROMIUM() { |
| 1405 gles2::GetGLContext()->FlushDriverCachesCHROMIUM(); |
| 1406 } |
1404 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1407 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1405 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1408 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
1406 } | 1409 } |
1407 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1410 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1408 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 1411 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
1409 } | 1412 } |
1410 GLenum GLES2GetGraphicsResetStatusKHR() { | 1413 GLenum GLES2GetGraphicsResetStatusKHR() { |
1411 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); | 1414 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); |
1412 } | 1415 } |
1413 void GLES2BlendBarrierKHR() { | 1416 void GLES2BlendBarrierKHR() { |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2626 }, | 2629 }, |
2627 { | 2630 { |
2628 "glScheduleOverlayPlaneCHROMIUM", | 2631 "glScheduleOverlayPlaneCHROMIUM", |
2629 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 2632 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
2630 }, | 2633 }, |
2631 { | 2634 { |
2632 "glSwapInterval", | 2635 "glSwapInterval", |
2633 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), | 2636 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), |
2634 }, | 2637 }, |
2635 { | 2638 { |
| 2639 "glFlushDriverCachesCHROMIUM", |
| 2640 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM), |
| 2641 }, |
| 2642 { |
2636 "glMatrixLoadfCHROMIUM", | 2643 "glMatrixLoadfCHROMIUM", |
2637 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2644 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
2638 }, | 2645 }, |
2639 { | 2646 { |
2640 "glMatrixLoadIdentityCHROMIUM", | 2647 "glMatrixLoadIdentityCHROMIUM", |
2641 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 2648 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
2642 }, | 2649 }, |
2643 { | 2650 { |
2644 "glGetGraphicsResetStatusKHR", | 2651 "glGetGraphicsResetStatusKHR", |
2645 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), | 2652 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), |
2646 }, | 2653 }, |
2647 { | 2654 { |
2648 "glBlendBarrierKHR", | 2655 "glBlendBarrierKHR", |
2649 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2656 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2650 }, | 2657 }, |
2651 { | 2658 { |
2652 NULL, | 2659 NULL, |
2653 NULL, | 2660 NULL, |
2654 }, | 2661 }, |
2655 }; | 2662 }; |
2656 | 2663 |
2657 } // namespace gles2 | 2664 } // namespace gles2 |
2658 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2665 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |