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

Side by Side Diff: content/common/gpu/gpu_channel.cc

Issue 23125014: Run VDA::Decode on GPU IO thread if VDA supports it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use filter_.get() to decide whether RemoveFilter should be called Created 7 years, 3 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
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #if defined(OS_WIN) 5 #if defined(OS_WIN)
6 #include <windows.h> 6 #include <windows.h>
7 #endif 7 #endif
8 8
9 #include "content/common/gpu/gpu_channel.h" 9 #include "content/common/gpu/gpu_channel.h"
10 10
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 messages_processed_)); 978 messages_processed_));
979 } 979 }
980 } 980 }
981 981
982 void GpuChannel::CacheShader(const std::string& key, 982 void GpuChannel::CacheShader(const std::string& key,
983 const std::string& shader) { 983 const std::string& shader) {
984 gpu_channel_manager_->Send( 984 gpu_channel_manager_->Send(
985 new GpuHostMsg_CacheShader(client_id_, key, shader)); 985 new GpuHostMsg_CacheShader(client_id_, key, shader));
986 } 986 }
987 987
988 void GpuChannel::AddFilter(IPC::ChannelProxy::MessageFilter* filter) {
989 channel_->AddFilter(filter);
990 }
991
992 void GpuChannel::RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) {
993 channel_->RemoveFilter(filter);
994 }
995
988 } // namespace content 996 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698