projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wayland-drm: Drop the non-premul formats, use format codes from drm_fourcc.h
[mesa.git]
/
src
/
gallium
/
state_trackers
/
egl
/
common
/
native_buffer.h
diff --git
a/src/gallium/state_trackers/egl/common/native_buffer.h
b/src/gallium/state_trackers/egl/common/native_buffer.h
index b8a66d17e1203d094cb2d025acc0245c4f987719..eb161b11a3d0087acea54ae8b3170ebfbe0def38 100644
(file)
--- a/
src/gallium/state_trackers/egl/common/native_buffer.h
+++ b/
src/gallium/state_trackers/egl/common/native_buffer.h
@@
-33,9
+33,11
@@
#include "pipe/p_state.h"
struct native_display;
#include "pipe/p_state.h"
struct native_display;
+struct ANativeWindowBuffer;
enum native_buffer_type {
NATIVE_BUFFER_DRM,
enum native_buffer_type {
NATIVE_BUFFER_DRM,
+ NATIVE_BUFFER_ANDROID,
NUM_NATIVE_BUFFERS
};
NUM_NATIVE_BUFFERS
};
@@
-50,6
+52,8
@@
struct native_buffer {
unsigned handle; /**< the handle of the GEM object */
unsigned stride;
} drm;
unsigned handle; /**< the handle of the GEM object */
unsigned stride;
} drm;
+
+ struct ANativeWindowBuffer *android; /**< opaque native buffer */
} u;
};
} u;
};