/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 303 struct __DriverContextConfig ctx_config; in driCreateContextAttribs() local 305 ctx_config.major_version = 1; in driCreateContextAttribs() 306 ctx_config.minor_version = 0; in driCreateContextAttribs() 307 ctx_config.flags = 0; in driCreateContextAttribs() 308 ctx_config.attribute_mask = 0; in driCreateContextAttribs() 309 ctx_config.priority = __DRI_CTX_PRIORITY_MEDIUM; in driCreateContextAttribs() 340 ctx_config.major_version = attribs[i * 2 + 1]; in driCreateContextAttribs() 343 ctx_config.minor_version = attribs[i * 2 + 1]; in driCreateContextAttribs() 346 ctx_config.flags = attribs[i * 2 + 1]; in driCreateContextAttribs() 350 ctx_config.attribute_mask |= in driCreateContextAttribs() [all …]
|
D | dri_util.h | 124 const struct __DriverContextConfig *ctx_config,
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
D | dri_context.c | 46 const struct __DriverContextConfig *ctx_config, in dri_create_context() argument 71 if (ctx_config->flags & ~allowed_flags) { in dri_create_context() 76 if (ctx_config->attribute_mask & ~allowed_attribs) { in dri_create_context() 93 attribs.major = ctx_config->major_version; in dri_create_context() 94 attribs.minor = ctx_config->minor_version; in dri_create_context() 96 if ((ctx_config->flags & __DRI_CTX_FLAG_FORWARD_COMPATIBLE) != 0) in dri_create_context() 104 if ((ctx_config->flags & __DRI_CTX_FLAG_DEBUG) != 0) in dri_create_context() 107 if (ctx_config->flags & __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS) in dri_create_context() 110 if (ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_RESET_STRATEGY) in dri_create_context() 111 if (ctx_config->reset_strategy != __DRI_CTX_RESET_NO_NOTIFICATION) in dri_create_context() [all …]
|
D | dri_context.h | 89 const struct __DriverContextConfig *ctx_config,
|
/external/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,
|
/external/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() 213 driContextSetFlags(ctx, ctx_config->flags); in r100CreateContext()
|
D | radeon_context.h | 456 ctx_config,
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_context.c | 177 const struct __DriverContextConfig *ctx_config, in r200CreateContext() argument 189 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in r200CreateContext() 194 if (ctx_config->attribute_mask) { in r200CreateContext() 250 driContextSetFlags(ctx, ctx_config->flags); in r200CreateContext()
|
D | r200_context.h | 632 ctx_config,
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_screen.c | 961 const struct __DriverContextConfig *ctx_config, in intelCreateContext() argument 970 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in intelCreateContext() 975 if (ctx_config->attribute_mask) { in intelCreateContext() 982 ctx_config->major_version, in intelCreateContext() 983 ctx_config->minor_version, in intelCreateContext() 984 ctx_config->flags, in intelCreateContext() 989 ctx_config->major_version, in intelCreateContext() 990 ctx_config->minor_version, in intelCreateContext() 991 ctx_config->flags, in intelCreateContext()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 847 const struct __DriverContextConfig *ctx_config, in brwCreateContext() argument 866 if (ctx_config->flags & ~allowed_flags) { in brwCreateContext() 871 if (ctx_config->attribute_mask & in brwCreateContext() 879 ((ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_RESET_STRATEGY) && in brwCreateContext() 880 ctx_config->reset_strategy != __DRI_CTX_RESET_NO_NOTIFICATION); in brwCreateContext() 931 driContextSetFlags(ctx, ctx_config->flags); in brwCreateContext() 991 if (ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_PRIORITY) { in brwCreateContext() 992 switch (ctx_config->priority) { in brwCreateContext() 1005 ctx_config->priority, hw_priority); in brwCreateContext() 1044 if ((ctx_config->flags & __DRI_CTX_FLAG_DEBUG) != 0) { in brwCreateContext() [all …]
|
D | brw_context.h | 1332 const struct __DriverContextConfig *ctx_config,
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 755 const struct __DriverContextConfig *ctx_config, in dri_create_context() argument 769 (void) ctx_config->flags; in dri_create_context() 772 if (ctx_config->attribute_mask != 0) { in dri_create_context() 802 driContextSetFlags(mesaCtx, ctx_config->flags); in dri_create_context()
|