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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 2182443003: WebGL 2: Fix bugs in negativetextureapi.html for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed zmo's feedback Created 4 years, 4 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 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 return error::kNoError; 1099 return error::kNoError;
1100 } 1100 }
1101 if (width < 0) { 1101 if (width < 0) {
1102 LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glCopyTexSubImage3D", "width < 0"); 1102 LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glCopyTexSubImage3D", "width < 0");
1103 return error::kNoError; 1103 return error::kNoError;
1104 } 1104 }
1105 if (height < 0) { 1105 if (height < 0) {
1106 LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glCopyTexSubImage3D", "height < 0"); 1106 LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glCopyTexSubImage3D", "height < 0");
1107 return error::kNoError; 1107 return error::kNoError;
1108 } 1108 }
1109 glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, 1109 DoCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width,
1110 height); 1110 height);
1111 return error::kNoError; 1111 return error::kNoError;
1112 } 1112 }
1113 1113
1114 error::Error GLES2DecoderImpl::HandleCreateProgram(uint32_t immediate_data_size, 1114 error::Error GLES2DecoderImpl::HandleCreateProgram(uint32_t immediate_data_size,
1115 const void* cmd_data) { 1115 const void* cmd_data) {
1116 const gles2::cmds::CreateProgram& c = 1116 const gles2::cmds::CreateProgram& c =
1117 *static_cast<const gles2::cmds::CreateProgram*>(cmd_data); 1117 *static_cast<const gles2::cmds::CreateProgram*>(cmd_data);
1118 (void)c; 1118 (void)c;
1119 uint32_t client_id = c.client_id; 1119 uint32_t client_id = c.client_id;
(...skipping 4539 matching lines...) Expand 10 before | Expand all | Expand 10 after
5659 state_.enable_flags.cached_sample_alpha_to_one_ext = enabled; 5659 state_.enable_flags.cached_sample_alpha_to_one_ext = enabled;
5660 return true; 5660 return true;
5661 } 5661 }
5662 return false; 5662 return false;
5663 default: 5663 default:
5664 NOTREACHED(); 5664 NOTREACHED();
5665 return false; 5665 return false;
5666 } 5666 }
5667 } 5667 }
5668 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 5668 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698