summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-05-14 18:50:15 +0100
committerEmil Velikov <[email protected]>2014-06-19 12:39:50 +0100
commit573b55e302dcf47ed6c2fe327ce720d72118921b (patch)
tree7c48f7fa00fc52cbb6a8e34c2fd8982e926ba1ae /src/gallium/include/state_tracker
parent1e414faa5edaafcdb1b90f8ddefa6aad77386d4d (diff)
target-helpers: add dd_create_screen() helper
Will be used by gallium targets that statically link the pipe-drivers in the final library. Provides identical functionality to device_descriptor.create_screan. v2: - Don't sw_screen_wrap the i915/svga screen. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r--src/gallium/include/state_tracker/drm_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h
index 959a7625e30..ea076850447 100644
--- a/src/gallium/include/state_tracker/drm_driver.h
+++ b/src/gallium/include/state_tracker/drm_driver.h
@@ -117,4 +117,6 @@ struct drm_driver_descriptor driver_descriptor = { \
.configuration = (conf), \
};
+extern struct pipe_screen *dd_create_screen(int fd);
+
#endif