OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
6 | 6 |
7 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 7 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
8 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 8 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
9 | 9 |
10 void ActiveTexture(GLenum texture) { | 10 void ActiveTexture(GLenum texture) { |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 c.Init(pname, params_shm_id, params_shm_offset); | 484 c.Init(pname, params_shm_id, params_shm_offset); |
485 } | 485 } |
486 | 486 |
487 void GetProgramiv( | 487 void GetProgramiv( |
488 GLuint program, GLenum pname, uint32 params_shm_id, | 488 GLuint program, GLenum pname, uint32 params_shm_id, |
489 uint32 params_shm_offset) { | 489 uint32 params_shm_offset) { |
490 gles2::GetProgramiv& c = GetCmdSpace<gles2::GetProgramiv>(); | 490 gles2::GetProgramiv& c = GetCmdSpace<gles2::GetProgramiv>(); |
491 c.Init(program, pname, params_shm_id, params_shm_offset); | 491 c.Init(program, pname, params_shm_id, params_shm_offset); |
492 } | 492 } |
493 | 493 |
494 void GetProgramInfoLog(GLuint program, uint32 bucket_id) { | 494 void GetProgramInfoLog( |
| 495 GLuint program, GLsizei bufsize, uint32 length_shm_id, |
| 496 uint32 length_shm_offset, uint32 infolog_shm_id, |
| 497 uint32 infolog_shm_offset) { |
495 gles2::GetProgramInfoLog& c = GetCmdSpace<gles2::GetProgramInfoLog>(); | 498 gles2::GetProgramInfoLog& c = GetCmdSpace<gles2::GetProgramInfoLog>(); |
496 c.Init(program, bucket_id); | 499 c.Init( |
| 500 program, bufsize, length_shm_id, length_shm_offset, infolog_shm_id, |
| 501 infolog_shm_offset); |
497 } | 502 } |
498 | 503 |
499 void GetRenderbufferParameteriv( | 504 void GetRenderbufferParameteriv( |
500 GLenum target, GLenum pname, uint32 params_shm_id, | 505 GLenum target, GLenum pname, uint32 params_shm_id, |
501 uint32 params_shm_offset) { | 506 uint32 params_shm_offset) { |
502 gles2::GetRenderbufferParameteriv& c = | 507 gles2::GetRenderbufferParameteriv& c = |
503 GetCmdSpace<gles2::GetRenderbufferParameteriv>(); | 508 GetCmdSpace<gles2::GetRenderbufferParameteriv>(); |
504 c.Init(target, pname, params_shm_id, params_shm_offset); | 509 c.Init(target, pname, params_shm_id, params_shm_offset); |
505 } | 510 } |
506 | 511 |
507 void GetShaderiv( | 512 void GetShaderiv( |
508 GLuint shader, GLenum pname, uint32 params_shm_id, | 513 GLuint shader, GLenum pname, uint32 params_shm_id, |
509 uint32 params_shm_offset) { | 514 uint32 params_shm_offset) { |
510 gles2::GetShaderiv& c = GetCmdSpace<gles2::GetShaderiv>(); | 515 gles2::GetShaderiv& c = GetCmdSpace<gles2::GetShaderiv>(); |
511 c.Init(shader, pname, params_shm_id, params_shm_offset); | 516 c.Init(shader, pname, params_shm_id, params_shm_offset); |
512 } | 517 } |
513 | 518 |
514 void GetShaderInfoLog(GLuint shader, uint32 bucket_id) { | 519 void GetShaderInfoLog( |
| 520 GLuint shader, GLsizei bufsize, uint32 length_shm_id, |
| 521 uint32 length_shm_offset, uint32 infolog_shm_id, |
| 522 uint32 infolog_shm_offset) { |
515 gles2::GetShaderInfoLog& c = GetCmdSpace<gles2::GetShaderInfoLog>(); | 523 gles2::GetShaderInfoLog& c = GetCmdSpace<gles2::GetShaderInfoLog>(); |
516 c.Init(shader, bucket_id); | 524 c.Init( |
| 525 shader, bufsize, length_shm_id, length_shm_offset, infolog_shm_id, |
| 526 infolog_shm_offset); |
517 } | 527 } |
518 | 528 |
519 void GetShaderPrecisionFormat( | 529 void GetShaderPrecisionFormat( |
520 GLenum shadertype, GLenum precisiontype, uint32 result_shm_id, | 530 GLenum shadertype, GLenum precisiontype, uint32 result_shm_id, |
521 uint32 result_shm_offset) { | 531 uint32 result_shm_offset) { |
522 gles2::GetShaderPrecisionFormat& c = | 532 gles2::GetShaderPrecisionFormat& c = |
523 GetCmdSpace<gles2::GetShaderPrecisionFormat>(); | 533 GetCmdSpace<gles2::GetShaderPrecisionFormat>(); |
524 c.Init(shadertype, precisiontype, result_shm_id, result_shm_offset); | 534 c.Init(shadertype, precisiontype, result_shm_id, result_shm_offset); |
525 } | 535 } |
526 | 536 |
527 void GetShaderSource(GLuint shader, uint32 bucket_id) { | 537 void GetShaderSource( |
| 538 GLuint shader, GLsizei bufsize, uint32 length_shm_id, |
| 539 uint32 length_shm_offset, uint32 source_shm_id, |
| 540 uint32 source_shm_offset) { |
528 gles2::GetShaderSource& c = GetCmdSpace<gles2::GetShaderSource>(); | 541 gles2::GetShaderSource& c = GetCmdSpace<gles2::GetShaderSource>(); |
529 c.Init(shader, bucket_id); | 542 c.Init( |
| 543 shader, bufsize, length_shm_id, length_shm_offset, source_shm_id, |
| 544 source_shm_offset); |
530 } | 545 } |
531 | 546 |
532 void GetString(GLenum name, uint32 bucket_id) { | 547 void GetString(GLenum name) { |
533 gles2::GetString& c = GetCmdSpace<gles2::GetString>(); | 548 gles2::GetString& c = GetCmdSpace<gles2::GetString>(); |
534 c.Init(name, bucket_id); | 549 c.Init(name); |
535 } | 550 } |
536 | 551 |
537 void GetTexParameterfv( | 552 void GetTexParameterfv( |
538 GLenum target, GLenum pname, uint32 params_shm_id, | 553 GLenum target, GLenum pname, uint32 params_shm_id, |
539 uint32 params_shm_offset) { | 554 uint32 params_shm_offset) { |
540 gles2::GetTexParameterfv& c = GetCmdSpace<gles2::GetTexParameterfv>(); | 555 gles2::GetTexParameterfv& c = GetCmdSpace<gles2::GetTexParameterfv>(); |
541 c.Init(target, pname, params_shm_id, params_shm_offset); | 556 c.Init(target, pname, params_shm_id, params_shm_offset); |
542 } | 557 } |
543 | 558 |
544 void GetTexParameteriv( | 559 void GetTexParameteriv( |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1086 c.Init(x, y, width, height); | 1101 c.Init(x, y, width, height); |
1087 } | 1102 } |
1088 | 1103 |
1089 void SwapBuffers() { | 1104 void SwapBuffers() { |
1090 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>(); | 1105 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>(); |
1091 c.Init(); | 1106 c.Init(); |
1092 } | 1107 } |
1093 | 1108 |
1094 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1109 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
1095 | 1110 |
OLD | NEW |