~sergiusens/libhybris/autotests

« back to all changes in this revision

Viewing changes to hybris/egl/platforms/common/wayland-egl-priv.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2013-06-04 07:33:11 UTC
  • Revision ID: package-import@ubuntu.com-20130604073311-20ldi2hm1axkvjl1
Tags: upstream-0.1.0+git20130601+dfb2e26
ImportĀ upstreamĀ versionĀ 0.1.0+git20130601+dfb2e26

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _WAYLAND_EGL_PRIV_H
 
2
#define _WAYLAND_EGL_PRIV_H
 
3
 
 
4
#ifdef  __cplusplus
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
/* GCC visibility */
 
9
#if defined(__GNUC__) && __GNUC__ >= 4
 
10
#define WL_EGL_EXPORT __attribute__ ((visibility("default")))
 
11
#else
 
12
#define WL_EGL_EXPORT
 
13
#endif
 
14
 
 
15
#include <wayland-client.h>
 
16
 
 
17
struct wl_egl_window {
 
18
        struct wl_surface *surface;
 
19
 
 
20
        int width;
 
21
        int height;
 
22
        int dx;
 
23
        int dy;
 
24
 
 
25
        int attached_width;
 
26
        int attached_height;
 
27
};
 
28
 
 
29
#ifdef  __cplusplus
 
30
}
 
31
#endif
 
32
 
 
33
#endif
 
34