Chromium Code Reviews

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 726 matching lines...)
737 737
738 void GetFloatv(GLenum pname, 738 void GetFloatv(GLenum pname,
739 uint32_t params_shm_id, 739 uint32_t params_shm_id,
740 uint32_t params_shm_offset) { 740 uint32_t params_shm_offset) {
741 gles2::cmds::GetFloatv* c = GetCmdSpace<gles2::cmds::GetFloatv>(); 741 gles2::cmds::GetFloatv* c = GetCmdSpace<gles2::cmds::GetFloatv>();
742 if (c) { 742 if (c) {
743 c->Init(pname, params_shm_id, params_shm_offset); 743 c->Init(pname, params_shm_id, params_shm_offset);
744 } 744 }
745 } 745 }
746 746
747 void GetFragDataLocation(GLuint program,
748 uint32_t name_bucket_id,
749 uint32_t location_shm_id,
750 uint32_t location_shm_offset) {
751 gles2::cmds::GetFragDataLocation* c =
752 GetCmdSpace<gles2::cmds::GetFragDataLocation>();
753 if (c) {
754 c->Init(program, name_bucket_id, location_shm_id, location_shm_offset);
755 }
756 }
757
747 void GetFramebufferAttachmentParameteriv(GLenum target, 758 void GetFramebufferAttachmentParameteriv(GLenum target,
748 GLenum attachment, 759 GLenum attachment,
749 GLenum pname, 760 GLenum pname,
750 uint32_t params_shm_id, 761 uint32_t params_shm_id,
751 uint32_t params_shm_offset) { 762 uint32_t params_shm_offset) {
752 gles2::cmds::GetFramebufferAttachmentParameteriv* c = 763 gles2::cmds::GetFramebufferAttachmentParameteriv* c =
753 GetCmdSpace<gles2::cmds::GetFramebufferAttachmentParameteriv>(); 764 GetCmdSpace<gles2::cmds::GetFramebufferAttachmentParameteriv>();
754 if (c) { 765 if (c) {
755 c->Init(target, attachment, pname, params_shm_id, params_shm_offset); 766 c->Init(target, attachment, pname, params_shm_id, params_shm_offset);
756 } 767 }
(...skipping 1720 matching lines...)
2477 } 2488 }
2478 2489
2479 void BlendBarrierKHR() { 2490 void BlendBarrierKHR() {
2480 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2491 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2481 if (c) { 2492 if (c) {
2482 c->Init(); 2493 c->Init();
2483 } 2494 }
2484 } 2495 }
2485 2496
2486 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2497 #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