| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "components/mus/gpu/gpu_service_impl.h" | 5 #include "services/ui/gpu/gpu_service_impl.h" |
| 6 | 6 |
| 7 #include "components/mus/common/gpu_type_converters.h" | |
| 8 #include "components/mus/gpu/gpu_service_mus.h" | |
| 9 #include "services/shell/public/cpp/connection.h" | 7 #include "services/shell/public/cpp/connection.h" |
| 8 #include "services/ui/common/gpu_type_converters.h" |
| 9 #include "services/ui/gpu/gpu_service_mus.h" |
| 10 | 10 |
| 11 namespace mus { | 11 namespace mus { |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 void EstablishGpuChannelDone( | 15 void EstablishGpuChannelDone( |
| 16 const mojom::GpuService::EstablishGpuChannelCallback& callback, | 16 const mojom::GpuService::EstablishGpuChannelCallback& callback, |
| 17 int32_t client_id, | 17 int32_t client_id, |
| 18 const IPC::ChannelHandle& channel_handle) { | 18 const IPC::ChannelHandle& channel_handle) { |
| 19 // TODO(penghuang): Send the real GPUInfo to the client. | 19 // TODO(penghuang): Send the real GPUInfo to the client. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const mojom::GpuService::CreateGpuMemoryBufferCallback& callback) { | 54 const mojom::GpuService::CreateGpuMemoryBufferCallback& callback) { |
| 55 NOTIMPLEMENTED(); | 55 NOTIMPLEMENTED(); |
| 56 } | 56 } |
| 57 | 57 |
| 58 void GpuServiceImpl::DestroyGpuMemoryBuffer(mojom::GpuMemoryBufferIdPtr id, | 58 void GpuServiceImpl::DestroyGpuMemoryBuffer(mojom::GpuMemoryBufferIdPtr id, |
| 59 const gpu::SyncToken& sync_token) { | 59 const gpu::SyncToken& sync_token) { |
| 60 NOTIMPLEMENTED(); | 60 NOTIMPLEMENTED(); |
| 61 } | 61 } |
| 62 | 62 |
| 63 } // namespace mus | 63 } // namespace mus |
| OLD | NEW |