HomeSort by relevance Sort by last modified time
    Searched defs:mem_ctx (Results 1 - 25 of 122) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/mesa/src/src/glsl/tests/
ralloc_test.cpp 34 void *mem_ctx = ralloc_context(NULL); local
36 EXPECT_EQ(NULL, ralloc_parent(mem_ctx));
copy_constant_to_storage_tests.cpp 50 void *mem_ctx; member in class:copy_constant_to_storage
56 this->mem_ctx = ralloc_context(NULL);
62 ralloc_free(this->mem_ctx);
63 this->mem_ctx = NULL;
70 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val);
89 generate_data(mem_ctx, GLSL_TYPE_UINT, 1, rows, val);
108 generate_data(mem_ctx, GLSL_TYPE_FLOAT, columns, rows, val);
127 generate_data(mem_ctx, GLSL_TYPE_BOOL, 1, rows, val);
151 generate_data(mem_ctx, GLSL_TYPE_INT, 1, 1, val);
  /external/mesa3d/src/glsl/tests/
ralloc_test.cpp 34 void *mem_ctx = ralloc_context(NULL); local
36 EXPECT_EQ(NULL, ralloc_parent(mem_ctx));
copy_constant_to_storage_tests.cpp 50 void *mem_ctx; member in class:copy_constant_to_storage
56 this->mem_ctx = ralloc_context(NULL);
62 ralloc_free(this->mem_ctx);
63 this->mem_ctx = NULL;
70 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val);
89 generate_data(mem_ctx, GLSL_TYPE_UINT, 1, rows, val);
108 generate_data(mem_ctx, GLSL_TYPE_FLOAT, columns, rows, val);
127 generate_data(mem_ctx, GLSL_TYPE_BOOL, 1, rows, val);
151 generate_data(mem_ctx, GLSL_TYPE_INT, 1, 1, val);
  /external/chromium_org/third_party/mesa/src/src/glsl/
ir_builder.h 46 void *mem_ctx = ralloc_parent(var); local
47 val = new(mem_ctx) ir_dereference_variable(var);
66 void *mem_ctx = ralloc_parent(var); local
67 val = new(mem_ctx) ir_dereference_variable(var);
80 void *mem_ctx; member in class:ir_builder::ir_factory
ir_print_visitor.h 90 void *mem_ctx; member in class:ir_print_visitor
glsl_symbol_table.h 122 void *mem_ctx; member in struct:glsl_symbol_table
ir_import_prototypes.cpp 46 void *mem_ctx)
48 this->mem_ctx = mem_ctx;
60 this->function = new(this->mem_ctx) ir_function(ir->name);
84 ir_function_signature *copy = ir->clone_prototype(mem_ctx, NULL);
99 void *mem_ctx; member in class:import_prototype_visitor
111 * \param mem_ctx ralloc memory context used for new allocations
115 glsl_symbol_table *symbols, void *mem_ctx)
117 import_prototype_visitor v(dest, symbols, mem_ctx);
lower_texture_projection.cpp 58 void *mem_ctx = ralloc_parent(ir); local
60 ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type,
63 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var);
64 ir_expression *expr = new(mem_ctx) ir_expression(ir_unop_rcp,
68 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, expr, NULL);
71 deref = new(mem_ctx) ir_dereference_variable(var);
72 ir->coordinate = new(mem_ctx) ir_expression(ir_binop_mul,
78 deref = new(mem_ctx) ir_dereference_variable(var);
79 ir->shadow_comparitor = new(mem_ctx) ir_expression(ir_binop_mul,
ir_variable_refcount.h 57 this->mem_ctx = ralloc_context(NULL);
63 ralloc_free(this->mem_ctx);
77 void *mem_ctx; member in class:ir_variable_refcount_visitor
lower_discard_flow.cpp 56 mem_ctx = ralloc_parent(discarded);
71 void *mem_ctx; member in class:lower_discard_flow_visitor
88 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded);
89 ir_rvalue *rhs = new(mem_ctx) ir_constant(true);
90 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
110 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded);
111 ir_rvalue *rhs = new(mem_ctx) ir_constant(false);
112 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
121 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variable(discarded);
122 ir_if *if_inst = new(mem_ctx) ir_if(if_condition)
133 void *mem_ctx = ir; local
    [all...]
  /external/mesa3d/src/glsl/
ir_builder.h 46 void *mem_ctx = ralloc_parent(var); local
47 val = new(mem_ctx) ir_dereference_variable(var);
66 void *mem_ctx = ralloc_parent(var); local
67 val = new(mem_ctx) ir_dereference_variable(var);
80 void *mem_ctx; member in class:ir_builder::ir_factory
ir_print_visitor.h 90 void *mem_ctx; member in class:ir_print_visitor
glsl_symbol_table.h 122 void *mem_ctx; member in struct:glsl_symbol_table
ir_import_prototypes.cpp 46 void *mem_ctx)
48 this->mem_ctx = mem_ctx;
60 this->function = new(this->mem_ctx) ir_function(ir->name);
84 ir_function_signature *copy = ir->clone_prototype(mem_ctx, NULL);
99 void *mem_ctx; member in class:import_prototype_visitor
111 * \param mem_ctx ralloc memory context used for new allocations
115 glsl_symbol_table *symbols, void *mem_ctx)
117 import_prototype_visitor v(dest, symbols, mem_ctx);
lower_texture_projection.cpp 58 void *mem_ctx = ralloc_parent(ir); local
60 ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type,
63 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var);
64 ir_expression *expr = new(mem_ctx) ir_expression(ir_unop_rcp,
68 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, expr, NULL);
71 deref = new(mem_ctx) ir_dereference_variable(var);
72 ir->coordinate = new(mem_ctx) ir_expression(ir_binop_mul,
78 deref = new(mem_ctx) ir_dereference_variable(var);
79 ir->shadow_comparitor = new(mem_ctx) ir_expression(ir_binop_mul,
ir_variable_refcount.h 57 this->mem_ctx = ralloc_context(NULL);
63 ralloc_free(this->mem_ctx);
77 void *mem_ctx; member in class:ir_variable_refcount_visitor
lower_discard_flow.cpp 56 mem_ctx = ralloc_parent(discarded);
71 void *mem_ctx; member in class:lower_discard_flow_visitor
88 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded);
89 ir_rvalue *rhs = new(mem_ctx) ir_constant(true);
90 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
110 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded);
111 ir_rvalue *rhs = new(mem_ctx) ir_constant(false);
112 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
121 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variable(discarded);
122 ir_if *if_inst = new(mem_ctx) ir_if(if_condition)
133 void *mem_ctx = ir; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_cubemap_normalize.cpp 57 void *mem_ctx = ralloc_parent(ir); local
59 ir_variable *var = new(mem_ctx) ir_variable(ir->coordinate->type,
62 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var);
63 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, ir->coordinate,
67 deref = new(mem_ctx) ir_dereference_variable(var);
68 ir_rvalue *swiz0 = new(mem_ctx) ir_swizzle(deref, 0, 0, 0, 0, 1);
69 deref = new(mem_ctx) ir_dereference_variable(var);
70 ir_rvalue *swiz1 = new(mem_ctx) ir_swizzle(deref, 1, 0, 0, 0, 1);
71 deref = new(mem_ctx) ir_dereference_variable(var);
72 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1)
    [all...]
brw_fs_copy_propagation.cpp 80 fs_visitor::opt_copy_propagate_local(void *mem_ctx,
124 acp_entry *entry = ralloc(mem_ctx, acp_entry);
138 void *mem_ctx = ralloc_context(this->mem_ctx); local
146 progress = opt_copy_propagate_local(mem_ctx, block, &acp) || progress;
149 ralloc_free(mem_ctx);
brw_fs_live_variables.h 73 void *mem_ctx; member in class:brw::fs_live_variables
brw_lower_texture_gradients.cpp 93 void *mem_ctx = ralloc_parent(ir); local
100 ir_texture *txs = new(mem_ctx) ir_texture(ir_txs);
101 txs->set_sampler(ir->sampler->clone(mem_ctx, NULL),
103 txs->lod_info.lod = new(mem_ctx) ir_constant(0);
105 new(mem_ctx) ir_variable(grad_type, "size", ir_var_temporary);
109 base_ir->insert_before(assign(size, new(mem_ctx) ir_constant(1.0f), WRITEMASK_Z));
120 new(mem_ctx) ir_variable(grad_type, "dPdx", ir_var_temporary);
124 new(mem_ctx) ir_variable(grad_type, "dPdy", ir_var_temporary);
brw_sf.c 56 void *mem_ctx; local
62 mem_ctx = ralloc_context(NULL);
65 brw_init_compile(brw, &c.func, mem_ctx);
130 ralloc_free(mem_ctx);
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
sampler.cpp 45 this->mem_ctx = ralloc_context(NULL);
54 ralloc_free(this->mem_ctx);
65 this->name = ralloc_asprintf(mem_ctx, "%s.%s", name, ir->field);
91 this->name = ralloc_asprintf(mem_ctx, "%s[%d]", name, i);
100 void *mem_ctx; member in class:get_sampler_name
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_cubemap_normalize.cpp 57 void *mem_ctx = ralloc_parent(ir); local
59 ir_variable *var = new(mem_ctx) ir_variable(ir->coordinate->type,
62 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var);
63 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, ir->coordinate,
67 deref = new(mem_ctx) ir_dereference_variable(var);
68 ir_rvalue *swiz0 = new(mem_ctx) ir_swizzle(deref, 0, 0, 0, 0, 1);
69 deref = new(mem_ctx) ir_dereference_variable(var);
70 ir_rvalue *swiz1 = new(mem_ctx) ir_swizzle(deref, 1, 0, 0, 0, 1);
71 deref = new(mem_ctx) ir_dereference_variable(var);
72 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1)
    [all...]

Completed in 1782 milliseconds

1 2 3 4 5