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

Side by Side Diff: chromecast/ui/gfx/gfx_plane_directfb.h

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an additional function in gl_surface_cast.cc Created 6 years, 8 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
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_UI_GFX_GFX_PLANE_DIRECTFB_H_
6 #define CHROMECAST_UI_GFX_GFX_PLANE_DIRECTFB_H_
7
8 #include <directfb.h>
9 #include <string>
10
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "chromecast/ui/gfx/gfx_plane.h"
14
15 namespace gfx {
16
17 class Size;
18
19 namespace chromecast {
20
21 class Surface;
22
23 class GfxPlaneDirectFb : public GfxPlane {
24 public:
25 GfxPlaneDirectFb(const base::CommandLine& command_line);
26 virtual ~GfxPlaneDirectFb();
27
28 virtual Surface* CreateSurface(const Size& size) OVERRIDE;
29
30 IDirectFB* dfb() const { return dfb_; }
31
32 private:
33 IDirectFB* dfb_;
34
35 DISALLOW_COPY_AND_ASSIGN(GfxPlaneDirectFb);
36 };
37
38 } // namespace chromecast
39 } // namespace gfx
40
41 #endif // CHROMECAST_UI_GFX_GFX_PLANE_DIRECTFB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698