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

Side by Side Diff: content/renderer/gpu/stream_texture_host_android.cc

Issue 1809183002: gpu_messages.h => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make win_clang_x64_dbg happy by making command_buffer_traits an alias to gpu component on compnet b… Created 4 years, 9 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) 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 #include "content/renderer/gpu/stream_texture_host_android.h" 5 #include "content/renderer/gpu/stream_texture_host_android.h"
6 6
7 #include "content/common/gpu/client/gpu_channel_host.h" 7 #include "content/common/gpu/client/gpu_channel_host.h"
8 #include "content/common/gpu/gpu_messages.h"
9 #include "content/renderer/render_thread_impl.h" 8 #include "content/renderer/render_thread_impl.h"
9 #include "gpu/ipc/common/gpu_messages.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 StreamTextureHost::StreamTextureHost(GpuChannelHost* channel) 14 StreamTextureHost::StreamTextureHost(GpuChannelHost* channel)
15 : stream_id_(0), 15 : stream_id_(0),
16 listener_(NULL), 16 listener_(NULL),
17 channel_(channel), 17 channel_(channel),
18 weak_ptr_factory_(this) { 18 weak_ptr_factory_(this) {
19 DCHECK(channel); 19 DCHECK(channel);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 void StreamTextureHost::OnMatrixChanged( 61 void StreamTextureHost::OnMatrixChanged(
62 const GpuStreamTextureMsg_MatrixChanged_Params& params) { 62 const GpuStreamTextureMsg_MatrixChanged_Params& params) {
63 static_assert(sizeof(params) == sizeof(float) * 16, 63 static_assert(sizeof(params) == sizeof(float) * 16,
64 "bad GpuStreamTextureMsg MatrixChanged_Params format"); 64 "bad GpuStreamTextureMsg MatrixChanged_Params format");
65 if (listener_) 65 if (listener_)
66 listener_->OnMatrixChanged((const float*)&params); 66 listener_->OnMatrixChanged((const float*)&params);
67 } 67 }
68 68
69 } // namespace content 69 } // namespace content
OLDNEW
« no previous file with comments | « content/gpu/gpu_host_messages.h ('k') | content/renderer/media/android/stream_texture_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698