OLD | NEW |
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 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2714 } else { | 2714 } else { |
2715 data = | 2715 data = |
2716 reinterpret_cast<const void*>(static_cast<intptr_t>(data_shm_offset)); | 2716 reinterpret_cast<const void*>(static_cast<intptr_t>(data_shm_offset)); |
2717 } | 2717 } |
2718 | 2718 |
2719 return DoCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, | 2719 return DoCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, |
2720 width, height, depth, format, image_size, | 2720 width, height, depth, format, image_size, |
2721 data_size, data); | 2721 data_size, data); |
2722 } | 2722 } |
2723 | 2723 |
| 2724 error::Error |
| 2725 GLES2DecoderPassthroughImpl::HandleInitializeDiscardableTextureCHROMIUM( |
| 2726 uint32_t immediate_data_size, |
| 2727 const volatile void* cmd_data) { |
| 2728 return error::kNoError; |
| 2729 } |
| 2730 |
| 2731 error::Error |
| 2732 GLES2DecoderPassthroughImpl::HandleUnlockDiscardableTextureCHROMIUM( |
| 2733 uint32_t immediate_data_size, |
| 2734 const volatile void* cmd_data) { |
| 2735 return error::kNoError; |
| 2736 } |
| 2737 |
2724 } // namespace gles2 | 2738 } // namespace gles2 |
2725 } // namespace gpu | 2739 } // namespace gpu |
OLD | NEW |