Loading include/ui/egl/android_natives.h +8 −8 Original line number Original line Diff line number Diff line Loading @@ -54,8 +54,8 @@ typedef struct android_native_base_t void* reserved[4]; void* reserved[4]; /* reference-counting interface */ /* reference-counting interface */ void (*incRef)(android_native_base_t* base); void (*incRef)(struct android_native_base_t* base); void (*decRef)(android_native_base_t* base); void (*decRef)(struct android_native_base_t* base); } android_native_base_t; } android_native_base_t; // --------------------------------------------------------------------------- // --------------------------------------------------------------------------- Loading Loading @@ -108,7 +108,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*setSwapInterval)(android_native_window_t* window, int (*setSwapInterval)(struct android_native_window_t* window, int interval); int interval); /* /* Loading @@ -118,7 +118,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*dequeueBuffer)(android_native_window_t* window, int (*dequeueBuffer)(struct android_native_window_t* window, struct android_native_buffer_t** buffer); struct android_native_buffer_t** buffer); /* /* Loading @@ -128,7 +128,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*lockBuffer)(android_native_window_t* window, int (*lockBuffer)(struct android_native_window_t* window, struct android_native_buffer_t* buffer); struct android_native_buffer_t* buffer); /* /* * hook called by EGL when modifications to the render buffer are done. * hook called by EGL when modifications to the render buffer are done. Loading @@ -138,7 +138,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*queueBuffer)(android_native_window_t* window, int (*queueBuffer)(struct android_native_window_t* window, struct android_native_buffer_t* buffer); struct android_native_buffer_t* buffer); /* /* Loading @@ -146,7 +146,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*query)(android_native_window_t* window, int (*query)(struct android_native_window_t* window, int what, int* value); int what, int* value); /* /* Loading @@ -162,7 +162,7 @@ typedef struct android_native_window_t * * */ */ int (*perform)(android_native_window_t* window, int (*perform)(struct android_native_window_t* window, int operation, ... ); int operation, ... ); void* reserved_proc[3]; void* reserved_proc[3]; Loading Loading
include/ui/egl/android_natives.h +8 −8 Original line number Original line Diff line number Diff line Loading @@ -54,8 +54,8 @@ typedef struct android_native_base_t void* reserved[4]; void* reserved[4]; /* reference-counting interface */ /* reference-counting interface */ void (*incRef)(android_native_base_t* base); void (*incRef)(struct android_native_base_t* base); void (*decRef)(android_native_base_t* base); void (*decRef)(struct android_native_base_t* base); } android_native_base_t; } android_native_base_t; // --------------------------------------------------------------------------- // --------------------------------------------------------------------------- Loading Loading @@ -108,7 +108,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*setSwapInterval)(android_native_window_t* window, int (*setSwapInterval)(struct android_native_window_t* window, int interval); int interval); /* /* Loading @@ -118,7 +118,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*dequeueBuffer)(android_native_window_t* window, int (*dequeueBuffer)(struct android_native_window_t* window, struct android_native_buffer_t** buffer); struct android_native_buffer_t** buffer); /* /* Loading @@ -128,7 +128,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*lockBuffer)(android_native_window_t* window, int (*lockBuffer)(struct android_native_window_t* window, struct android_native_buffer_t* buffer); struct android_native_buffer_t* buffer); /* /* * hook called by EGL when modifications to the render buffer are done. * hook called by EGL when modifications to the render buffer are done. Loading @@ -138,7 +138,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*queueBuffer)(android_native_window_t* window, int (*queueBuffer)(struct android_native_window_t* window, struct android_native_buffer_t* buffer); struct android_native_buffer_t* buffer); /* /* Loading @@ -146,7 +146,7 @@ typedef struct android_native_window_t * * * Returns 0 on success or -errno on error. * Returns 0 on success or -errno on error. */ */ int (*query)(android_native_window_t* window, int (*query)(struct android_native_window_t* window, int what, int* value); int what, int* value); /* /* Loading @@ -162,7 +162,7 @@ typedef struct android_native_window_t * * */ */ int (*perform)(android_native_window_t* window, int (*perform)(struct android_native_window_t* window, int operation, ... ); int operation, ... ); void* reserved_proc[3]; void* reserved_proc[3]; Loading