#include "pipe/p_state.h"
struct native_display;
+struct ANativeWindowBuffer;
enum native_buffer_type {
NATIVE_BUFFER_DRM,
+ NATIVE_BUFFER_ANDROID,
NUM_NATIVE_BUFFERS
};
unsigned handle; /**< the handle of the GEM object */
unsigned stride;
} drm;
+
+ struct ANativeWindowBuffer *android; /**< opaque native buffer */
} u;
};