Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Ddrisw_glx.c437 uint32_t ctx_attribs[2 * 4]; in drisw_create_context_attribs() local
471 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in drisw_create_context_attribs()
472 ctx_attribs[num_ctx_attribs++] = major_ver; in drisw_create_context_attribs()
473 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in drisw_create_context_attribs()
474 ctx_attribs[num_ctx_attribs++] = minor_ver; in drisw_create_context_attribs()
477 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_FLAGS; in drisw_create_context_attribs()
482 ctx_attribs[num_ctx_attribs++] = flags; in drisw_create_context_attribs()
491 ctx_attribs, in drisw_create_context_attribs()
Ddri2_glx.c245 uint32_t ctx_attribs[2 * 5]; in dri2_create_context_attribs() local
275 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in dri2_create_context_attribs()
276 ctx_attribs[num_ctx_attribs++] = major_ver; in dri2_create_context_attribs()
277 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in dri2_create_context_attribs()
278 ctx_attribs[num_ctx_attribs++] = minor_ver; in dri2_create_context_attribs()
285 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_RESET_STRATEGY; in dri2_create_context_attribs()
286 ctx_attribs[num_ctx_attribs++] = reset; in dri2_create_context_attribs()
290 ctx_attribs[num_ctx_attribs++] = __DRI_CTX_ATTRIB_FLAGS; in dri2_create_context_attribs()
295 ctx_attribs[num_ctx_attribs++] = flags; in dri2_create_context_attribs()
304 ctx_attribs, in dri2_create_context_attribs()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c788 uint32_t ctx_attribs[8]; in dri2_create_context() local
790 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; in dri2_create_context()
791 ctx_attribs[num_attribs++] = dri2_ctx->base.ClientMajorVersion; in dri2_create_context()
792 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; in dri2_create_context()
793 ctx_attribs[num_attribs++] = dri2_ctx->base.ClientMinorVersion; in dri2_create_context()
806 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_FLAGS; in dri2_create_context()
807 ctx_attribs[num_attribs++] = dri2_ctx->base.Flags; in dri2_create_context()
820 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_RESET_STRATEGY; in dri2_create_context()
821 ctx_attribs[num_attribs++] = __DRI_CTX_RESET_LOSE_CONTEXT; in dri2_create_context()
824 assert(num_attribs <= ARRAY_SIZE(ctx_attribs)); in dri2_create_context()
[all …]