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

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

Issue 661220: Added support for glGetString, glGetShaderSource,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months 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 | Annotate | Revision Log
OLDNEW
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
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( 494 void GetProgramInfoLog(GLuint program, uint32 bucket_id) {
495 GLuint program, GLsizei bufsize, uint32 length_shm_id,
496 uint32 length_shm_offset, uint32 infolog_shm_id,
497 uint32 infolog_shm_offset) {
498 gles2::GetProgramInfoLog& c = GetCmdSpace<gles2::GetProgramInfoLog>(); 495 gles2::GetProgramInfoLog& c = GetCmdSpace<gles2::GetProgramInfoLog>();
499 c.Init( 496 c.Init(program, bucket_id);
500 program, bufsize, length_shm_id, length_shm_offset, infolog_shm_id,
501 infolog_shm_offset);
502 } 497 }
503 498
504 void GetRenderbufferParameteriv( 499 void GetRenderbufferParameteriv(
505 GLenum target, GLenum pname, uint32 params_shm_id, 500 GLenum target, GLenum pname, uint32 params_shm_id,
506 uint32 params_shm_offset) { 501 uint32 params_shm_offset) {
507 gles2::GetRenderbufferParameteriv& c = 502 gles2::GetRenderbufferParameteriv& c =
508 GetCmdSpace<gles2::GetRenderbufferParameteriv>(); 503 GetCmdSpace<gles2::GetRenderbufferParameteriv>();
509 c.Init(target, pname, params_shm_id, params_shm_offset); 504 c.Init(target, pname, params_shm_id, params_shm_offset);
510 } 505 }
511 506
512 void GetShaderiv( 507 void GetShaderiv(
513 GLuint shader, GLenum pname, uint32 params_shm_id, 508 GLuint shader, GLenum pname, uint32 params_shm_id,
514 uint32 params_shm_offset) { 509 uint32 params_shm_offset) {
515 gles2::GetShaderiv& c = GetCmdSpace<gles2::GetShaderiv>(); 510 gles2::GetShaderiv& c = GetCmdSpace<gles2::GetShaderiv>();
516 c.Init(shader, pname, params_shm_id, params_shm_offset); 511 c.Init(shader, pname, params_shm_id, params_shm_offset);
517 } 512 }
518 513
519 void GetShaderInfoLog( 514 void GetShaderInfoLog(GLuint shader, uint32 bucket_id) {
520 GLuint shader, GLsizei bufsize, uint32 length_shm_id,
521 uint32 length_shm_offset, uint32 infolog_shm_id,
522 uint32 infolog_shm_offset) {
523 gles2::GetShaderInfoLog& c = GetCmdSpace<gles2::GetShaderInfoLog>(); 515 gles2::GetShaderInfoLog& c = GetCmdSpace<gles2::GetShaderInfoLog>();
524 c.Init( 516 c.Init(shader, bucket_id);
525 shader, bufsize, length_shm_id, length_shm_offset, infolog_shm_id,
526 infolog_shm_offset);
527 } 517 }
528 518
529 void GetShaderPrecisionFormat( 519 void GetShaderPrecisionFormat(
530 GLenum shadertype, GLenum precisiontype, uint32 result_shm_id, 520 GLenum shadertype, GLenum precisiontype, uint32 result_shm_id,
531 uint32 result_shm_offset) { 521 uint32 result_shm_offset) {
532 gles2::GetShaderPrecisionFormat& c = 522 gles2::GetShaderPrecisionFormat& c =
533 GetCmdSpace<gles2::GetShaderPrecisionFormat>(); 523 GetCmdSpace<gles2::GetShaderPrecisionFormat>();
534 c.Init(shadertype, precisiontype, result_shm_id, result_shm_offset); 524 c.Init(shadertype, precisiontype, result_shm_id, result_shm_offset);
535 } 525 }
536 526
537 void GetShaderSource( 527 void GetShaderSource(GLuint shader, uint32 bucket_id) {
538 GLuint shader, GLsizei bufsize, uint32 length_shm_id,
539 uint32 length_shm_offset, uint32 source_shm_id,
540 uint32 source_shm_offset) {
541 gles2::GetShaderSource& c = GetCmdSpace<gles2::GetShaderSource>(); 528 gles2::GetShaderSource& c = GetCmdSpace<gles2::GetShaderSource>();
542 c.Init( 529 c.Init(shader, bucket_id);
543 shader, bufsize, length_shm_id, length_shm_offset, source_shm_id,
544 source_shm_offset);
545 } 530 }
546 531
547 void GetString(GLenum name) { 532 void GetString(GLenum name, uint32 bucket_id) {
548 gles2::GetString& c = GetCmdSpace<gles2::GetString>(); 533 gles2::GetString& c = GetCmdSpace<gles2::GetString>();
549 c.Init(name); 534 c.Init(name, bucket_id);
550 } 535 }
551 536
552 void GetTexParameterfv( 537 void GetTexParameterfv(
553 GLenum target, GLenum pname, uint32 params_shm_id, 538 GLenum target, GLenum pname, uint32 params_shm_id,
554 uint32 params_shm_offset) { 539 uint32 params_shm_offset) {
555 gles2::GetTexParameterfv& c = GetCmdSpace<gles2::GetTexParameterfv>(); 540 gles2::GetTexParameterfv& c = GetCmdSpace<gles2::GetTexParameterfv>();
556 c.Init(target, pname, params_shm_id, params_shm_offset); 541 c.Init(target, pname, params_shm_id, params_shm_offset);
557 } 542 }
558 543
559 void GetTexParameteriv( 544 void GetTexParameteriv(
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 c.Init(x, y, width, height); 1086 c.Init(x, y, width, height);
1102 } 1087 }
1103 1088
1104 void SwapBuffers() { 1089 void SwapBuffers() {
1105 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>(); 1090 gles2::SwapBuffers& c = GetCmdSpace<gles2::SwapBuffers>();
1106 c.Init(); 1091 c.Init();
1107 } 1092 }
1108 1093
1109 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1094 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1110 1095
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698