summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/dri2.c
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2016-06-20 17:34:10 +0800
committerMauro Rossi <issor.oruam@gmail.com>2016-11-01 20:41:59 +0100
commit8e91ec27bdbf4b830c9616e3e04b912831c0cf36 (patch)
tree764a7cb812f5944e235b6d7b35c4c117b50cdf59 /src/gallium/state_trackers/dri/dri2.c
parent8f951a6f82fafc09d133c89306c8402f38d6d576 (diff)
downloadexternal_mesa3d-8e91ec27bdbf4b830c9616e3e04b912831c0cf36.zip
external_mesa3d-8e91ec27bdbf4b830c9616e3e04b912831c0cf36.tar.gz
external_mesa3d-8e91ec27bdbf4b830c9616e3e04b912831c0cf36.tar.bz2
android: more fixes for llvmpipe software rendering
* add dri2_create_from_texture to driswImageExtension * add dri2FenceExtension to drisw_screen_extensions
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
-rw-r--r--src/gallium/state_trackers/dri/dri2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c
index 8c058f7..9b51936 100644
--- a/src/gallium/state_trackers/dri/dri2.c
+++ b/src/gallium/state_trackers/dri/dri2.c
@@ -1173,7 +1173,7 @@ dri2_from_planar(__DRIimage *image, int plane, void *loaderPrivate)
return img;
}
-static __DRIimage *
+__DRIimage *
dri2_create_from_texture(__DRIcontext *context, int target, unsigned texture,
int depth, int level, unsigned *error,
void *loaderPrivate)
@@ -1551,7 +1551,7 @@ dri2_server_wait_sync(__DRIcontext *_ctx, void *_fence, unsigned flags)
/* AFAIK, no driver currently supports parallel context execution. */
}
-static __DRI2fenceExtension dri2FenceExtension = {
+__DRI2fenceExtension dri2FenceExtension = {
.base = { __DRI2_FENCE, 1 },
.create_fence = dri2_create_fence,