~ubuntu-branches/ubuntu/vivid/mir/vivid

« back to all changes in this revision

Viewing changes to src/platform/graphics/android/display_device.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-02-04 14:49:07 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20140204144907-o3ruhix0ey26lchl
Tags: upstream-0.1.4+14.04.20140204
ImportĀ upstreamĀ versionĀ 0.1.4+14.04.20140204

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MIR_GRAPHICS_ANDROID_DISPLAY_SUPPORT_PROVIDER_H_
20
20
#define MIR_GRAPHICS_ANDROID_DISPLAY_SUPPORT_PROVIDER_H_
21
21
 
 
22
#include "mir/graphics/renderable.h"
22
23
#include "mir_toolkit/common.h"
23
24
#include <EGL/egl.h>
 
25
#include <list>
24
26
 
25
27
namespace mir
26
28
{
27
29
namespace graphics
28
30
{
29
31
class Buffer;
 
32
class Renderable;
30
33
 
31
34
namespace android
32
35
{
37
40
    virtual ~DisplayDevice() = default;
38
41
 
39
42
    virtual void mode(MirPowerMode mode) = 0;
40
 
    virtual void prepare_composition() = 0;
 
43
    virtual void prepare_gl() = 0;
 
44
    virtual void prepare_gl_and_overlays(std::list<std::shared_ptr<Renderable>> const& list) = 0; 
41
45
    virtual void gpu_render(EGLDisplay dpy, EGLSurface sur) = 0;
42
46
    virtual void post(Buffer const& buffer) = 0;
43
47