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

Side by Side Diff: blimp/client/feature/compositor/blimp_output_surface.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_CLIENT_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_ 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_
6 #define BLIMP_CLIENT_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_ 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "cc/output/output_surface.h" 11 #include "cc/output/output_surface.h"
12 12
13 namespace blimp { 13 namespace blimp {
14 namespace client { 14 namespace client {
15 15
16 // Minimal implementation of cc::OutputSurface. 16 // Minimal implementation of cc::OutputSurface.
17 class BlimpOutputSurface : public cc::OutputSurface { 17 class BlimpOutputSurface : public cc::OutputSurface {
18 public: 18 public:
19 explicit BlimpOutputSurface( 19 explicit BlimpOutputSurface(
20 const scoped_refptr<cc::ContextProvider>& context_provider); 20 const scoped_refptr<cc::ContextProvider>& context_provider);
21 ~BlimpOutputSurface() override; 21 ~BlimpOutputSurface() override;
22 22
23 // OutputSurface implementation. 23 // OutputSurface implementation.
24 void SwapBuffers(cc::CompositorFrame* frame) override; 24 void SwapBuffers(cc::CompositorFrame* frame) override;
25 25
26 private: 26 private:
27 DISALLOW_COPY_AND_ASSIGN(BlimpOutputSurface); 27 DISALLOW_COPY_AND_ASSIGN(BlimpOutputSurface);
28 }; 28 };
29 29
30 } // namespace client 30 } // namespace client
31 } // namespace blimp 31 } // namespace blimp
32 32
33 #endif // BLIMP_CLIENT_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_ 33 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « blimp/client/feature/compositor/blimp_layer_tree_settings.cc ('k') | blimp/client/feature/compositor/blimp_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698