Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 void BindRenderbuffer(GLenum target, GLuint renderbuffer) { 52 void BindRenderbuffer(GLenum target, GLuint renderbuffer) {
53 gles2::cmds::BindRenderbuffer* c = 53 gles2::cmds::BindRenderbuffer* c =
54 GetCmdSpace<gles2::cmds::BindRenderbuffer>(); 54 GetCmdSpace<gles2::cmds::BindRenderbuffer>();
55 if (c) { 55 if (c) {
56 c->Init(target, renderbuffer); 56 c->Init(target, renderbuffer);
57 } 57 }
58 } 58 }
59 59
60 void BindSampler(GLuint unit, GLuint sampler) {
61 gles2::cmds::BindSampler* c = GetCmdSpace<gles2::cmds::BindSampler>();
62 if (c) {
63 c->Init(unit, sampler);
64 }
65 }
66
60 void BindTexture(GLenum target, GLuint texture) { 67 void BindTexture(GLenum target, GLuint texture) {
61 gles2::cmds::BindTexture* c = GetCmdSpace<gles2::cmds::BindTexture>(); 68 gles2::cmds::BindTexture* c = GetCmdSpace<gles2::cmds::BindTexture>();
62 if (c) { 69 if (c) {
63 c->Init(target, texture); 70 c->Init(target, texture);
64 } 71 }
65 } 72 }
66 73
74 void BindTransformFeedback(GLenum target, GLuint transformfeedback) {
75 gles2::cmds::BindTransformFeedback* c =
76 GetCmdSpace<gles2::cmds::BindTransformFeedback>();
77 if (c) {
78 c->Init(target, transformfeedback);
79 }
80 }
81
67 void BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { 82 void BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
68 gles2::cmds::BlendColor* c = GetCmdSpace<gles2::cmds::BlendColor>(); 83 gles2::cmds::BlendColor* c = GetCmdSpace<gles2::cmds::BlendColor>();
69 if (c) { 84 if (c) {
70 c->Init(red, green, blue, alpha); 85 c->Init(red, green, blue, alpha);
71 } 86 }
72 } 87 }
73 88
74 void BlendEquation(GLenum mode) { 89 void BlendEquation(GLenum mode) {
75 gles2::cmds::BlendEquation* c = GetCmdSpace<gles2::cmds::BlendEquation>(); 90 gles2::cmds::BlendEquation* c = GetCmdSpace<gles2::cmds::BlendEquation>();
76 if (c) { 91 if (c) {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 const uint32_t size = 350 const uint32_t size =
336 gles2::cmds::DeleteRenderbuffersImmediate::ComputeSize(n); 351 gles2::cmds::DeleteRenderbuffersImmediate::ComputeSize(n);
337 gles2::cmds::DeleteRenderbuffersImmediate* c = 352 gles2::cmds::DeleteRenderbuffersImmediate* c =
338 GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteRenderbuffersImmediate>( 353 GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteRenderbuffersImmediate>(
339 size); 354 size);
340 if (c) { 355 if (c) {
341 c->Init(n, renderbuffers); 356 c->Init(n, renderbuffers);
342 } 357 }
343 } 358 }
344 359
360 void DeleteSamplersImmediate(GLsizei n, const GLuint* samplers) {
361 const uint32_t size = gles2::cmds::DeleteSamplersImmediate::ComputeSize(n);
362 gles2::cmds::DeleteSamplersImmediate* c =
363 GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteSamplersImmediate>(size);
364 if (c) {
365 c->Init(n, samplers);
366 }
367 }
368
345 void DeleteShader(GLuint shader) { 369 void DeleteShader(GLuint shader) {
346 gles2::cmds::DeleteShader* c = GetCmdSpace<gles2::cmds::DeleteShader>(); 370 gles2::cmds::DeleteShader* c = GetCmdSpace<gles2::cmds::DeleteShader>();
347 if (c) { 371 if (c) {
348 c->Init(shader); 372 c->Init(shader);
349 } 373 }
350 } 374 }
351 375
352 void DeleteTexturesImmediate(GLsizei n, const GLuint* textures) { 376 void DeleteTexturesImmediate(GLsizei n, const GLuint* textures) {
353 const uint32_t size = gles2::cmds::DeleteTexturesImmediate::ComputeSize(n); 377 const uint32_t size = gles2::cmds::DeleteTexturesImmediate::ComputeSize(n);
354 gles2::cmds::DeleteTexturesImmediate* c = 378 gles2::cmds::DeleteTexturesImmediate* c =
355 GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteTexturesImmediate>(size); 379 GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteTexturesImmediate>(size);
356 if (c) { 380 if (c) {
357 c->Init(n, textures); 381 c->Init(n, textures);
358 } 382 }
359 } 383 }
360 384
385 void DeleteTransformFeedbacksImmediate(GLsizei n, const GLuint* ids) {
386 const uint32_t size =
387 gles2::cmds::DeleteTransformFeedbacksImmediate::ComputeSize(n);
388 gles2::cmds::DeleteTransformFeedbacksImmediate* c =
389 GetImmediateCmdSpaceTotalSize<
390 gles2::cmds::DeleteTransformFeedbacksImmediate>(size);
391 if (c) {
392 c->Init(n, ids);
393 }
394 }
395
361 void DepthFunc(GLenum func) { 396 void DepthFunc(GLenum func) {
362 gles2::cmds::DepthFunc* c = GetCmdSpace<gles2::cmds::DepthFunc>(); 397 gles2::cmds::DepthFunc* c = GetCmdSpace<gles2::cmds::DepthFunc>();
363 if (c) { 398 if (c) {
364 c->Init(func); 399 c->Init(func);
365 } 400 }
366 } 401 }
367 402
368 void DepthMask(GLboolean flag) { 403 void DepthMask(GLboolean flag) {
369 gles2::cmds::DepthMask* c = GetCmdSpace<gles2::cmds::DepthMask>(); 404 gles2::cmds::DepthMask* c = GetCmdSpace<gles2::cmds::DepthMask>();
370 if (c) { 405 if (c) {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 void GenRenderbuffersImmediate(GLsizei n, GLuint* renderbuffers) { 552 void GenRenderbuffersImmediate(GLsizei n, GLuint* renderbuffers) {
518 const uint32_t size = gles2::cmds::GenRenderbuffersImmediate::ComputeSize(n); 553 const uint32_t size = gles2::cmds::GenRenderbuffersImmediate::ComputeSize(n);
519 gles2::cmds::GenRenderbuffersImmediate* c = 554 gles2::cmds::GenRenderbuffersImmediate* c =
520 GetImmediateCmdSpaceTotalSize<gles2::cmds::GenRenderbuffersImmediate>( 555 GetImmediateCmdSpaceTotalSize<gles2::cmds::GenRenderbuffersImmediate>(
521 size); 556 size);
522 if (c) { 557 if (c) {
523 c->Init(n, renderbuffers); 558 c->Init(n, renderbuffers);
524 } 559 }
525 } 560 }
526 561
562 void GenSamplersImmediate(GLsizei n, GLuint* samplers) {
563 const uint32_t size = gles2::cmds::GenSamplersImmediate::ComputeSize(n);
564 gles2::cmds::GenSamplersImmediate* c =
565 GetImmediateCmdSpaceTotalSize<gles2::cmds::GenSamplersImmediate>(size);
566 if (c) {
567 c->Init(n, samplers);
568 }
569 }
570
527 void GenTexturesImmediate(GLsizei n, GLuint* textures) { 571 void GenTexturesImmediate(GLsizei n, GLuint* textures) {
528 const uint32_t size = gles2::cmds::GenTexturesImmediate::ComputeSize(n); 572 const uint32_t size = gles2::cmds::GenTexturesImmediate::ComputeSize(n);
529 gles2::cmds::GenTexturesImmediate* c = 573 gles2::cmds::GenTexturesImmediate* c =
530 GetImmediateCmdSpaceTotalSize<gles2::cmds::GenTexturesImmediate>(size); 574 GetImmediateCmdSpaceTotalSize<gles2::cmds::GenTexturesImmediate>(size);
531 if (c) { 575 if (c) {
532 c->Init(n, textures); 576 c->Init(n, textures);
533 } 577 }
534 } 578 }
535 579
580 void GenTransformFeedbacksImmediate(GLsizei n, GLuint* ids) {
581 const uint32_t size =
582 gles2::cmds::GenTransformFeedbacksImmediate::ComputeSize(n);
583 gles2::cmds::GenTransformFeedbacksImmediate* c =
584 GetImmediateCmdSpaceTotalSize<
585 gles2::cmds::GenTransformFeedbacksImmediate>(size);
586 if (c) {
587 c->Init(n, ids);
588 }
589 }
590
536 void GetActiveAttrib(GLuint program, 591 void GetActiveAttrib(GLuint program,
537 GLuint index, 592 GLuint index,
538 uint32_t name_bucket_id, 593 uint32_t name_bucket_id,
539 uint32_t result_shm_id, 594 uint32_t result_shm_id,
540 uint32_t result_shm_offset) { 595 uint32_t result_shm_offset) {
541 gles2::cmds::GetActiveAttrib* c = GetCmdSpace<gles2::cmds::GetActiveAttrib>(); 596 gles2::cmds::GetActiveAttrib* c = GetCmdSpace<gles2::cmds::GetActiveAttrib>();
542 if (c) { 597 if (c) {
543 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset); 598 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset);
544 } 599 }
545 } 600 }
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 GLenum pname, 725 GLenum pname,
671 uint32_t params_shm_id, 726 uint32_t params_shm_id,
672 uint32_t params_shm_offset) { 727 uint32_t params_shm_offset) {
673 gles2::cmds::GetRenderbufferParameteriv* c = 728 gles2::cmds::GetRenderbufferParameteriv* c =
674 GetCmdSpace<gles2::cmds::GetRenderbufferParameteriv>(); 729 GetCmdSpace<gles2::cmds::GetRenderbufferParameteriv>();
675 if (c) { 730 if (c) {
676 c->Init(target, pname, params_shm_id, params_shm_offset); 731 c->Init(target, pname, params_shm_id, params_shm_offset);
677 } 732 }
678 } 733 }
679 734
735 void GetSamplerParameterfv(GLuint sampler,
736 GLenum pname,
737 uint32_t params_shm_id,
738 uint32_t params_shm_offset) {
739 gles2::cmds::GetSamplerParameterfv* c =
740 GetCmdSpace<gles2::cmds::GetSamplerParameterfv>();
741 if (c) {
742 c->Init(sampler, pname, params_shm_id, params_shm_offset);
743 }
744 }
745
746 void GetSamplerParameteriv(GLuint sampler,
747 GLenum pname,
748 uint32_t params_shm_id,
749 uint32_t params_shm_offset) {
750 gles2::cmds::GetSamplerParameteriv* c =
751 GetCmdSpace<gles2::cmds::GetSamplerParameteriv>();
752 if (c) {
753 c->Init(sampler, pname, params_shm_id, params_shm_offset);
754 }
755 }
756
680 void GetShaderiv(GLuint shader, 757 void GetShaderiv(GLuint shader,
681 GLenum pname, 758 GLenum pname,
682 uint32_t params_shm_id, 759 uint32_t params_shm_id,
683 uint32_t params_shm_offset) { 760 uint32_t params_shm_offset) {
684 gles2::cmds::GetShaderiv* c = GetCmdSpace<gles2::cmds::GetShaderiv>(); 761 gles2::cmds::GetShaderiv* c = GetCmdSpace<gles2::cmds::GetShaderiv>();
685 if (c) { 762 if (c) {
686 c->Init(shader, pname, params_shm_id, params_shm_offset); 763 c->Init(shader, pname, params_shm_id, params_shm_offset);
687 } 764 }
688 } 765 }
689 766
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 956
880 void IsRenderbuffer(GLuint renderbuffer, 957 void IsRenderbuffer(GLuint renderbuffer,
881 uint32_t result_shm_id, 958 uint32_t result_shm_id,
882 uint32_t result_shm_offset) { 959 uint32_t result_shm_offset) {
883 gles2::cmds::IsRenderbuffer* c = GetCmdSpace<gles2::cmds::IsRenderbuffer>(); 960 gles2::cmds::IsRenderbuffer* c = GetCmdSpace<gles2::cmds::IsRenderbuffer>();
884 if (c) { 961 if (c) {
885 c->Init(renderbuffer, result_shm_id, result_shm_offset); 962 c->Init(renderbuffer, result_shm_id, result_shm_offset);
886 } 963 }
887 } 964 }
888 965
966 void IsSampler(GLuint sampler,
967 uint32_t result_shm_id,
968 uint32_t result_shm_offset) {
969 gles2::cmds::IsSampler* c = GetCmdSpace<gles2::cmds::IsSampler>();
970 if (c) {
971 c->Init(sampler, result_shm_id, result_shm_offset);
972 }
973 }
974
889 void IsShader(GLuint shader, 975 void IsShader(GLuint shader,
890 uint32_t result_shm_id, 976 uint32_t result_shm_id,
891 uint32_t result_shm_offset) { 977 uint32_t result_shm_offset) {
892 gles2::cmds::IsShader* c = GetCmdSpace<gles2::cmds::IsShader>(); 978 gles2::cmds::IsShader* c = GetCmdSpace<gles2::cmds::IsShader>();
893 if (c) { 979 if (c) {
894 c->Init(shader, result_shm_id, result_shm_offset); 980 c->Init(shader, result_shm_id, result_shm_offset);
895 } 981 }
896 } 982 }
897 983
898 void IsTexture(GLuint texture, 984 void IsTexture(GLuint texture,
899 uint32_t result_shm_id, 985 uint32_t result_shm_id,
900 uint32_t result_shm_offset) { 986 uint32_t result_shm_offset) {
901 gles2::cmds::IsTexture* c = GetCmdSpace<gles2::cmds::IsTexture>(); 987 gles2::cmds::IsTexture* c = GetCmdSpace<gles2::cmds::IsTexture>();
902 if (c) { 988 if (c) {
903 c->Init(texture, result_shm_id, result_shm_offset); 989 c->Init(texture, result_shm_id, result_shm_offset);
904 } 990 }
905 } 991 }
906 992
993 void IsTransformFeedback(GLuint transformfeedback,
994 uint32_t result_shm_id,
995 uint32_t result_shm_offset) {
996 gles2::cmds::IsTransformFeedback* c =
997 GetCmdSpace<gles2::cmds::IsTransformFeedback>();
998 if (c) {
999 c->Init(transformfeedback, result_shm_id, result_shm_offset);
1000 }
1001 }
1002
907 void LineWidth(GLfloat width) { 1003 void LineWidth(GLfloat width) {
908 gles2::cmds::LineWidth* c = GetCmdSpace<gles2::cmds::LineWidth>(); 1004 gles2::cmds::LineWidth* c = GetCmdSpace<gles2::cmds::LineWidth>();
909 if (c) { 1005 if (c) {
910 c->Init(width); 1006 c->Init(width);
911 } 1007 }
912 } 1008 }
913 1009
914 void LinkProgram(GLuint program) { 1010 void LinkProgram(GLuint program) {
915 gles2::cmds::LinkProgram* c = GetCmdSpace<gles2::cmds::LinkProgram>(); 1011 gles2::cmds::LinkProgram* c = GetCmdSpace<gles2::cmds::LinkProgram>();
916 if (c) { 1012 if (c) {
917 c->Init(program); 1013 c->Init(program);
918 } 1014 }
919 } 1015 }
920 1016
1017 void PauseTransformFeedback() {
1018 gles2::cmds::PauseTransformFeedback* c =
1019 GetCmdSpace<gles2::cmds::PauseTransformFeedback>();
1020 if (c) {
1021 c->Init();
1022 }
1023 }
1024
921 void PixelStorei(GLenum pname, GLint param) { 1025 void PixelStorei(GLenum pname, GLint param) {
922 gles2::cmds::PixelStorei* c = GetCmdSpace<gles2::cmds::PixelStorei>(); 1026 gles2::cmds::PixelStorei* c = GetCmdSpace<gles2::cmds::PixelStorei>();
923 if (c) { 1027 if (c) {
924 c->Init(pname, param); 1028 c->Init(pname, param);
925 } 1029 }
926 } 1030 }
927 1031
928 void PolygonOffset(GLfloat factor, GLfloat units) { 1032 void PolygonOffset(GLfloat factor, GLfloat units) {
929 gles2::cmds::PolygonOffset* c = GetCmdSpace<gles2::cmds::PolygonOffset>(); 1033 gles2::cmds::PolygonOffset* c = GetCmdSpace<gles2::cmds::PolygonOffset>();
930 if (c) { 1034 if (c) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 GLenum internalformat, 1073 GLenum internalformat,
970 GLsizei width, 1074 GLsizei width,
971 GLsizei height) { 1075 GLsizei height) {
972 gles2::cmds::RenderbufferStorage* c = 1076 gles2::cmds::RenderbufferStorage* c =
973 GetCmdSpace<gles2::cmds::RenderbufferStorage>(); 1077 GetCmdSpace<gles2::cmds::RenderbufferStorage>();
974 if (c) { 1078 if (c) {
975 c->Init(target, internalformat, width, height); 1079 c->Init(target, internalformat, width, height);
976 } 1080 }
977 } 1081 }
978 1082
1083 void ResumeTransformFeedback() {
1084 gles2::cmds::ResumeTransformFeedback* c =
1085 GetCmdSpace<gles2::cmds::ResumeTransformFeedback>();
1086 if (c) {
1087 c->Init();
1088 }
1089 }
1090
979 void SampleCoverage(GLclampf value, GLboolean invert) { 1091 void SampleCoverage(GLclampf value, GLboolean invert) {
980 gles2::cmds::SampleCoverage* c = GetCmdSpace<gles2::cmds::SampleCoverage>(); 1092 gles2::cmds::SampleCoverage* c = GetCmdSpace<gles2::cmds::SampleCoverage>();
981 if (c) { 1093 if (c) {
982 c->Init(value, invert); 1094 c->Init(value, invert);
983 } 1095 }
984 } 1096 }
985 1097
1098 void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) {
1099 gles2::cmds::SamplerParameterf* c =
1100 GetCmdSpace<gles2::cmds::SamplerParameterf>();
1101 if (c) {
1102 c->Init(sampler, pname, param);
1103 }
1104 }
1105
1106 void SamplerParameterfvImmediate(GLuint sampler,
1107 GLenum pname,
1108 const GLfloat* params) {
1109 const uint32_t size = gles2::cmds::SamplerParameterfvImmediate::ComputeSize();
1110 gles2::cmds::SamplerParameterfvImmediate* c =
1111 GetImmediateCmdSpaceTotalSize<gles2::cmds::SamplerParameterfvImmediate>(
1112 size);
1113 if (c) {
1114 c->Init(sampler, pname, params);
1115 }
1116 }
1117
1118 void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) {
1119 gles2::cmds::SamplerParameteri* c =
1120 GetCmdSpace<gles2::cmds::SamplerParameteri>();
1121 if (c) {
1122 c->Init(sampler, pname, param);
1123 }
1124 }
1125
1126 void SamplerParameterivImmediate(GLuint sampler,
1127 GLenum pname,
1128 const GLint* params) {
1129 const uint32_t size = gles2::cmds::SamplerParameterivImmediate::ComputeSize();
1130 gles2::cmds::SamplerParameterivImmediate* c =
1131 GetImmediateCmdSpaceTotalSize<gles2::cmds::SamplerParameterivImmediate>(
1132 size);
1133 if (c) {
1134 c->Init(sampler, pname, params);
1135 }
1136 }
1137
986 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) { 1138 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) {
987 gles2::cmds::Scissor* c = GetCmdSpace<gles2::cmds::Scissor>(); 1139 gles2::cmds::Scissor* c = GetCmdSpace<gles2::cmds::Scissor>();
988 if (c) { 1140 if (c) {
989 c->Init(x, y, width, height); 1141 c->Init(x, y, width, height);
990 } 1142 }
991 } 1143 }
992 1144
993 void ShaderBinary(GLsizei n, 1145 void ShaderBinary(GLsizei n,
994 uint32_t shaders_shm_id, 1146 uint32_t shaders_shm_id,
995 uint32_t shaders_shm_offset, 1147 uint32_t shaders_shm_offset,
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 void BeginQueryEXT(GLenum target, 1834 void BeginQueryEXT(GLenum target,
1683 GLuint id, 1835 GLuint id,
1684 uint32_t sync_data_shm_id, 1836 uint32_t sync_data_shm_id,
1685 uint32_t sync_data_shm_offset) { 1837 uint32_t sync_data_shm_offset) {
1686 gles2::cmds::BeginQueryEXT* c = GetCmdSpace<gles2::cmds::BeginQueryEXT>(); 1838 gles2::cmds::BeginQueryEXT* c = GetCmdSpace<gles2::cmds::BeginQueryEXT>();
1687 if (c) { 1839 if (c) {
1688 c->Init(target, id, sync_data_shm_id, sync_data_shm_offset); 1840 c->Init(target, id, sync_data_shm_id, sync_data_shm_offset);
1689 } 1841 }
1690 } 1842 }
1691 1843
1844 void BeginTransformFeedback(GLenum primitivemode) {
1845 gles2::cmds::BeginTransformFeedback* c =
1846 GetCmdSpace<gles2::cmds::BeginTransformFeedback>();
1847 if (c) {
1848 c->Init(primitivemode);
1849 }
1850 }
1851
1692 void EndQueryEXT(GLenum target, GLuint submit_count) { 1852 void EndQueryEXT(GLenum target, GLuint submit_count) {
1693 gles2::cmds::EndQueryEXT* c = GetCmdSpace<gles2::cmds::EndQueryEXT>(); 1853 gles2::cmds::EndQueryEXT* c = GetCmdSpace<gles2::cmds::EndQueryEXT>();
1694 if (c) { 1854 if (c) {
1695 c->Init(target, submit_count); 1855 c->Init(target, submit_count);
1696 } 1856 }
1697 } 1857 }
1698 1858
1859 void EndTransformFeedback() {
1860 gles2::cmds::EndTransformFeedback* c =
1861 GetCmdSpace<gles2::cmds::EndTransformFeedback>();
1862 if (c) {
1863 c->Init();
1864 }
1865 }
1866
1699 void InsertEventMarkerEXT(GLuint bucket_id) { 1867 void InsertEventMarkerEXT(GLuint bucket_id) {
1700 gles2::cmds::InsertEventMarkerEXT* c = 1868 gles2::cmds::InsertEventMarkerEXT* c =
1701 GetCmdSpace<gles2::cmds::InsertEventMarkerEXT>(); 1869 GetCmdSpace<gles2::cmds::InsertEventMarkerEXT>();
1702 if (c) { 1870 if (c) {
1703 c->Init(bucket_id); 1871 c->Init(bucket_id);
1704 } 1872 }
1705 } 1873 }
1706 1874
1707 void PushGroupMarkerEXT(GLuint bucket_id) { 1875 void PushGroupMarkerEXT(GLuint bucket_id) {
1708 gles2::cmds::PushGroupMarkerEXT* c = 1876 gles2::cmds::PushGroupMarkerEXT* c =
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
2190 } 2358 }
2191 2359
2192 void BlendBarrierKHR() { 2360 void BlendBarrierKHR() {
2193 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2361 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2194 if (c) { 2362 if (c) {
2195 c->Init(); 2363 c->Init();
2196 } 2364 }
2197 } 2365 }
2198 2366
2199 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2367 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698