Home
last modified time | relevance | path

Searched refs:ctx_attribs (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/glx/
Ddri3_glx.c250 uint32_t ctx_attribs[2 * 6]; in dri3_create_context_attribs() local
284 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in dri3_create_context_attribs()
285 ctx_attribs[num_ctx_attribs++] = major_ver; in dri3_create_context_attribs()
286 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in dri3_create_context_attribs()
287 ctx_attribs[num_ctx_attribs++] = minor_ver; in dri3_create_context_attribs()
294 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_RESET_STRATEGY; in dri3_create_context_attribs()
295 ctx_attribs[num_ctx_attribs++] = reset; in dri3_create_context_attribs()
299 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_RELEASE_BEHAVIOR; in dri3_create_context_attribs()
300 ctx_attribs[num_ctx_attribs++] = release; in dri3_create_context_attribs()
304 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_FLAGS; in dri3_create_context_attribs()
[all …]
Ddrisw_glx.c558 uint32_t ctx_attribs[2 * 5]; in drisw_create_context_attribs() local
603 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in drisw_create_context_attribs()
604 ctx_attribs[num_ctx_attribs++] = major_ver; in drisw_create_context_attribs()
605 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in drisw_create_context_attribs()
606 ctx_attribs[num_ctx_attribs++] = minor_ver; in drisw_create_context_attribs()
608 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_RELEASE_BEHAVIOR; in drisw_create_context_attribs()
609 ctx_attribs[num_ctx_attribs++] = release; in drisw_create_context_attribs()
613 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_FLAGS; in drisw_create_context_attribs()
618 ctx_attribs[num_ctx_attribs++] = flags; in drisw_create_context_attribs()
632 ctx_attribs, in drisw_create_context_attribs()
Ddri2_glx.c251 uint32_t ctx_attribs[2 * 6]; in dri2_create_context_attribs() local
288 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in dri2_create_context_attribs()
289 ctx_attribs[num_ctx_attribs++] = major_ver; in dri2_create_context_attribs()
290 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in dri2_create_context_attribs()
291 ctx_attribs[num_ctx_attribs++] = minor_ver; in dri2_create_context_attribs()
298 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_RESET_STRATEGY; in dri2_create_context_attribs()
299 ctx_attribs[num_ctx_attribs++] = reset; in dri2_create_context_attribs()
303 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_RELEASE_BEHAVIOR; in dri2_create_context_attribs()
304 ctx_attribs[num_ctx_attribs++] = release; in dri2_create_context_attribs()
308 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_FLAGS; in dri2_create_context_attribs()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1398 uint32_t *ctx_attribs, in dri2_fill_context_attribs() argument
1405 ctx_attribs[pos++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in dri2_fill_context_attribs()
1406 ctx_attribs[pos++] = dri2_ctx->base.ClientMajorVersion; in dri2_fill_context_attribs()
1407 ctx_attribs[pos++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in dri2_fill_context_attribs()
1408 ctx_attribs[pos++] = dri2_ctx->base.ClientMinorVersion; in dri2_fill_context_attribs()
1421 ctx_attribs[pos++] = __DRI_CTX_ATTRIB_FLAGS; in dri2_fill_context_attribs()
1422 ctx_attribs[pos++] = dri2_ctx->base.Flags | in dri2_fill_context_attribs()
1436 ctx_attribs[pos++] = __DRI_CTX_ATTRIB_RESET_STRATEGY; in dri2_fill_context_attribs()
1437 ctx_attribs[pos++] = __DRI_CTX_RESET_LOSE_CONTEXT; in dri2_fill_context_attribs()
1458 ctx_attribs[pos++] = __DRI_CTX_ATTRIB_PRIORITY; in dri2_fill_context_attribs()
[all …]