summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/common/native.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-10 20:15:06 +0800
committerChia-I Wu <olv@lunarg.com>2010-11-03 17:47:08 +0800
commitaf977b53826695afcdcfe900816a93671aec00f5 (patch)
treef09be9089ef5d578b32c444dbae59d71ce6c3409 /src/gallium/state_trackers/egl/common/native.h
parenta5f4338fc4f9b4500c5754de237f77549b3cedf8 (diff)
st/egl: Add native_display_buffer interface.
The interface is a wrapper to pipe_screen::resource_from_handle and pipe_screen::resource_get_handle. A winsys handle is platform-dependent.
Diffstat (limited to 'src/gallium/state_trackers/egl/common/native.h')
-rw-r--r--src/gallium/state_trackers/egl/common/native.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/common/native.h b/src/gallium/state_trackers/egl/common/native.h
index 5ee7956ac7..3886ca2056 100644
--- a/src/gallium/state_trackers/egl/common/native.h
+++ b/src/gallium/state_trackers/egl/common/native.h
@@ -38,6 +38,7 @@
extern "C" {
#endif
+#include "native_buffer.h"
#include "native_modeset.h"
/**
@@ -190,6 +191,7 @@ struct native_display {
EGLNativePixmapType pix,
const struct native_config *nconf);
+ const struct native_display_buffer *buffer;
const struct native_display_modeset *modeset;
};