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

Unified Diff: mojo/services/gles2/command_buffer_type_conversions.h

Issue 769173002: Move native_viewport and gles2 service impls to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/services/gles2/command_buffer_impl.cc ('k') | mojo/services/gles2/command_buffer_type_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gles2/command_buffer_type_conversions.h
diff --git a/mojo/services/gles2/command_buffer_type_conversions.h b/mojo/services/gles2/command_buffer_type_conversions.h
deleted file mode 100644
index 883855e4ff9b55e826421d9006991c9dfc848b1a..0000000000000000000000000000000000000000
--- a/mojo/services/gles2/command_buffer_type_conversions.h
+++ /dev/null
@@ -1,67 +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.
-
-#ifndef MOJO_SERVICES_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_
-#define MOJO_SERVICES_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_
-
-#include "gpu/command_buffer/common/capabilities.h"
-#include "gpu/command_buffer/common/command_buffer.h"
-#include "mojo/public/cpp/bindings/type_converter.h"
-#include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h"
-
-namespace mojo {
-
-class CommandBufferState;
-
-template <>
-struct TypeConverter<CommandBufferStatePtr, gpu::CommandBuffer::State> {
- static CommandBufferStatePtr Convert(const gpu::CommandBuffer::State& input);
-};
-
-template <>
-struct TypeConverter<gpu::CommandBuffer::State, CommandBufferStatePtr> {
- static gpu::CommandBuffer::State Convert(const CommandBufferStatePtr& input);
-};
-
-template <>
-struct TypeConverter<GpuShaderPrecisionPtr,
- gpu::Capabilities::ShaderPrecision> {
- static GpuShaderPrecisionPtr Convert(
- const gpu::Capabilities::ShaderPrecision& input);
-};
-
-template <>
-struct TypeConverter<gpu::Capabilities::ShaderPrecision,
- GpuShaderPrecisionPtr> {
- static gpu::Capabilities::ShaderPrecision Convert(
- const GpuShaderPrecisionPtr& input);
-};
-
-template <>
-struct TypeConverter<GpuPerStagePrecisionsPtr,
- gpu::Capabilities::PerStagePrecisions> {
- static GpuPerStagePrecisionsPtr Convert(
- const gpu::Capabilities::PerStagePrecisions& input);
-};
-
-template <>
-struct TypeConverter<gpu::Capabilities::PerStagePrecisions,
- GpuPerStagePrecisionsPtr> {
- static gpu::Capabilities::PerStagePrecisions Convert(
- const GpuPerStagePrecisionsPtr& input);
-};
-
-template <>
-struct TypeConverter<GpuCapabilitiesPtr, gpu::Capabilities> {
- static GpuCapabilitiesPtr Convert(const gpu::Capabilities& input);
-};
-
-template <>
-struct TypeConverter<gpu::Capabilities, GpuCapabilitiesPtr> {
- static gpu::Capabilities Convert(const GpuCapabilitiesPtr& input);
-};
-
-} // namespace mojo
-
-#endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_
« no previous file with comments | « mojo/services/gles2/command_buffer_impl.cc ('k') | mojo/services/gles2/command_buffer_type_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698