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

Unified Diff: blimp/client/feature/compositor/blimp_output_surface.h

Issue 2266863003: blimp: Move BlimpCompositor to use delegated rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make gn happy Created 4 years, 4 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
Index: blimp/client/feature/compositor/blimp_output_surface.h
diff --git a/blimp/client/feature/compositor/blimp_output_surface.h b/blimp/client/feature/compositor/blimp_output_surface.h
deleted file mode 100644
index 00a6ca924c26b08422df5846c80d0857d69932b7..0000000000000000000000000000000000000000
--- a/blimp/client/feature/compositor/blimp_output_surface.h
+++ /dev/null
@@ -1,36 +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.
-
-#ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_
-#define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "cc/output/output_surface.h"
-
-namespace blimp {
-namespace client {
-class BlimpContextProvider;
-
-// Minimal implementation of cc::OutputSurface.
-class BlimpOutputSurface : public cc::OutputSurface {
- public:
- explicit BlimpOutputSurface(
- scoped_refptr<BlimpContextProvider> context_provider);
- ~BlimpOutputSurface() override;
-
- // OutputSurface implementation.
- void SwapBuffers(cc::CompositorFrame frame) override;
- uint32_t GetFramebufferCopyTextureFormat() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BlimpOutputSurface);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_

Powered by Google App Engine
This is Rietveld 408576698