~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to include/EGL/eglplatform.h

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
*/
26
26
 
27
27
/* Platform-specific types and definitions for egl.h
28
 
 * $Revision: 9724 $ on $Date: 2009-12-02 02:05:33 -0800 (Wed, 02 Dec 2009) $
 
28
 * $Revision: 12306 $ on $Date: 2010-08-25 09:51:28 -0700 (Wed, 25 Aug 2010) $
29
29
 *
30
30
 * Adopters may modify khrplatform.h and this file to suit their platform.
31
31
 * You are encouraged to submit all modifications to the Khronos group so that
60
60
 * Windows Device Context. They must be defined in platform-specific
61
61
 * code below. The EGL-prefixed versions of Native*Type are the same
62
62
 * types, renamed in EGL 1.3 so all types in the API start with "EGL".
 
63
 *
 
64
 * Khronos STRONGLY RECOMMENDS that you use the default definitions
 
65
 * provided below, since these changes affect both binary and source
 
66
 * portability of applications using EGL running on different EGL
 
67
 * implementations.
63
68
 */
64
69
 
65
70
#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */
90
95
typedef struct gbm_bo      *EGLNativePixmapType;
91
96
typedef void               *EGLNativeWindowType;
92
97
 
93
 
#elif defined(__unix__) || defined(__unix)
 
98
#elif defined(ANDROID) /* Android */
 
99
 
 
100
struct ANativeWindow;
 
101
struct egl_native_pixmap_t;
 
102
 
 
103
typedef struct ANativeWindow        *EGLNativeWindowType;
 
104
typedef struct egl_native_pixmap_t  *EGLNativePixmapType;
 
105
typedef void                        *EGLNativeDisplayType;
 
106
 
 
107
#elif defined(__unix__)
94
108
 
95
109
#ifdef MESA_EGL_NO_X11_HEADERS
96
110