aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2020-01-13 16:07:38 -0800
committerMarge Bot <[email protected]>2020-01-15 01:18:54 +0000
commitbe347863baa8de0ed47da0ad4f85ad9c255ca5c5 (patch)
tree37b028f7ae6a852357186e58c9d284ddf2798ec6 /src/gallium/include
parent2629cb627c2c4a3f75614886ce0fc0ce76e4f6f1 (diff)
st/dri: track if image is created by a dmabuf
Will be used by EXT_EGL_image_storage later. Acked-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3375>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/st_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 258da8fdeaf..0b953d6fb38 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -182,6 +182,8 @@ struct st_egl_image
unsigned level;
unsigned layer;
+ /* GL internal format. */
+ unsigned internalformat;
};
/**