OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2561 if (!validators_->get_max_index_type.IsValid(type)) { | 2561 if (!validators_->get_max_index_type.IsValid(type)) { |
2562 SetGLError( | 2562 SetGLError( |
2563 GL_INVALID_ENUM, | 2563 GL_INVALID_ENUM, |
2564 "glGetMaxValueInBufferCHROMIUM: type GL_INVALID_ENUM"); | 2564 "glGetMaxValueInBufferCHROMIUM: type GL_INVALID_ENUM"); |
2565 return error::kNoError; | 2565 return error::kNoError; |
2566 } | 2566 } |
2567 *result_dst = DoGetMaxValueInBufferCHROMIUM(buffer_id, count, type, offset); | 2567 *result_dst = DoGetMaxValueInBufferCHROMIUM(buffer_id, count, type, offset); |
2568 return error::kNoError; | 2568 return error::kNoError; |
2569 } | 2569 } |
2570 | 2570 |
2571 error::Error GLES2DecoderImpl::HandleCopyTextureToParentTextureCHROMIUM( | |
2572 uint32 immediate_data_size, | |
2573 const gles2::CopyTextureToParentTextureCHROMIUM& c) { | |
2574 GLuint client_child_id = c.client_child_id; | |
2575 GLuint client_parent_id = c.client_parent_id; | |
2576 DoCopyTextureToParentTextureCHROMIUM(client_child_id, client_parent_id); | |
2577 return error::kNoError; | |
2578 } | |
2579 | |
2580 error::Error GLES2DecoderImpl::HandleResizeCHROMIUM( | 2571 error::Error GLES2DecoderImpl::HandleResizeCHROMIUM( |
2581 uint32 immediate_data_size, const gles2::ResizeCHROMIUM& c) { | 2572 uint32 immediate_data_size, const gles2::ResizeCHROMIUM& c) { |
2582 GLuint width = static_cast<GLuint>(c.width); | 2573 GLuint width = static_cast<GLuint>(c.width); |
2583 GLuint height = static_cast<GLuint>(c.height); | 2574 GLuint height = static_cast<GLuint>(c.height); |
2584 DoResizeCHROMIUM(width, height); | 2575 DoResizeCHROMIUM(width, height); |
2585 return error::kNoError; | 2576 return error::kNoError; |
2586 } | 2577 } |
2587 | 2578 |
2588 error::Error GLES2DecoderImpl::HandleSetSurfaceCHROMIUM( | 2579 error::Error GLES2DecoderImpl::HandleSetSurfaceCHROMIUM( |
2589 uint32 immediate_data_size, const gles2::SetSurfaceCHROMIUM& c) { | 2580 uint32 immediate_data_size, const gles2::SetSurfaceCHROMIUM& c) { |
2590 GLint surface_id = static_cast<GLint>(c.surface_id); | 2581 GLint surface_id = static_cast<GLint>(c.surface_id); |
2591 DoSetSurfaceCHROMIUM(surface_id); | 2582 DoSetSurfaceCHROMIUM(surface_id); |
2592 return error::kNoError; | 2583 return error::kNoError; |
2593 } | 2584 } |
2594 | 2585 |
| 2586 error::Error GLES2DecoderImpl::HandlePlaceholder447CHROMIUM( |
| 2587 uint32 immediate_data_size, const gles2::Placeholder447CHROMIUM& c) { |
| 2588 return error::kUnknownCommand; |
| 2589 } |
| 2590 error::Error GLES2DecoderImpl::HandlePlaceholder451CHROMIUM( |
| 2591 uint32 immediate_data_size, const gles2::Placeholder451CHROMIUM& c) { |
| 2592 return error::kUnknownCommand; |
| 2593 } |
| 2594 error::Error GLES2DecoderImpl::HandlePlaceholder452CHROMIUM( |
| 2595 uint32 immediate_data_size, const gles2::Placeholder452CHROMIUM& c) { |
| 2596 return error::kUnknownCommand; |
| 2597 } |
2595 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ | 2598 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ |
2596 | 2599 |
OLD | NEW |