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

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

Issue 894373004: Add glGetActiveUniformBlockiv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win bots 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 GetActiveUniformBlockiv(GLuint program,
706 GLuint index,
707 GLenum pname,
708 uint32_t params_shm_id,
709 uint32_t params_shm_offset) {
710 gles2::cmds::GetActiveUniformBlockiv* c =
711 GetCmdSpace<gles2::cmds::GetActiveUniformBlockiv>();
712 if (c) {
713 c->Init(program, index, pname, params_shm_id, params_shm_offset);
714 }
715 }
716
705 void GetActiveUniformBlockName(GLuint program, 717 void GetActiveUniformBlockName(GLuint program,
706 GLuint index, 718 GLuint index,
707 uint32_t name_bucket_id, 719 uint32_t name_bucket_id,
708 uint32_t result_shm_id, 720 uint32_t result_shm_id,
709 uint32_t result_shm_offset) { 721 uint32_t result_shm_offset) {
710 gles2::cmds::GetActiveUniformBlockName* c = 722 gles2::cmds::GetActiveUniformBlockName* c =
711 GetCmdSpace<gles2::cmds::GetActiveUniformBlockName>(); 723 GetCmdSpace<gles2::cmds::GetActiveUniformBlockName>();
712 if (c) { 724 if (c) {
713 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset); 725 c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset);
714 } 726 }
(...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2545 } 2557 }
2546 2558
2547 void BlendBarrierKHR() { 2559 void BlendBarrierKHR() {
2548 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2560 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2549 if (c) { 2561 if (c) {
2550 c->Init(); 2562 c->Init();
2551 } 2563 }
2552 } 2564 }
2553 2565
2554 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2566 #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