From b51e18d59b6f8e44a5d3516fc3359c54fa913331 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 5 May 2009 18:21:32 -0700 Subject: move android_native_buffer_t declaration into its own private/ui/android_native_priv.h header, since user code should never have access to it. --- include/ui/egl/android_natives.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'include/ui') diff --git a/include/ui/egl/android_natives.h b/include/ui/egl/android_natives.h index 5842ee72ce7f..fa3b7a0dc78d 100644 --- a/include/ui/egl/android_natives.h +++ b/include/ui/egl/android_natives.h @@ -139,32 +139,6 @@ struct android_native_window_t }; -struct android_native_buffer_t -{ -#ifdef __cplusplus - android_native_buffer_t() { - common.magic = ANDROID_NATIVE_BUFFER_MAGIC; - common.version = sizeof(android_native_buffer_t); - memset(common.reserved, 0, sizeof(common.reserved)); - } -#endif - - struct android_native_base_t common; - - int width; - int height; - int stride; - int format; - int usage; - - void* reserved[2]; - - buffer_handle_t handle; - - void* reserved_proc[8]; -}; - - /* FIXME: this is legacy for pixmaps */ struct egl_native_pixmap_t { -- cgit v1.2.3-59-g8ed1b