Loading include/private/ui/android_natives_priv.h +2 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ extern "C" { /*****************************************************************************/ struct android_native_buffer_t typedef struct android_native_buffer_t { #ifdef __cplusplus android_native_buffer_t() { Loading @@ -48,7 +48,7 @@ struct android_native_buffer_t buffer_handle_t handle; void* reserved_proc[8]; }; } android_native_buffer_t; /*****************************************************************************/ Loading include/ui/egl/android_natives.h +15 −15 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ struct android_native_buffer_t; // --------------------------------------------------------------------------- struct android_native_base_t typedef struct android_native_base_t { /* a magic value defined by the actual EGL native type */ int magic; Loading @@ -54,9 +54,9 @@ struct android_native_base_t void* reserved[4]; /* reference-counting interface */ void (*incRef)(struct android_native_base_t* base); void (*decRef)(struct android_native_base_t* base); }; void (*incRef)(android_native_base_t* base); void (*decRef)(android_native_base_t* base); } android_native_base_t; // --------------------------------------------------------------------------- Loading @@ -72,7 +72,7 @@ enum { NATIVE_WINDOW_SET_USAGE = 0 }; struct android_native_window_t typedef struct android_native_window_t { #ifdef __cplusplus android_native_window_t() Loading Loading @@ -108,7 +108,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*setSwapInterval)(struct android_native_window_t* window, int (*setSwapInterval)(android_native_window_t* window, int interval); /* Loading @@ -118,7 +118,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*dequeueBuffer)(struct android_native_window_t* window, int (*dequeueBuffer)(android_native_window_t* window, struct android_native_buffer_t** buffer); /* Loading @@ -128,7 +128,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*lockBuffer)(struct android_native_window_t* window, int (*lockBuffer)(android_native_window_t* window, struct android_native_buffer_t* buffer); /* * hook called by EGL when modifications to the render buffer are done. Loading @@ -138,7 +138,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*queueBuffer)(struct android_native_window_t* window, int (*queueBuffer)(android_native_window_t* window, struct android_native_buffer_t* buffer); /* Loading @@ -146,7 +146,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*query)(struct android_native_window_t* window, int (*query)(android_native_window_t* window, int what, int* value); /* Loading @@ -162,11 +162,11 @@ struct android_native_window_t * */ int (*perform)(struct android_native_window_t* window, int (*perform)(android_native_window_t* window, int operation, ... ); void* reserved_proc[3]; }; } android_native_window_t; /* Loading @@ -180,7 +180,7 @@ struct android_native_window_t */ static inline int native_window_set_usage( struct android_native_window_t* window, int usage) android_native_window_t* window, int usage) { return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage); } Loading @@ -189,7 +189,7 @@ static inline int native_window_set_usage( // --------------------------------------------------------------------------- /* FIXME: this is legacy for pixmaps */ struct egl_native_pixmap_t typedef struct egl_native_pixmap_t { int32_t version; /* must be 32 */ int32_t width; Loading @@ -203,7 +203,7 @@ struct egl_native_pixmap_t int32_t vstride; }; int32_t reserved; }; } egl_native_pixmap_t; /*****************************************************************************/ Loading Loading
include/private/ui/android_natives_priv.h +2 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ extern "C" { /*****************************************************************************/ struct android_native_buffer_t typedef struct android_native_buffer_t { #ifdef __cplusplus android_native_buffer_t() { Loading @@ -48,7 +48,7 @@ struct android_native_buffer_t buffer_handle_t handle; void* reserved_proc[8]; }; } android_native_buffer_t; /*****************************************************************************/ Loading
include/ui/egl/android_natives.h +15 −15 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ struct android_native_buffer_t; // --------------------------------------------------------------------------- struct android_native_base_t typedef struct android_native_base_t { /* a magic value defined by the actual EGL native type */ int magic; Loading @@ -54,9 +54,9 @@ struct android_native_base_t void* reserved[4]; /* reference-counting interface */ void (*incRef)(struct android_native_base_t* base); void (*decRef)(struct android_native_base_t* base); }; void (*incRef)(android_native_base_t* base); void (*decRef)(android_native_base_t* base); } android_native_base_t; // --------------------------------------------------------------------------- Loading @@ -72,7 +72,7 @@ enum { NATIVE_WINDOW_SET_USAGE = 0 }; struct android_native_window_t typedef struct android_native_window_t { #ifdef __cplusplus android_native_window_t() Loading Loading @@ -108,7 +108,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*setSwapInterval)(struct android_native_window_t* window, int (*setSwapInterval)(android_native_window_t* window, int interval); /* Loading @@ -118,7 +118,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*dequeueBuffer)(struct android_native_window_t* window, int (*dequeueBuffer)(android_native_window_t* window, struct android_native_buffer_t** buffer); /* Loading @@ -128,7 +128,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*lockBuffer)(struct android_native_window_t* window, int (*lockBuffer)(android_native_window_t* window, struct android_native_buffer_t* buffer); /* * hook called by EGL when modifications to the render buffer are done. Loading @@ -138,7 +138,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*queueBuffer)(struct android_native_window_t* window, int (*queueBuffer)(android_native_window_t* window, struct android_native_buffer_t* buffer); /* Loading @@ -146,7 +146,7 @@ struct android_native_window_t * * Returns 0 on success or -errno on error. */ int (*query)(struct android_native_window_t* window, int (*query)(android_native_window_t* window, int what, int* value); /* Loading @@ -162,11 +162,11 @@ struct android_native_window_t * */ int (*perform)(struct android_native_window_t* window, int (*perform)(android_native_window_t* window, int operation, ... ); void* reserved_proc[3]; }; } android_native_window_t; /* Loading @@ -180,7 +180,7 @@ struct android_native_window_t */ static inline int native_window_set_usage( struct android_native_window_t* window, int usage) android_native_window_t* window, int usage) { return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage); } Loading @@ -189,7 +189,7 @@ static inline int native_window_set_usage( // --------------------------------------------------------------------------- /* FIXME: this is legacy for pixmaps */ struct egl_native_pixmap_t typedef struct egl_native_pixmap_t { int32_t version; /* must be 32 */ int32_t width; Loading @@ -203,7 +203,7 @@ struct egl_native_pixmap_t int32_t vstride; }; int32_t reserved; }; } egl_native_pixmap_t; /*****************************************************************************/ Loading