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 2710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2721 } else { | 2721 } else { |
2722 data = | 2722 data = |
2723 reinterpret_cast<const void*>(static_cast<intptr_t>(data_shm_offset)); | 2723 reinterpret_cast<const void*>(static_cast<intptr_t>(data_shm_offset)); |
2724 } | 2724 } |
2725 | 2725 |
2726 return DoCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, | 2726 return DoCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, |
2727 width, height, depth, format, image_size, | 2727 width, height, depth, format, image_size, |
2728 data_size, data); | 2728 data_size, data); |
2729 } | 2729 } |
2730 | 2730 |
| 2731 error::Error |
| 2732 GLES2DecoderPassthroughImpl::HandleInitializeDiscardableTextureCHROMIUM( |
| 2733 uint32_t immediate_data_size, |
| 2734 const volatile void* cmd_data) { |
| 2735 return error::kNoError; |
| 2736 } |
| 2737 |
| 2738 error::Error |
| 2739 GLES2DecoderPassthroughImpl::HandleUnlockDiscardableTextureCHROMIUM( |
| 2740 uint32_t immediate_data_size, |
| 2741 const volatile void* cmd_data) { |
| 2742 return error::kNoError; |
| 2743 } |
| 2744 |
| 2745 error::Error GLES2DecoderPassthroughImpl::HandleLockDiscardableTextureCHROMIUM( |
| 2746 uint32_t immediate_data_size, |
| 2747 const volatile void* cmd_data) { |
| 2748 return error::kNoError; |
| 2749 } |
| 2750 |
2731 } // namespace gles2 | 2751 } // namespace gles2 |
2732 } // namespace gpu | 2752 } // namespace gpu |
OLD | NEW |