Searched refs:new_ctx (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dralloc.h232 * This changes \p ptr's context to \p new_ctx. This is quite useful if
235 void ralloc_steal(const void *new_ctx, void *ptr);
240 * This effectively calls ralloc_steal(new_ctx, child) for all children of \p old_ctx.
242 void ralloc_adopt(const void *new_ctx, void *old_ctx);
H A Dralloc.c278 ralloc_steal(const void *new_ctx, void *ptr) argument
286 parent = new_ctx ? get_header(new_ctx) : NULL;
294 ralloc_adopt(const void *new_ctx, void *old_ctx) argument
302 new_info = get_header(new_ctx);
308 /* Set all the children's parent to new_ctx; get a pointer to the last child. */
314 /* Connect the two lists together; parent them to new_ctx; make old_ctx empty. */
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dralloc.h294 * This changes \p ptr's context to \p new_ctx. This is quite useful if
297 void ralloc_steal(const void *new_ctx, void *ptr);
302 * This effectively calls ralloc_steal(new_ctx, child) for all children of \p old_ctx.
304 void ralloc_adopt(const void *new_ctx, void *old_ctx);
H A Dralloc.c306 ralloc_steal(const void *new_ctx, void *ptr) argument
314 parent = new_ctx ? get_header(new_ctx) : NULL;
322 ralloc_adopt(const void *new_ctx, void *old_ctx) argument
330 new_info = get_header(new_ctx);
336 /* Set all the children's parent to new_ctx; get a pointer to the last child. */
342 /* Connect the two lists together; parent them to new_ctx; make old_ctx empty. */
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_bufmgr.c1580 uint32_t new_ctx = crocus_create_hw_context(bufmgr); local in function:crocus_clone_hw_context
1582 if (new_ctx) {
1584 crocus_hw_context_set_priority(bufmgr, new_ctx, priority);
1587 return new_ctx;
H A Dcrocus_batch.c778 uint32_t new_ctx = crocus_clone_hw_context(bufmgr, batch->hw_ctx_id); local in function:replace_hw_ctx
779 if (!new_ctx)
783 batch->hw_ctx_id = new_ctx;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_batch.c597 uint32_t new_ctx = iris_clone_hw_context(bufmgr, batch->hw_ctx_id); local in function:replace_hw_ctx
598 if (!new_ctx)
602 batch->hw_ctx_id = new_ctx;
H A Diris_bufmgr.c2103 uint32_t new_ctx = iris_create_hw_context(bufmgr); local in function:iris_clone_hw_context
2105 if (new_ctx) {
2107 iris_hw_context_set_priority(bufmgr, new_ctx, priority);
2110 return new_ctx;
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Dglxclient.h233 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Dglxclient.h235 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir.cpp1930 steal_memory(ir_instruction *ir, void *new_ctx) argument
1942 ralloc_steal(new_ctx, fn->subroutine_types);
1954 ralloc_steal(new_ctx, ir);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir.cpp2259 steal_memory(ir_instruction *ir, void *new_ctx) argument
2271 ralloc_steal(new_ctx, fn->subroutine_types);
2283 ralloc_steal(new_ctx, ir);

Completed in 22 milliseconds