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

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

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 uint32_t name_bucket_id, 695 uint32_t name_bucket_id,
696 uint32_t result_shm_id, 696 uint32_t result_shm_id,
697 uint32_t result_shm_offset) { 697 uint32_t result_shm_offset) {
698 gles2::cmds::GetActiveUniform* c = 698 gles2::cmds::GetActiveUniform* c =
699 GetCmdSpace<gles2::cmds::GetActiveUniform>(); 699 GetCmdSpace<gles2::cmds::GetActiveUniform>();
700 if (c) { 700 if (c) {
701 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset); 701 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset);
702 } 702 }
703 } 703 }
704 704
705 void GetActiveUniformBlockName(GLuint program,
706 GLuint index,
707 uint32_t name_bucket_id,
708 uint32_t result_shm_id,
709 uint32_t result_shm_offset) {
710 gles2::cmds::GetActiveUniformBlockName* c =
711 GetCmdSpace<gles2::cmds::GetActiveUniformBlockName>();
712 if (c) {
713 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset);
714 }
715 }
716
705 void GetAttachedShaders(GLuint program, 717 void GetAttachedShaders(GLuint program,
706 uint32_t result_shm_id, 718 uint32_t result_shm_id,
707 uint32_t result_shm_offset, 719 uint32_t result_shm_offset,
708 uint32_t result_size) { 720 uint32_t result_size) {
709 gles2::cmds::GetAttachedShaders* c = 721 gles2::cmds::GetAttachedShaders* c =
710 GetCmdSpace<gles2::cmds::GetAttachedShaders>(); 722 GetCmdSpace<gles2::cmds::GetAttachedShaders>();
711 if (c) { 723 if (c) {
712 c->Init(program, result_shm_id, result_shm_offset, result_size); 724 c->Init(program, result_shm_id, result_shm_offset, result_size);
713 } 725 }
714 } 726 }
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 GLenum pname, 926 GLenum pname,
915 uint32_t params_shm_id, 927 uint32_t params_shm_id,
916 uint32_t params_shm_offset) { 928 uint32_t params_shm_offset) {
917 gles2::cmds::GetTexParameteriv* c = 929 gles2::cmds::GetTexParameteriv* c =
918 GetCmdSpace<gles2::cmds::GetTexParameteriv>(); 930 GetCmdSpace<gles2::cmds::GetTexParameteriv>();
919 if (c) { 931 if (c) {
920 c->Init(target, pname, params_shm_id, params_shm_offset); 932 c->Init(target, pname, params_shm_id, params_shm_offset);
921 } 933 }
922 } 934 }
923 935
936 void GetUniformBlockIndex(GLuint program,
937 uint32_t name_bucket_id,
938 uint32_t index_shm_id,
939 uint32_t index_shm_offset) {
940 gles2::cmds::GetUniformBlockIndex* c =
941 GetCmdSpace<gles2::cmds::GetUniformBlockIndex>();
942 if (c) {
943 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset);
944 }
945 }
946
924 void GetUniformfv(GLuint program, 947 void GetUniformfv(GLuint program,
925 GLint location, 948 GLint location,
926 uint32_t params_shm_id, 949 uint32_t params_shm_id,
927 uint32_t params_shm_offset) { 950 uint32_t params_shm_offset) {
928 gles2::cmds::GetUniformfv* c = GetCmdSpace<gles2::cmds::GetUniformfv>(); 951 gles2::cmds::GetUniformfv* c = GetCmdSpace<gles2::cmds::GetUniformfv>();
929 if (c) { 952 if (c) {
930 c->Init(program, location, params_shm_id, params_shm_offset); 953 c->Init(program, location, params_shm_id, params_shm_offset);
931 } 954 }
932 } 955 }
933 956
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 } 2161 }
2139 2162
2140 void GetProgramInfoCHROMIUM(GLuint program, uint32_t bucket_id) { 2163 void GetProgramInfoCHROMIUM(GLuint program, uint32_t bucket_id) {
2141 gles2::cmds::GetProgramInfoCHROMIUM* c = 2164 gles2::cmds::GetProgramInfoCHROMIUM* c =
2142 GetCmdSpace<gles2::cmds::GetProgramInfoCHROMIUM>(); 2165 GetCmdSpace<gles2::cmds::GetProgramInfoCHROMIUM>();
2143 if (c) { 2166 if (c) {
2144 c->Init(program, bucket_id); 2167 c->Init(program, bucket_id);
2145 } 2168 }
2146 } 2169 }
2147 2170
2171 void GetUniformBlocksCHROMIUM(GLuint program, uint32_t bucket_id) {
2172 gles2::cmds::GetUniformBlocksCHROMIUM* c =
2173 GetCmdSpace<gles2::cmds::GetUniformBlocksCHROMIUM>();
2174 if (c) {
2175 c->Init(program, bucket_id);
2176 }
2177 }
2178
2148 void GetTranslatedShaderSourceANGLE(GLuint shader, uint32_t bucket_id) { 2179 void GetTranslatedShaderSourceANGLE(GLuint shader, uint32_t bucket_id) {
2149 gles2::cmds::GetTranslatedShaderSourceANGLE* c = 2180 gles2::cmds::GetTranslatedShaderSourceANGLE* c =
2150 GetCmdSpace<gles2::cmds::GetTranslatedShaderSourceANGLE>(); 2181 GetCmdSpace<gles2::cmds::GetTranslatedShaderSourceANGLE>();
2151 if (c) { 2182 if (c) {
2152 c->Init(shader, bucket_id); 2183 c->Init(shader, bucket_id);
2153 } 2184 }
2154 } 2185 }
2155 2186
2156 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { 2187 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) {
2157 gles2::cmds::PostSubBufferCHROMIUM* c = 2188 gles2::cmds::PostSubBufferCHROMIUM* c =
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
2514 } 2545 }
2515 2546
2516 void BlendBarrierKHR() { 2547 void BlendBarrierKHR() {
2517 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2548 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2518 if (c) { 2549 if (c) {
2519 c->Init(); 2550 c->Init();
2520 } 2551 }
2521 } 2552 }
2522 2553
2523 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2554 #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