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

Unified Diff: blimp/client/compositor/blimp_output_surface.cc

Issue 1636163002: Restructure contents of blimp/client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « blimp/client/compositor/blimp_output_surface.h ('k') | blimp/client/compositor/test/dummy_layer_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/compositor/blimp_output_surface.cc
diff --git a/blimp/client/compositor/blimp_output_surface.cc b/blimp/client/compositor/blimp_output_surface.cc
deleted file mode 100644
index 1c671bb6f3677bd82a50b66b2fabfaa9889952cd..0000000000000000000000000000000000000000
--- a/blimp/client/compositor/blimp_output_surface.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 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 "blimp/client/compositor/blimp_output_surface.h"
-
-#include "base/bind.h"
-#include "base/message_loop/message_loop.h"
-#include "cc/output/output_surface_client.h"
-#include "gpu/command_buffer/client/context_support.h"
-
-namespace blimp {
-namespace client {
-
-BlimpOutputSurface::BlimpOutputSurface(
- const scoped_refptr<cc::ContextProvider>& context_provider)
- : cc::OutputSurface(context_provider) {
-}
-
-BlimpOutputSurface::~BlimpOutputSurface() {}
-
-void BlimpOutputSurface::SwapBuffers(cc::CompositorFrame* frame) {
- // See cc::OutputSurface::SwapBuffers() comment for details.
- context_provider_->ContextSupport()->Swap();
- client_->DidSwapBuffers();
- cc::OutputSurface::PostSwapBuffersComplete();
-}
-
-} // namespace client
-} // namespace blimp
« no previous file with comments | « blimp/client/compositor/blimp_output_surface.h ('k') | blimp/client/compositor/test/dummy_layer_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698