OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 void PolygonOffset(GLfloat factor, GLfloat units) { | 916 void PolygonOffset(GLfloat factor, GLfloat units) { |
917 gles2::cmds::PolygonOffset* c = GetCmdSpace<gles2::cmds::PolygonOffset>(); | 917 gles2::cmds::PolygonOffset* c = GetCmdSpace<gles2::cmds::PolygonOffset>(); |
918 if (c) { | 918 if (c) { |
919 c->Init(factor, units); | 919 c->Init(factor, units); |
920 } | 920 } |
921 } | 921 } |
922 | 922 |
923 void ReadPixels( | 923 void ReadPixels( |
924 GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, | 924 GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, |
925 GLenum type, uint32 pixels_shm_id, uint32 pixels_shm_offset, | 925 GLenum type, uint32 pixels_shm_id, uint32 pixels_shm_offset, |
926 uint32 result_shm_id, uint32 result_shm_offset) { | 926 uint32 result_shm_id, uint32 result_shm_offset, GLboolean async) { |
927 gles2::cmds::ReadPixels* c = GetCmdSpace<gles2::cmds::ReadPixels>(); | 927 gles2::cmds::ReadPixels* c = GetCmdSpace<gles2::cmds::ReadPixels>(); |
928 if (c) { | 928 if (c) { |
929 c->Init( | 929 c->Init( |
930 x, y, width, height, format, type, pixels_shm_id, pixels_shm_offset, | 930 x, y, width, height, format, type, pixels_shm_id, pixels_shm_offset, |
931 result_shm_id, result_shm_offset); | 931 result_shm_id, result_shm_offset, async); |
932 } | 932 } |
933 } | 933 } |
934 | 934 |
935 void ReleaseShaderCompiler() { | 935 void ReleaseShaderCompiler() { |
936 gles2::cmds::ReleaseShaderCompiler* c = | 936 gles2::cmds::ReleaseShaderCompiler* c = |
937 GetCmdSpace<gles2::cmds::ReleaseShaderCompiler>(); | 937 GetCmdSpace<gles2::cmds::ReleaseShaderCompiler>(); |
938 if (c) { | 938 if (c) { |
939 c->Init(); | 939 c->Init(); |
940 } | 940 } |
941 } | 941 } |
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 gles2::cmds::DrawBuffersEXTImmediate* c = | 2105 gles2::cmds::DrawBuffersEXTImmediate* c = |
2106 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>( | 2106 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>( |
2107 size); | 2107 size); |
2108 if (c) { | 2108 if (c) { |
2109 c->Init(count, bufs); | 2109 c->Init(count, bufs); |
2110 } | 2110 } |
2111 } | 2111 } |
2112 | 2112 |
2113 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2113 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
2114 | 2114 |
OLD | NEW |