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

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

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 years, 2 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 | « mojo/services/gles2/command_buffer_type_conversions.h ('k') | mojo/services/gles2/mojo_buffer_backing.h » ('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.cc
diff --git a/mojo/services/gles2/command_buffer_type_conversions.cc b/mojo/services/gles2/command_buffer_type_conversions.cc
deleted file mode 100644
index a279f15ae941115161d17076dde73dee63c2908c..0000000000000000000000000000000000000000
--- a/mojo/services/gles2/command_buffer_type_conversions.cc
+++ /dev/null
@@ -1,40 +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 "mojo/services/gles2/command_buffer_type_conversions.h"
-
-#include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h"
-
-namespace mojo {
-
-CommandBufferStatePtr
-TypeConverter<CommandBufferStatePtr, gpu::CommandBuffer::State>::Convert(
- const gpu::CommandBuffer::State& input) {
- CommandBufferStatePtr result(CommandBufferState::New());
- result->num_entries = input.num_entries;
- result->get_offset = input.get_offset;
- result->put_offset = input.put_offset;
- result->token = input.token;
- result->error = input.error;
- result->context_lost_reason = input.context_lost_reason;
- result->generation = input.generation;
- return result.Pass();
-}
-
-gpu::CommandBuffer::State
-TypeConverter<gpu::CommandBuffer::State, CommandBufferStatePtr>::Convert(
- const CommandBufferStatePtr& input) {
- gpu::CommandBuffer::State state;
- state.num_entries = input->num_entries;
- state.get_offset = input->get_offset;
- state.put_offset = input->put_offset;
- state.token = input->token;
- state.error = static_cast<gpu::error::Error>(input->error);
- state.context_lost_reason =
- static_cast<gpu::error::ContextLostReason>(input->context_lost_reason);
- state.generation = input->generation;
- return state;
-}
-
-} // namespace mojo
« no previous file with comments | « mojo/services/gles2/command_buffer_type_conversions.h ('k') | mojo/services/gles2/mojo_buffer_backing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698