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 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2095 gles2::cmds::DrawBuffersEXTImmediate* c = | 2095 gles2::cmds::DrawBuffersEXTImmediate* c = |
2096 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>( | 2096 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>( |
2097 size); | 2097 size); |
2098 if (c) { | 2098 if (c) { |
2099 c->Init(count, bufs); | 2099 c->Init(count, bufs); |
2100 } | 2100 } |
2101 } | 2101 } |
2102 | 2102 |
2103 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2103 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
2104 | 2104 |
OLD | NEW |