summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorKeith Packard <[email protected]>2013-11-25 21:10:02 -0800
committerKenneth Graunke <[email protected]>2013-12-20 16:18:11 -0800
commitca2012a912dcd3d671071ad7472c8a7c570745f2 (patch)
tree2374b350eac06617059be9a8b4fc572f8a4a1b62 /src/glx
parent95b04850d0c578392288939723d8d56e4b600c93 (diff)
dri3: Clean up struct dri3_drawable
Move the depth field up with width and height. Remove unused previous_time and frames fields. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/dri3_priv.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index eb81ce7bdb1..f33a719ac68 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -177,7 +177,7 @@ dri3_pixmap_buf_id(enum dri3_buffer_type buffer_type)
struct dri3_drawable {
__GLXDRIdrawable base;
__DRIdrawable *driDrawable;
- int width, height;
+ int width, height, depth;
int swap_interval;
uint8_t have_back;
uint8_t have_fake_front;
@@ -193,13 +193,9 @@ struct dri3_drawable {
/* For WaitMSC */
uint32_t present_msc_request_serial;
uint32_t present_msc_event_serial;
-
- uint64_t previous_time;
- unsigned frames;
struct dri3_buffer *buffers[DRI3_NUM_BUFFERS];
int cur_back;
- int depth;
uint32_t *stamp;