| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
| 8 | 8 |
| 9 // It is included by gles2_cmd_decoder.cc | 9 // It is included by gles2_cmd_decoder.cc |
| 10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ | 10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 error::Error GLES2DecoderImpl::HandleEnableVertexAttribArray( | 732 error::Error GLES2DecoderImpl::HandleEnableVertexAttribArray( |
| 733 uint32 immediate_data_size, | 733 uint32 immediate_data_size, |
| 734 const gles2::cmds::EnableVertexAttribArray& c) { | 734 const gles2::cmds::EnableVertexAttribArray& c) { |
| 735 GLuint index = static_cast<GLuint>(c.index); | 735 GLuint index = static_cast<GLuint>(c.index); |
| 736 DoEnableVertexAttribArray(index); | 736 DoEnableVertexAttribArray(index); |
| 737 return error::kNoError; | 737 return error::kNoError; |
| 738 } | 738 } |
| 739 | 739 |
| 740 error::Error GLES2DecoderImpl::HandleFinish( | 740 error::Error GLES2DecoderImpl::HandleFinish( |
| 741 uint32 immediate_data_size, const gles2::cmds::Finish& c) { | 741 uint32 immediate_data_size, const gles2::cmds::Finish& c) { |
| 742 if (ShouldDeferReads()) |
| 743 return error::kDeferCommandUntilLater; |
| 742 DoFinish(); | 744 DoFinish(); |
| 743 return error::kNoError; | 745 return error::kNoError; |
| 744 } | 746 } |
| 745 | 747 |
| 746 error::Error GLES2DecoderImpl::HandleFlush( | 748 error::Error GLES2DecoderImpl::HandleFlush( |
| 747 uint32 immediate_data_size, const gles2::cmds::Flush& c) { | 749 uint32 immediate_data_size, const gles2::cmds::Flush& c) { |
| 748 DoFlush(); | 750 DoFlush(); |
| 749 return error::kNoError; | 751 return error::kNoError; |
| 750 } | 752 } |
| 751 | 753 |
| (...skipping 2541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3293 clear_state_dirty_ = true; | 3295 clear_state_dirty_ = true; |
| 3294 } | 3296 } |
| 3295 return false; | 3297 return false; |
| 3296 default: | 3298 default: |
| 3297 NOTREACHED(); | 3299 NOTREACHED(); |
| 3298 return false; | 3300 return false; |
| 3299 } | 3301 } |
| 3300 } | 3302 } |
| 3301 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ | 3303 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ |
| 3302 | 3304 |
| OLD | NEW |