Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc

Issue 2818993002: GL Implementation for GPU Discardable
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698