Home
last modified time | relevance | path

Searched refs:ctx_config (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/frontends/dri/
Ddri_context.c48 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 …]
Ddri_context.h89 const struct __DriverContextConfig *ctx_config,
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c312 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 …]
Ddri_util.h128 const struct __DriverContextConfig *ctx_config,
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c54 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()
Dnouveau_context.h113 const struct __DriverContextConfig *ctx_config,
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c142 const struct __DriverContextConfig *ctx_config, in r100CreateContext() argument
154 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in r100CreateContext()
159 if (ctx_config->attribute_mask) { in r100CreateContext()
213 driContextSetFlags(ctx, ctx_config->flags); in r100CreateContext()
Dradeon_context.h456 ctx_config,
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c177 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()
251 driContextSetFlags(ctx, ctx_config->flags); in r200CreateContext()
Dr200_context.h632 ctx_config,
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c958 const struct __DriverContextConfig *ctx_config, in intelCreateContext() argument
967 if (ctx_config->flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_NO_ERROR)) { in intelCreateContext()
972 if (ctx_config->attribute_mask) { in intelCreateContext()
979 ctx_config->major_version, in intelCreateContext()
980 ctx_config->minor_version, in intelCreateContext()
981 ctx_config->flags, in intelCreateContext()
986 ctx_config->major_version, in intelCreateContext()
987 ctx_config->minor_version, in intelCreateContext()
988 ctx_config->flags, in intelCreateContext()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c940 const struct __DriverContextConfig *ctx_config, in brwCreateContext() argument
959 if (ctx_config->flags & ~allowed_flags) { in brwCreateContext()
964 if (ctx_config->attribute_mask & in brwCreateContext()
972 ((ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_RESET_STRATEGY) && in brwCreateContext()
973 ctx_config->reset_strategy != __DRI_CTX_RESET_NO_NOTIFICATION); in brwCreateContext()
1023 driContextSetFlags(ctx, ctx_config->flags); in brwCreateContext()
1080 if (ctx_config->attribute_mask & __DRIVER_CONTEXT_ATTRIB_PRIORITY) { in brwCreateContext()
1081 switch (ctx_config->priority) { in brwCreateContext()
1094 ctx_config->priority, hw_priority); in brwCreateContext()
1135 if ((ctx_config->flags & __DRI_CTX_FLAG_DEBUG) != 0) { in brwCreateContext()
[all …]
Dbrw_context.h1289 const struct __DriverContextConfig *ctx_config,
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c760 const struct __DriverContextConfig *ctx_config, in dri_create_context() argument
774 (void) ctx_config->flags; in dri_create_context()
777 if (ctx_config->attribute_mask != 0) { in dri_create_context()
808 driContextSetFlags(mesaCtx, ctx_config->flags); in dri_create_context()