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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 GLsizei width, | 160 GLsizei width, |
161 GLsizei height, | 161 GLsizei height, |
162 GLenum format, | 162 GLenum format, |
163 GLsizei imageSize, | 163 GLsizei imageSize, |
164 const void* data) { | 164 const void* data) { |
165 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompressedTexSubImage2D"); | 165 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompressedTexSubImage2D"); |
166 gl_->CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, | 166 gl_->CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, |
167 format, imageSize, data); | 167 format, imageSize, data); |
168 } | 168 } |
169 | 169 |
| 170 void GLES2TraceImplementation::CopyBufferSubData(GLenum readtarget, |
| 171 GLenum writetarget, |
| 172 GLintptr readoffset, |
| 173 GLintptr writeoffset, |
| 174 GLsizeiptr size) { |
| 175 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyBufferSubData"); |
| 176 gl_->CopyBufferSubData(readtarget, writetarget, readoffset, writeoffset, |
| 177 size); |
| 178 } |
| 179 |
170 void GLES2TraceImplementation::CopyTexImage2D(GLenum target, | 180 void GLES2TraceImplementation::CopyTexImage2D(GLenum target, |
171 GLint level, | 181 GLint level, |
172 GLenum internalformat, | 182 GLenum internalformat, |
173 GLint x, | 183 GLint x, |
174 GLint y, | 184 GLint y, |
175 GLsizei width, | 185 GLsizei width, |
176 GLsizei height, | 186 GLsizei height, |
177 GLint border) { | 187 GLint border) { |
178 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTexImage2D"); | 188 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTexImage2D"); |
179 gl_->CopyTexImage2D(target, level, internalformat, x, y, width, height, | 189 gl_->CopyTexImage2D(target, level, internalformat, x, y, width, height, |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 328 |
319 void GLES2TraceImplementation::FramebufferTexture2D(GLenum target, | 329 void GLES2TraceImplementation::FramebufferTexture2D(GLenum target, |
320 GLenum attachment, | 330 GLenum attachment, |
321 GLenum textarget, | 331 GLenum textarget, |
322 GLuint texture, | 332 GLuint texture, |
323 GLint level) { | 333 GLint level) { |
324 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferTexture2D"); | 334 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferTexture2D"); |
325 gl_->FramebufferTexture2D(target, attachment, textarget, texture, level); | 335 gl_->FramebufferTexture2D(target, attachment, textarget, texture, level); |
326 } | 336 } |
327 | 337 |
| 338 void GLES2TraceImplementation::FramebufferTextureLayer(GLenum target, |
| 339 GLenum attachment, |
| 340 GLuint texture, |
| 341 GLint level, |
| 342 GLint layer) { |
| 343 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferTextureLayer"); |
| 344 gl_->FramebufferTextureLayer(target, attachment, texture, level, layer); |
| 345 } |
| 346 |
328 void GLES2TraceImplementation::FrontFace(GLenum mode) { | 347 void GLES2TraceImplementation::FrontFace(GLenum mode) { |
329 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FrontFace"); | 348 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FrontFace"); |
330 gl_->FrontFace(mode); | 349 gl_->FrontFace(mode); |
331 } | 350 } |
332 | 351 |
333 void GLES2TraceImplementation::GenBuffers(GLsizei n, GLuint* buffers) { | 352 void GLES2TraceImplementation::GenBuffers(GLsizei n, GLuint* buffers) { |
334 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenBuffers"); | 353 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenBuffers"); |
335 gl_->GenBuffers(n, buffers); | 354 gl_->GenBuffers(n, buffers); |
336 } | 355 } |
337 | 356 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 TRACE_EVENT_BINARY_EFFICIENT0( | 442 TRACE_EVENT_BINARY_EFFICIENT0( |
424 "gpu", "GLES2Trace::GetFramebufferAttachmentParameteriv"); | 443 "gpu", "GLES2Trace::GetFramebufferAttachmentParameteriv"); |
425 gl_->GetFramebufferAttachmentParameteriv(target, attachment, pname, params); | 444 gl_->GetFramebufferAttachmentParameteriv(target, attachment, pname, params); |
426 } | 445 } |
427 | 446 |
428 void GLES2TraceImplementation::GetIntegerv(GLenum pname, GLint* params) { | 447 void GLES2TraceImplementation::GetIntegerv(GLenum pname, GLint* params) { |
429 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetIntegerv"); | 448 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetIntegerv"); |
430 gl_->GetIntegerv(pname, params); | 449 gl_->GetIntegerv(pname, params); |
431 } | 450 } |
432 | 451 |
| 452 void GLES2TraceImplementation::GetInternalformativ(GLenum target, |
| 453 GLenum format, |
| 454 GLenum pname, |
| 455 GLsizei bufSize, |
| 456 GLint* params) { |
| 457 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetInternalformativ"); |
| 458 gl_->GetInternalformativ(target, format, pname, bufSize, params); |
| 459 } |
| 460 |
433 void GLES2TraceImplementation::GetProgramiv(GLuint program, | 461 void GLES2TraceImplementation::GetProgramiv(GLuint program, |
434 GLenum pname, | 462 GLenum pname, |
435 GLint* params) { | 463 GLint* params) { |
436 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetProgramiv"); | 464 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetProgramiv"); |
437 gl_->GetProgramiv(program, pname, params); | 465 gl_->GetProgramiv(program, pname, params); |
438 } | 466 } |
439 | 467 |
440 void GLES2TraceImplementation::GetProgramInfoLog(GLuint program, | 468 void GLES2TraceImplementation::GetProgramInfoLog(GLuint program, |
441 GLsizei bufsize, | 469 GLsizei bufsize, |
442 GLsizei* length, | 470 GLsizei* length, |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 gl_->TexParameteri(target, pname, param); | 772 gl_->TexParameteri(target, pname, param); |
745 } | 773 } |
746 | 774 |
747 void GLES2TraceImplementation::TexParameteriv(GLenum target, | 775 void GLES2TraceImplementation::TexParameteriv(GLenum target, |
748 GLenum pname, | 776 GLenum pname, |
749 const GLint* params) { | 777 const GLint* params) { |
750 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv"); | 778 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv"); |
751 gl_->TexParameteriv(target, pname, params); | 779 gl_->TexParameteriv(target, pname, params); |
752 } | 780 } |
753 | 781 |
| 782 void GLES2TraceImplementation::TexStorage3D(GLenum target, |
| 783 GLsizei levels, |
| 784 GLenum internalFormat, |
| 785 GLsizei width, |
| 786 GLsizei height, |
| 787 GLsizei depth) { |
| 788 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexStorage3D"); |
| 789 gl_->TexStorage3D(target, levels, internalFormat, width, height, depth); |
| 790 } |
| 791 |
754 void GLES2TraceImplementation::TexSubImage2D(GLenum target, | 792 void GLES2TraceImplementation::TexSubImage2D(GLenum target, |
755 GLint level, | 793 GLint level, |
756 GLint xoffset, | 794 GLint xoffset, |
757 GLint yoffset, | 795 GLint yoffset, |
758 GLsizei width, | 796 GLsizei width, |
759 GLsizei height, | 797 GLsizei height, |
760 GLenum format, | 798 GLenum format, |
761 GLenum type, | 799 GLenum type, |
762 const void* pixels) { | 800 const void* pixels) { |
763 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D"); | 801 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D"); |
(...skipping 18 matching lines...) Expand all Loading... |
782 gl_->Uniform1i(location, x); | 820 gl_->Uniform1i(location, x); |
783 } | 821 } |
784 | 822 |
785 void GLES2TraceImplementation::Uniform1iv(GLint location, | 823 void GLES2TraceImplementation::Uniform1iv(GLint location, |
786 GLsizei count, | 824 GLsizei count, |
787 const GLint* v) { | 825 const GLint* v) { |
788 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1iv"); | 826 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1iv"); |
789 gl_->Uniform1iv(location, count, v); | 827 gl_->Uniform1iv(location, count, v); |
790 } | 828 } |
791 | 829 |
| 830 void GLES2TraceImplementation::Uniform1ui(GLint location, GLuint x) { |
| 831 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1ui"); |
| 832 gl_->Uniform1ui(location, x); |
| 833 } |
| 834 |
| 835 void GLES2TraceImplementation::Uniform1uiv(GLint location, |
| 836 GLsizei count, |
| 837 const GLuint* v) { |
| 838 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1uiv"); |
| 839 gl_->Uniform1uiv(location, count, v); |
| 840 } |
| 841 |
792 void GLES2TraceImplementation::Uniform2f(GLint location, GLfloat x, GLfloat y) { | 842 void GLES2TraceImplementation::Uniform2f(GLint location, GLfloat x, GLfloat y) { |
793 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2f"); | 843 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2f"); |
794 gl_->Uniform2f(location, x, y); | 844 gl_->Uniform2f(location, x, y); |
795 } | 845 } |
796 | 846 |
797 void GLES2TraceImplementation::Uniform2fv(GLint location, | 847 void GLES2TraceImplementation::Uniform2fv(GLint location, |
798 GLsizei count, | 848 GLsizei count, |
799 const GLfloat* v) { | 849 const GLfloat* v) { |
800 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2fv"); | 850 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2fv"); |
801 gl_->Uniform2fv(location, count, v); | 851 gl_->Uniform2fv(location, count, v); |
802 } | 852 } |
803 | 853 |
804 void GLES2TraceImplementation::Uniform2i(GLint location, GLint x, GLint y) { | 854 void GLES2TraceImplementation::Uniform2i(GLint location, GLint x, GLint y) { |
805 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2i"); | 855 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2i"); |
806 gl_->Uniform2i(location, x, y); | 856 gl_->Uniform2i(location, x, y); |
807 } | 857 } |
808 | 858 |
809 void GLES2TraceImplementation::Uniform2iv(GLint location, | 859 void GLES2TraceImplementation::Uniform2iv(GLint location, |
810 GLsizei count, | 860 GLsizei count, |
811 const GLint* v) { | 861 const GLint* v) { |
812 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2iv"); | 862 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2iv"); |
813 gl_->Uniform2iv(location, count, v); | 863 gl_->Uniform2iv(location, count, v); |
814 } | 864 } |
815 | 865 |
| 866 void GLES2TraceImplementation::Uniform2ui(GLint location, GLuint x, GLuint y) { |
| 867 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2ui"); |
| 868 gl_->Uniform2ui(location, x, y); |
| 869 } |
| 870 |
| 871 void GLES2TraceImplementation::Uniform2uiv(GLint location, |
| 872 GLsizei count, |
| 873 const GLuint* v) { |
| 874 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2uiv"); |
| 875 gl_->Uniform2uiv(location, count, v); |
| 876 } |
| 877 |
816 void GLES2TraceImplementation::Uniform3f(GLint location, | 878 void GLES2TraceImplementation::Uniform3f(GLint location, |
817 GLfloat x, | 879 GLfloat x, |
818 GLfloat y, | 880 GLfloat y, |
819 GLfloat z) { | 881 GLfloat z) { |
820 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3f"); | 882 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3f"); |
821 gl_->Uniform3f(location, x, y, z); | 883 gl_->Uniform3f(location, x, y, z); |
822 } | 884 } |
823 | 885 |
824 void GLES2TraceImplementation::Uniform3fv(GLint location, | 886 void GLES2TraceImplementation::Uniform3fv(GLint location, |
825 GLsizei count, | 887 GLsizei count, |
(...skipping 10 matching lines...) Expand all Loading... |
836 gl_->Uniform3i(location, x, y, z); | 898 gl_->Uniform3i(location, x, y, z); |
837 } | 899 } |
838 | 900 |
839 void GLES2TraceImplementation::Uniform3iv(GLint location, | 901 void GLES2TraceImplementation::Uniform3iv(GLint location, |
840 GLsizei count, | 902 GLsizei count, |
841 const GLint* v) { | 903 const GLint* v) { |
842 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3iv"); | 904 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3iv"); |
843 gl_->Uniform3iv(location, count, v); | 905 gl_->Uniform3iv(location, count, v); |
844 } | 906 } |
845 | 907 |
| 908 void GLES2TraceImplementation::Uniform3ui(GLint location, |
| 909 GLuint x, |
| 910 GLuint y, |
| 911 GLuint z) { |
| 912 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3ui"); |
| 913 gl_->Uniform3ui(location, x, y, z); |
| 914 } |
| 915 |
| 916 void GLES2TraceImplementation::Uniform3uiv(GLint location, |
| 917 GLsizei count, |
| 918 const GLuint* v) { |
| 919 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3uiv"); |
| 920 gl_->Uniform3uiv(location, count, v); |
| 921 } |
| 922 |
846 void GLES2TraceImplementation::Uniform4f(GLint location, | 923 void GLES2TraceImplementation::Uniform4f(GLint location, |
847 GLfloat x, | 924 GLfloat x, |
848 GLfloat y, | 925 GLfloat y, |
849 GLfloat z, | 926 GLfloat z, |
850 GLfloat w) { | 927 GLfloat w) { |
851 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4f"); | 928 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4f"); |
852 gl_->Uniform4f(location, x, y, z, w); | 929 gl_->Uniform4f(location, x, y, z, w); |
853 } | 930 } |
854 | 931 |
855 void GLES2TraceImplementation::Uniform4fv(GLint location, | 932 void GLES2TraceImplementation::Uniform4fv(GLint location, |
(...skipping 12 matching lines...) Expand all Loading... |
868 gl_->Uniform4i(location, x, y, z, w); | 945 gl_->Uniform4i(location, x, y, z, w); |
869 } | 946 } |
870 | 947 |
871 void GLES2TraceImplementation::Uniform4iv(GLint location, | 948 void GLES2TraceImplementation::Uniform4iv(GLint location, |
872 GLsizei count, | 949 GLsizei count, |
873 const GLint* v) { | 950 const GLint* v) { |
874 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4iv"); | 951 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4iv"); |
875 gl_->Uniform4iv(location, count, v); | 952 gl_->Uniform4iv(location, count, v); |
876 } | 953 } |
877 | 954 |
| 955 void GLES2TraceImplementation::Uniform4ui(GLint location, |
| 956 GLuint x, |
| 957 GLuint y, |
| 958 GLuint z, |
| 959 GLuint w) { |
| 960 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4ui"); |
| 961 gl_->Uniform4ui(location, x, y, z, w); |
| 962 } |
| 963 |
| 964 void GLES2TraceImplementation::Uniform4uiv(GLint location, |
| 965 GLsizei count, |
| 966 const GLuint* v) { |
| 967 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4uiv"); |
| 968 gl_->Uniform4uiv(location, count, v); |
| 969 } |
| 970 |
878 void GLES2TraceImplementation::UniformMatrix2fv(GLint location, | 971 void GLES2TraceImplementation::UniformMatrix2fv(GLint location, |
879 GLsizei count, | 972 GLsizei count, |
880 GLboolean transpose, | 973 GLboolean transpose, |
881 const GLfloat* value) { | 974 const GLfloat* value) { |
882 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2fv"); | 975 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2fv"); |
883 gl_->UniformMatrix2fv(location, count, transpose, value); | 976 gl_->UniformMatrix2fv(location, count, transpose, value); |
884 } | 977 } |
885 | 978 |
| 979 void GLES2TraceImplementation::UniformMatrix2x3fv(GLint location, |
| 980 GLsizei count, |
| 981 GLboolean transpose, |
| 982 const GLfloat* value) { |
| 983 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2x3fv"); |
| 984 gl_->UniformMatrix2x3fv(location, count, transpose, value); |
| 985 } |
| 986 |
| 987 void GLES2TraceImplementation::UniformMatrix2x4fv(GLint location, |
| 988 GLsizei count, |
| 989 GLboolean transpose, |
| 990 const GLfloat* value) { |
| 991 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2x4fv"); |
| 992 gl_->UniformMatrix2x4fv(location, count, transpose, value); |
| 993 } |
| 994 |
886 void GLES2TraceImplementation::UniformMatrix3fv(GLint location, | 995 void GLES2TraceImplementation::UniformMatrix3fv(GLint location, |
887 GLsizei count, | 996 GLsizei count, |
888 GLboolean transpose, | 997 GLboolean transpose, |
889 const GLfloat* value) { | 998 const GLfloat* value) { |
890 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3fv"); | 999 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3fv"); |
891 gl_->UniformMatrix3fv(location, count, transpose, value); | 1000 gl_->UniformMatrix3fv(location, count, transpose, value); |
892 } | 1001 } |
893 | 1002 |
| 1003 void GLES2TraceImplementation::UniformMatrix3x2fv(GLint location, |
| 1004 GLsizei count, |
| 1005 GLboolean transpose, |
| 1006 const GLfloat* value) { |
| 1007 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3x2fv"); |
| 1008 gl_->UniformMatrix3x2fv(location, count, transpose, value); |
| 1009 } |
| 1010 |
| 1011 void GLES2TraceImplementation::UniformMatrix3x4fv(GLint location, |
| 1012 GLsizei count, |
| 1013 GLboolean transpose, |
| 1014 const GLfloat* value) { |
| 1015 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3x4fv"); |
| 1016 gl_->UniformMatrix3x4fv(location, count, transpose, value); |
| 1017 } |
| 1018 |
894 void GLES2TraceImplementation::UniformMatrix4fv(GLint location, | 1019 void GLES2TraceImplementation::UniformMatrix4fv(GLint location, |
895 GLsizei count, | 1020 GLsizei count, |
896 GLboolean transpose, | 1021 GLboolean transpose, |
897 const GLfloat* value) { | 1022 const GLfloat* value) { |
898 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4fv"); | 1023 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4fv"); |
899 gl_->UniformMatrix4fv(location, count, transpose, value); | 1024 gl_->UniformMatrix4fv(location, count, transpose, value); |
900 } | 1025 } |
901 | 1026 |
| 1027 void GLES2TraceImplementation::UniformMatrix4x2fv(GLint location, |
| 1028 GLsizei count, |
| 1029 GLboolean transpose, |
| 1030 const GLfloat* value) { |
| 1031 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4x2fv"); |
| 1032 gl_->UniformMatrix4x2fv(location, count, transpose, value); |
| 1033 } |
| 1034 |
| 1035 void GLES2TraceImplementation::UniformMatrix4x3fv(GLint location, |
| 1036 GLsizei count, |
| 1037 GLboolean transpose, |
| 1038 const GLfloat* value) { |
| 1039 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4x3fv"); |
| 1040 gl_->UniformMatrix4x3fv(location, count, transpose, value); |
| 1041 } |
| 1042 |
902 void GLES2TraceImplementation::UseProgram(GLuint program) { | 1043 void GLES2TraceImplementation::UseProgram(GLuint program) { |
903 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UseProgram"); | 1044 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UseProgram"); |
904 gl_->UseProgram(program); | 1045 gl_->UseProgram(program); |
905 } | 1046 } |
906 | 1047 |
907 void GLES2TraceImplementation::ValidateProgram(GLuint program) { | 1048 void GLES2TraceImplementation::ValidateProgram(GLuint program) { |
908 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ValidateProgram"); | 1049 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ValidateProgram"); |
909 gl_->ValidateProgram(program); | 1050 gl_->ValidateProgram(program); |
910 } | 1051 } |
911 | 1052 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
955 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib4f"); | 1096 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib4f"); |
956 gl_->VertexAttrib4f(indx, x, y, z, w); | 1097 gl_->VertexAttrib4f(indx, x, y, z, w); |
957 } | 1098 } |
958 | 1099 |
959 void GLES2TraceImplementation::VertexAttrib4fv(GLuint indx, | 1100 void GLES2TraceImplementation::VertexAttrib4fv(GLuint indx, |
960 const GLfloat* values) { | 1101 const GLfloat* values) { |
961 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib4fv"); | 1102 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib4fv"); |
962 gl_->VertexAttrib4fv(indx, values); | 1103 gl_->VertexAttrib4fv(indx, values); |
963 } | 1104 } |
964 | 1105 |
| 1106 void GLES2TraceImplementation::VertexAttribI4i(GLuint indx, |
| 1107 GLint x, |
| 1108 GLint y, |
| 1109 GLint z, |
| 1110 GLint w) { |
| 1111 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4i"); |
| 1112 gl_->VertexAttribI4i(indx, x, y, z, w); |
| 1113 } |
| 1114 |
| 1115 void GLES2TraceImplementation::VertexAttribI4iv(GLuint indx, |
| 1116 const GLint* values) { |
| 1117 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4iv"); |
| 1118 gl_->VertexAttribI4iv(indx, values); |
| 1119 } |
| 1120 |
| 1121 void GLES2TraceImplementation::VertexAttribI4ui(GLuint indx, |
| 1122 GLuint x, |
| 1123 GLuint y, |
| 1124 GLuint z, |
| 1125 GLuint w) { |
| 1126 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4ui"); |
| 1127 gl_->VertexAttribI4ui(indx, x, y, z, w); |
| 1128 } |
| 1129 |
| 1130 void GLES2TraceImplementation::VertexAttribI4uiv(GLuint indx, |
| 1131 const GLuint* values) { |
| 1132 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4uiv"); |
| 1133 gl_->VertexAttribI4uiv(indx, values); |
| 1134 } |
| 1135 |
| 1136 void GLES2TraceImplementation::VertexAttribIPointer(GLuint indx, |
| 1137 GLint size, |
| 1138 GLenum type, |
| 1139 GLsizei stride, |
| 1140 const void* ptr) { |
| 1141 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribIPointer"); |
| 1142 gl_->VertexAttribIPointer(indx, size, type, stride, ptr); |
| 1143 } |
| 1144 |
965 void GLES2TraceImplementation::VertexAttribPointer(GLuint indx, | 1145 void GLES2TraceImplementation::VertexAttribPointer(GLuint indx, |
966 GLint size, | 1146 GLint size, |
967 GLenum type, | 1147 GLenum type, |
968 GLboolean normalized, | 1148 GLboolean normalized, |
969 GLsizei stride, | 1149 GLsizei stride, |
970 const void* ptr) { | 1150 const void* ptr) { |
971 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribPointer"); | 1151 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribPointer"); |
972 gl_->VertexAttribPointer(indx, size, type, normalized, stride, ptr); | 1152 gl_->VertexAttribPointer(indx, size, type, normalized, stride, ptr); |
973 } | 1153 } |
974 | 1154 |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1522 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); | 1702 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); |
1523 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); | 1703 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); |
1524 } | 1704 } |
1525 | 1705 |
1526 void GLES2TraceImplementation::BlendBarrierKHR() { | 1706 void GLES2TraceImplementation::BlendBarrierKHR() { |
1527 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); | 1707 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); |
1528 gl_->BlendBarrierKHR(); | 1708 gl_->BlendBarrierKHR(); |
1529 } | 1709 } |
1530 | 1710 |
1531 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 1711 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |