aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2014-10-22 18:13:16 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2014-10-29 18:02:01 -0600
commitfa8e54ef69eafd803a9748572b36b397a2afcd37 (patch)
tree7492a120e9f0e46101bef1661019cfec78522ae9 /include
parent7530f4d43de1a2f9e646aad8ff755fac0a95628f (diff)
downloadusermoji-fa8e54ef69eafd803a9748572b36b397a2afcd37.tar.xz
Make layer activation via CreateDevice struct or env variable
Also finish making all activated layers per icd and per gpu.
Diffstat (limited to 'include')
-rw-r--r--include/xgl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/xgl.h b/include/xgl.h
index 64734e10..25812c91 100644
--- a/include/xgl.h
+++ b/include/xgl.h
@@ -871,6 +871,7 @@ typedef enum _XGL_STRUCTURE_TYPE
// IMG CHANGE BEGIN - support for vertex input description
XGL_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_CREATE_INFO = 34,
// IMG CHANGE END
+ XGL_STRUCTURE_TYPE_LAYER_CREATE_INFO = 35,
XGL_MAX_ENUM(_XGL_STRUCTURE_TYPE)
} XGL_STRUCTURE_TYPE;
@@ -1118,6 +1119,14 @@ typedef struct _XGL_DEVICE_CREATE_INFO
XGL_FLAGS flags; // XGL_DEVICE_CREATE_FLAGS
} XGL_DEVICE_CREATE_INFO;
+typedef struct _XGL_LAYER_CREATE_INFO
+{
+ XGL_STRUCTURE_TYPE sType; // Should be XGL_STRUCTURE_TYPE_LAYER_CREATE_INFO
+ XGL_VOID* pNext; // Pointer to next structure
+ XGL_UINT layerCount;
+ const XGL_CHAR *const* ppActiveLayerNames; // layer library name of form libXGLLayer<Name>.so
+} XGL_LAYER_CREATE_INFO;
+
typedef struct _XGL_PHYSICAL_GPU_QUEUE_PROPERTIES
{
XGL_SIZE structSize; // Size of structure in bytes