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

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

Issue 2150993002: Revert of Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 3124 matching lines...) Expand 10 before | Expand all | Expand 10 after
3135 gles2::cmds::GetFragDataIndexEXT* c = 3135 gles2::cmds::GetFragDataIndexEXT* c =
3136 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); 3136 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>();
3137 if (c) { 3137 if (c) {
3138 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); 3138 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset);
3139 } 3139 }
3140 } 3140 }
3141 3141
3142 void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate( 3142 void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
3143 GLint location, 3143 GLint location,
3144 GLboolean transpose, 3144 GLboolean transpose,
3145 const GLfloat* transform) { 3145 const GLfloat* default_value) {
3146 const uint32_t size = gles2::cmds:: 3146 const uint32_t size = gles2::cmds::
3147 UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize(); 3147 UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize();
3148 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = 3148 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c =
3149 GetImmediateCmdSpaceTotalSize< 3149 GetImmediateCmdSpaceTotalSize<
3150 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( 3150 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>(
3151 size); 3151 size);
3152 if (c) { 3152 if (c) {
3153 c->Init(location, transpose, transform); 3153 c->Init(location, transpose, default_value);
3154 } 3154 }
3155 } 3155 }
3156 3156
3157 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3157 #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