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

Unified Diff: components/mus/gles2/command_buffer_type_conversions.cc

Issue 1976703003: Impl mus::mojom::GpuService to enable using Chrome IPC version gpu CmdBuf in mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/gles2/command_buffer_type_conversions.h ('k') | components/mus/gles2/gpu_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_type_conversions.cc
diff --git a/components/mus/gles2/command_buffer_type_conversions.cc b/components/mus/gles2/command_buffer_type_conversions.cc
deleted file mode 100644
index 73e549353b02dca8d229937491498caf5946299b..0000000000000000000000000000000000000000
--- a/components/mus/gles2/command_buffer_type_conversions.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/mus/gles2/command_buffer_type_conversions.h"
-
-#include "components/mus/public/interfaces/command_buffer.mojom.h"
-
-using mus::mojom::GpuInfo;
-using mus::mojom::GpuInfoPtr;
-
-namespace mojo {
-
-GpuInfoPtr
-TypeConverter<GpuInfoPtr, gpu::GPUInfo>::Convert(
- const gpu::GPUInfo& input) {
- GpuInfoPtr result(GpuInfo::New());
- result->vendor_id = input.gpu.vendor_id;
- result->device_id = input.gpu.device_id;
- result->vendor_info = mojo::String::From<std::string>(input.gl_vendor);
- result->renderer_info = mojo::String::From<std::string>(input.gl_renderer);
- result->driver_version =
- mojo::String::From<std::string>(input.driver_version);
- return result;
-}
-
-} // namespace mojo
« no previous file with comments | « components/mus/gles2/command_buffer_type_conversions.h ('k') | components/mus/gles2/gpu_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698