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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc

Issue 2263593003: Remove GenMailboxCHROMIUM command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autogen_create_and_consume
Patch Set: 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 namespace gles2 { 8 namespace gles2 {
9 9
10 // Custom Handlers 10 // Custom Handlers
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 *static_cast<const gles2::cmds::VertexAttribDivisorANGLE*>(cmd_data); 1504 *static_cast<const gles2::cmds::VertexAttribDivisorANGLE*>(cmd_data);
1505 GLuint index = static_cast<GLuint>(c.index); 1505 GLuint index = static_cast<GLuint>(c.index);
1506 GLuint divisor = static_cast<GLuint>(c.divisor); 1506 GLuint divisor = static_cast<GLuint>(c.divisor);
1507 error::Error error = DoVertexAttribDivisorANGLE(index, divisor); 1507 error::Error error = DoVertexAttribDivisorANGLE(index, divisor);
1508 if (error != error::kNoError) { 1508 if (error != error::kNoError) {
1509 return error; 1509 return error;
1510 } 1510 }
1511 return error::kNoError; 1511 return error::kNoError;
1512 } 1512 }
1513 1513
1514 error::Error GLES2DecoderPassthroughImpl::HandleGenMailboxCHROMIUM(
1515 uint32_t immediate_data_size,
1516 const void* cmd_data) {
1517 const gles2::cmds::GenMailboxCHROMIUM& c =
1518 *static_cast<const gles2::cmds::GenMailboxCHROMIUM*>(cmd_data);
1519 (void)c;
1520 return error::kUnknownCommand;
1521 }
1522
1523 error::Error 1514 error::Error
1524 GLES2DecoderPassthroughImpl::HandleBindUniformLocationCHROMIUMBucket( 1515 GLES2DecoderPassthroughImpl::HandleBindUniformLocationCHROMIUMBucket(
1525 uint32_t immediate_data_size, 1516 uint32_t immediate_data_size,
1526 const void* cmd_data) { 1517 const void* cmd_data) {
1527 const gles2::cmds::BindUniformLocationCHROMIUMBucket& c = 1518 const gles2::cmds::BindUniformLocationCHROMIUMBucket& c =
1528 *static_cast<const gles2::cmds::BindUniformLocationCHROMIUMBucket*>( 1519 *static_cast<const gles2::cmds::BindUniformLocationCHROMIUMBucket*>(
1529 cmd_data); 1520 cmd_data);
1530 GLuint program = static_cast<GLuint>(c.program); 1521 GLuint program = static_cast<GLuint>(c.program);
1531 GLint location = static_cast<GLint>(c.location); 1522 GLint location = static_cast<GLint>(c.location);
1532 Bucket* bucket = GetBucket(c.name_bucket_id); 1523 Bucket* bucket = GetBucket(c.name_bucket_id);
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 } 2377 }
2387 error::Error error = DoGetFragDataIndexEXT(program, name_str.c_str(), index); 2378 error::Error error = DoGetFragDataIndexEXT(program, name_str.c_str(), index);
2388 if (error != error::kNoError) { 2379 if (error != error::kNoError) {
2389 return error; 2380 return error;
2390 } 2381 }
2391 return error::kNoError; 2382 return error::kNoError;
2392 } 2383 }
2393 2384
2394 } // namespace gles2 2385 } // namespace gles2
2395 } // namespace gpu 2386 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698