Searched refs:ctx_config (Results 1 – 13 of 13) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_context.c | 48 const struct __DriverContextConfig *ctx_config, in dri_create_context() argument 74 if (ctx_config->flags & ~allowed_flags) { in dri_create_context() 79 if (ctx_config->attribute_mask & ~allowed_attribs) { in dri_create_context() 101 attribs.major = ctx_config->major_version; in dri_create_context() 102 attribs.minor = ctx_config->minor_version; in dri_create_context() 104 if ((ctx_config->flags & __DRI_CTX_FLAG_FORWARD_COMPATIBLE) != 0) in dri_create_context() 112 if ((ctx_config->flags & __DRI_CTX_FLAG_DEBUG) != 0) in dri_create_context() 115 if (ctx_config->flags & __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS) in dri_create_context() 118 if (ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_RESET_STRATEGY) in dri_create_context() 119 if (ctx_config->reset_strategy != __DRI_CTX_RESET_NO_NOTIFICATION) in dri_create_context() [all …]
|
D | dri_context.h | 95 const struct __DriverContextConfig *ctx_config,
|
/third_party/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 312 struct __DriverContextConfig ctx_config; in driCreateContextAttribs() local 314 ctx_config.major_version = 1; in driCreateContextAttribs() 315 ctx_config.minor_version = 0; in driCreateContextAttribs() 316 ctx_config.flags = 0; in driCreateContextAttribs() 317 ctx_config.attribute_mask = 0; in driCreateContextAttribs() 318 ctx_config.priority = __DRI_CTX_PRIORITY_MEDIUM; in driCreateContextAttribs() 349 ctx_config.major_version = attribs[i * 2 + 1]; in driCreateContextAttribs() 352 ctx_config.minor_version = attribs[i * 2 + 1]; in driCreateContextAttribs() 355 ctx_config.flags = attribs[i * 2 + 1]; in driCreateContextAttribs() 359 ctx_config.attribute_mask |= in driCreateContextAttribs() [all …]
|
D | dri_util.h | 128 const struct __DriverContextConfig *ctx_config,
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_context.c | 54 const struct __DriverContextConfig *ctx_config, in nouveau_context_create() argument 63 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in nouveau_context_create() 68 if (ctx_config->attribute_mask) { in nouveau_context_create() 79 driContextSetFlags(ctx, ctx_config->flags); in nouveau_context_create() 86 if (ctx->Version < (ctx_config->major_version * 10 + in nouveau_context_create() 87 ctx_config->minor_version)) { in nouveau_context_create()
|
D | nouveau_context.h | 113 const struct __DriverContextConfig *ctx_config,
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_context.c | 143 const struct __DriverContextConfig *ctx_config, in r100CreateContext() argument 155 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in r100CreateContext() 160 if (ctx_config->attribute_mask) { in r100CreateContext() 214 driContextSetFlags(ctx, ctx_config->flags); in r100CreateContext()
|
D | radeon_context.h | 456 ctx_config,
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_context.c | 178 const struct __DriverContextConfig *ctx_config, in r200CreateContext() argument 190 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in r200CreateContext() 195 if (ctx_config->attribute_mask) { in r200CreateContext() 252 driContextSetFlags(ctx, ctx_config->flags); in r200CreateContext()
|
D | r200_context.h | 632 ctx_config,
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_screen.c | 975 const struct __DriverContextConfig *ctx_config, in intelCreateContext() argument 984 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in intelCreateContext() 989 if (ctx_config->attribute_mask) { in intelCreateContext() 996 ctx_config->major_version, in intelCreateContext() 997 ctx_config->minor_version, in intelCreateContext() 998 ctx_config->flags, in intelCreateContext() 1003 ctx_config->major_version, in intelCreateContext() 1004 ctx_config->minor_version, in intelCreateContext() 1005 ctx_config->flags, in intelCreateContext()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 962 const struct __DriverContextConfig *ctx_config, in brw_create_context() argument 981 if (ctx_config->flags & ~allowed_flags) { in brw_create_context() 986 if (ctx_config->attribute_mask & in brw_create_context() 994 ((ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_RESET_STRATEGY) && in brw_create_context() 995 ctx_config->reset_strategy != __DRI_CTX_RESET_NO_NOTIFICATION); in brw_create_context() 1052 driContextSetFlags(ctx, ctx_config->flags); in brw_create_context() 1109 if (ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_PRIORITY) { in brw_create_context() 1110 switch (ctx_config->priority) { in brw_create_context() 1123 ctx_config->priority, hw_priority); in brw_create_context() 1165 if ((ctx_config->flags & __DRI_CTX_FLAG_DEBUG) != 0) { in brw_create_context() [all …]
|
D | brw_context.h | 1283 const struct __DriverContextConfig *ctx_config,
|