wayland-egl: Drop ill-defined pixmap support
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Oct 2012 19:30:56 +0000 (15:30 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Oct 2012 19:30:56 +0000 (15:30 -0400)
We don't have a use case for this and the actual semantics and
synchronization behavior of wl_egl_pixmap were never really well-defined.
It also doesn't provide the cross-process buffer sharing that make
window systems pixmaps useful in other window systems.

src/wayland-egl.h

index 56811a7..8255151 100644 (file)
@@ -33,7 +33,6 @@ extern "C" {
 #define WL_EGL_PLATFORM 1
 
 struct wl_egl_window;
-struct wl_egl_pixmap;
 
 struct wl_egl_window *
 wl_egl_window_create(struct wl_surface *surface,
@@ -51,14 +50,6 @@ void
 wl_egl_window_get_attached_size(struct wl_egl_window *egl_window,
                                int *width, int *height);
 
-struct wl_egl_pixmap *
-wl_egl_pixmap_create(int width, int height, uint32_t flags);
-void
-wl_egl_pixmap_destroy(struct wl_egl_pixmap *egl_pixmap);
-
-struct wl_buffer *
-wl_egl_pixmap_create_buffer(struct wl_egl_pixmap *egl_pixmap);
-
 #ifdef  __cplusplus
 }
 #endif