summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/egl_tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/egl/egl_tracker.h')
-rw-r--r--src/gallium/state_trackers/egl/egl_tracker.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/egl_tracker.h b/src/gallium/state_trackers/egl/egl_tracker.h
index df637a5343..0b4dd9797d 100644
--- a/src/gallium/state_trackers/egl/egl_tracker.h
+++ b/src/gallium/state_trackers/egl/egl_tracker.h
@@ -96,13 +96,19 @@ struct drm_screen
*/
struct pipe_buffer *buffer;
+ struct pipe_texture *tex;
+ struct pipe_surface *surface;
/*
* drm
*/
- /* buffer handle */
- int handle;
+ struct {
+ unsigned height;
+ unsigned width;
+ unsigned pitch;
+ unsigned handle;
+ } front;
/* currently only support one connector */
drmModeConnectorPtr connector;