OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
6 | 6 |
7 // It is included by gles2_cmd_decoder.cc | 7 // It is included by gles2_cmd_decoder.cc |
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ | 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ |
9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ | 9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ |
10 | 10 |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 | 680 |
681 error::Error GLES2DecoderImpl::HandleEnableVertexAttribArray( | 681 error::Error GLES2DecoderImpl::HandleEnableVertexAttribArray( |
682 uint32 immediate_data_size, const gles2::EnableVertexAttribArray& c) { | 682 uint32 immediate_data_size, const gles2::EnableVertexAttribArray& c) { |
683 GLuint index = static_cast<GLuint>(c.index); | 683 GLuint index = static_cast<GLuint>(c.index); |
684 DoEnableVertexAttribArray(index); | 684 DoEnableVertexAttribArray(index); |
685 return error::kNoError; | 685 return error::kNoError; |
686 } | 686 } |
687 | 687 |
688 error::Error GLES2DecoderImpl::HandleFinish( | 688 error::Error GLES2DecoderImpl::HandleFinish( |
689 uint32 immediate_data_size, const gles2::Finish& c) { | 689 uint32 immediate_data_size, const gles2::Finish& c) { |
690 glFinish(); | 690 glFlush(); |
691 return error::kNoError; | 691 return error::kNoError; |
692 } | 692 } |
693 | 693 |
694 error::Error GLES2DecoderImpl::HandleFlush( | 694 error::Error GLES2DecoderImpl::HandleFlush( |
695 uint32 immediate_data_size, const gles2::Flush& c) { | 695 uint32 immediate_data_size, const gles2::Flush& c) { |
696 glFlush(); | 696 glFlush(); |
697 return error::kNoError; | 697 return error::kNoError; |
698 } | 698 } |
699 | 699 |
700 error::Error GLES2DecoderImpl::HandleFramebufferRenderbuffer( | 700 error::Error GLES2DecoderImpl::HandleFramebufferRenderbuffer( |
(...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2831 if (!ValidateGLenumIndexType(type)) { | 2831 if (!ValidateGLenumIndexType(type)) { |
2832 SetGLError(GL_INVALID_ENUM); | 2832 SetGLError(GL_INVALID_ENUM); |
2833 return error::kNoError; | 2833 return error::kNoError; |
2834 } | 2834 } |
2835 *result_dst = DoGetMaxValueInBuffer(buffer_id, count, type, offset); | 2835 *result_dst = DoGetMaxValueInBuffer(buffer_id, count, type, offset); |
2836 return error::kNoError; | 2836 return error::kNoError; |
2837 } | 2837 } |
2838 | 2838 |
2839 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ | 2839 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ |
2840 | 2840 |
OLD | NEW |