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

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

Issue 872713004: Add glTransformFeedbackVaryings to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@caritas
Patch Set: Rebase 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 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 uint32_t pixels_shm_id, 1428 uint32_t pixels_shm_id,
1429 uint32_t pixels_shm_offset, 1429 uint32_t pixels_shm_offset,
1430 GLboolean internal) { 1430 GLboolean internal) {
1431 gles2::cmds::TexSubImage3D* c = GetCmdSpace<gles2::cmds::TexSubImage3D>(); 1431 gles2::cmds::TexSubImage3D* c = GetCmdSpace<gles2::cmds::TexSubImage3D>();
1432 if (c) { 1432 if (c) {
1433 c->Init(target, level, xoffset, yoffset, zoffset, width, height, depth, 1433 c->Init(target, level, xoffset, yoffset, zoffset, width, height, depth,
1434 format, type, pixels_shm_id, pixels_shm_offset, internal); 1434 format, type, pixels_shm_id, pixels_shm_offset, internal);
1435 } 1435 }
1436 } 1436 }
1437 1437
1438 void TransformFeedbackVaryingsBucket(GLuint program,
1439 uint32_t varyings_bucket_id,
1440 GLenum buffermode) {
1441 gles2::cmds::TransformFeedbackVaryingsBucket* c =
1442 GetCmdSpace<gles2::cmds::TransformFeedbackVaryingsBucket>();
1443 if (c) {
1444 c->Init(program, varyings_bucket_id, buffermode);
1445 }
1446 }
1447
1438 void Uniform1f(GLint location, GLfloat x) { 1448 void Uniform1f(GLint location, GLfloat x) {
1439 gles2::cmds::Uniform1f* c = GetCmdSpace<gles2::cmds::Uniform1f>(); 1449 gles2::cmds::Uniform1f* c = GetCmdSpace<gles2::cmds::Uniform1f>();
1440 if (c) { 1450 if (c) {
1441 c->Init(location, x); 1451 c->Init(location, x);
1442 } 1452 }
1443 } 1453 }
1444 1454
1445 void Uniform1fvImmediate(GLint location, GLsizei count, const GLfloat* v) { 1455 void Uniform1fvImmediate(GLint location, GLsizei count, const GLfloat* v) {
1446 const uint32_t size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count); 1456 const uint32_t size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count);
1447 gles2::cmds::Uniform1fvImmediate* c = 1457 gles2::cmds::Uniform1fvImmediate* c =
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2504 } 2514 }
2505 2515
2506 void BlendBarrierKHR() { 2516 void BlendBarrierKHR() {
2507 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2517 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2508 if (c) { 2518 if (c) {
2509 c->Init(); 2519 c->Init();
2510 } 2520 }
2511 } 2521 }
2512 2522
2513 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2523 #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_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698