Home
last modified time | relevance | path

Searched refs:wm (Results 1 – 25 of 40) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_state.c79 struct brw_wm_unit_state *wm; in brw_upload_wm_unit() local
81 wm = brw_state_batch(brw, AUB_TRACE_WM_STATE, in brw_upload_wm_unit()
82 sizeof(*wm), 32, &brw->wm.state_offset); in brw_upload_wm_unit()
83 memset(wm, 0, sizeof(*wm)); in brw_upload_wm_unit()
85 if (brw->wm.prog_data->prog_offset_16) { in brw_upload_wm_unit()
90 assert(brw->wm.prog_data->first_curbe_grf == in brw_upload_wm_unit()
91 brw->wm.prog_data->first_curbe_grf_16); in brw_upload_wm_unit()
95 wm->thread0.grf_reg_count = brw->wm.prog_data->reg_blocks; in brw_upload_wm_unit()
96 wm->wm9.grf_reg_count_2 = brw->wm.prog_data->reg_blocks_16; in brw_upload_wm_unit()
98 wm->thread0.kernel_start_pointer = in brw_upload_wm_unit()
[all …]
Dgen6_wm_state.c53 if (brw->wm.prog_data->nr_params != 0) { in gen6_upload_wm_push_constants()
58 brw->wm.prog_data->nr_params * in gen6_upload_wm_push_constants()
60 32, &brw->wm.push_const_offset); in gen6_upload_wm_push_constants()
62 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()
63 constants[i] = *brw->wm.prog_data->param[i]; in gen6_upload_wm_push_constants()
68 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()
70 printf("g%d: ", brw->wm.prog_data->first_curbe_grf + i / 8); in gen6_upload_wm_push_constants()
105 if (brw->wm.prog_data->nr_params == 0) { in upload_wm_state()
122 OUT_BATCH(brw->wm.push_const_offset + in upload_wm_state()
123 ALIGN(brw->wm.prog_data->nr_params, in upload_wm_state()
[all …]
Dgen7_wm_state.c68 dw1 |= brw->wm.prog_data->barycentric_interp_modes << in upload_wm_state()
124 OUT_BATCH(brw->wm.bind_bo_offset); in upload_ps_state()
134 if (brw->wm.prog_data->nr_params == 0) { in upload_ps_state()
149 OUT_BATCH(ALIGN(brw->wm.prog_data->nr_params, in upload_ps_state()
150 brw->wm.prog_data->dispatch_width) / 8); in upload_ps_state()
155 OUT_BATCH(brw->wm.push_const_offset); in upload_ps_state()
181 if (brw->wm.prog_data->nr_params > 0) in upload_ps_state()
189 if (brw->wm.prog_data->dual_src_blend && in upload_ps_state()
199 if (brw->wm.prog_data->dispatch_width == 8) { in upload_ps_state()
201 if (brw->wm.prog_data->prog_offset_16) in upload_ps_state()
[all …]
Dbrw_fs_reg_allocate.cpp89 ralloc_free(brw->wm.ra_reg_to_grf); in brw_alloc_reg_set_for_classes()
90 brw->wm.ra_reg_to_grf = ralloc_array(brw, uint8_t, ra_reg_count); in brw_alloc_reg_set_for_classes()
91 ralloc_free(brw->wm.regs); in brw_alloc_reg_set_for_classes()
92 brw->wm.regs = ra_alloc_reg_set(brw, ra_reg_count); in brw_alloc_reg_set_for_classes()
93 ralloc_free(brw->wm.classes); in brw_alloc_reg_set_for_classes()
94 brw->wm.classes = ralloc_array(brw, int, class_count + 1); in brw_alloc_reg_set_for_classes()
96 brw->wm.aligned_pairs_class = -1; in brw_alloc_reg_set_for_classes()
106 brw->wm.classes[i] = ra_alloc_reg_class(brw->wm.regs); in brw_alloc_reg_set_for_classes()
115 ra_class_add_reg(brw->wm.regs, brw->wm.classes[i], reg); in brw_alloc_reg_set_for_classes()
117 brw->wm.ra_reg_to_grf[reg] = j; in brw_alloc_reg_set_for_classes()
[all …]
Dbrw_vs_constval.c203 brw->wm.input_size_masks[0] = ~0; in calc_wm_input_sizes()
204 brw->wm.input_size_masks[1] = ~0; in calc_wm_input_sizes()
205 brw->wm.input_size_masks[2] = ~0; in calc_wm_input_sizes()
206 brw->wm.input_size_masks[3] = ~0; in calc_wm_input_sizes()
241 if (memcmp(brw->wm.input_size_masks, t.size_masks, sizeof(t.size_masks)) != 0) { in calc_wm_input_sizes()
242 memcpy(brw->wm.input_size_masks, t.size_masks, sizeof(t.size_masks)); in calc_wm_input_sizes()
Dbrw_wm.c271 c = brw->wm.compile_data; in do_wm_prog()
273 brw->wm.compile_data = rzalloc(NULL, struct brw_wm_compile); in do_wm_prog()
274 c = brw->wm.compile_data; in do_wm_prog()
287 memset(c, 0, sizeof(*brw->wm.compile_data)); in do_wm_prog()
330 brw_get_scratch_bo(intel, &brw->wm.scratch_bo, in do_wm_prog()
345 &brw->wm.prog_offset, &brw->wm.prog_data); in do_wm_prog()
565 key->proj_attrib_mask = brw->wm.input_size_masks[4-1]; in brw_wm_populate_key()
632 &brw->wm.prog_offset, &brw->wm.prog_data)) { in brw_upload_wm_prog()
Dbrw_wm_surface_state.c971 const int size = brw->wm.prog_data->nr_pull_params * sizeof(float); in brw_upload_wm_pull_constants()
979 if (brw->wm.prog_data->nr_pull_params == 0) { in brw_upload_wm_pull_constants()
980 if (brw->wm.const_bo) { in brw_upload_wm_pull_constants()
981 drm_intel_bo_unreference(brw->wm.const_bo); in brw_upload_wm_pull_constants()
982 brw->wm.const_bo = NULL; in brw_upload_wm_pull_constants()
983 brw->wm.surf_offset[surf_index] = 0; in brw_upload_wm_pull_constants()
989 drm_intel_bo_unreference(brw->wm.const_bo); in brw_upload_wm_pull_constants()
990 brw->wm.const_bo = drm_intel_bo_alloc(intel->bufmgr, "WM const bo", in brw_upload_wm_pull_constants()
994 drm_intel_gem_bo_map_gtt(brw->wm.const_bo); in brw_upload_wm_pull_constants()
995 constants = brw->wm.const_bo->virtual; in brw_upload_wm_pull_constants()
[all …]
Dbrw_state_dump.c153 struct brw_wm_unit_state *wm = intel->batch.bo->virtual + offset; in dump_wm_state() local
161 wm->wm5.enable_8_pix ? "8pix" : "", in dump_wm_state()
162 wm->wm5.enable_16_pix ? "16pix" : "", in dump_wm_state()
163 wm->wm5.program_uses_depth ? ", uses depth" : "", in dump_wm_state()
164 wm->wm5.program_computes_depth ? ", computes depth" : "", in dump_wm_state()
165 wm->wm5.program_uses_killpixel ? ", kills" : "", in dump_wm_state()
166 wm->wm5.thread_dispatch_enable ? "" : ", no dispatch", in dump_wm_state()
167 wm->wm5.max_threads + 1); in dump_wm_state()
169 wm->global_depth_offset_constant); in dump_wm_state()
171 wm->global_depth_offset_scale); in dump_wm_state()
Dbrw_wm_sampler_state.c112 sizeof(*sdc), 32, &brw->wm.sdc_offset[ss_index]); in upload_default_color()
149 sizeof(*sdc), 32, &brw->wm.sdc_offset[ss_index]); in upload_default_color()
307 sampler->ss2.default_color_pointer = brw->wm.sdc_offset[ss_index] >> 5; in brw_update_sampler_state()
311 brw->wm.sdc_offset[ss_index]) >> 5; in brw_update_sampler_state()
317 intel->batch.bo, brw->wm.sdc_offset[ss_index], in brw_update_sampler_state()
Dbrw_vtbl.c75 ralloc_free(brw->wm.compile_data); in brw_destroy_context()
79 dri_bo_release(&brw->wm.const_bo); in brw_destroy_context()
Dbrw_curbe.c60 const GLuint nr_fp_regs = (brw->wm.prog_data->nr_params + 15) / 16; in calculate_curbe_offsets()
207 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in brw_upload_constant_buffer()
208 buf[offset + i] = *brw->wm.prog_data->param[i]; in brw_upload_constant_buffer()
Dgen7_wm_surface_state.c477 sizeof(*surf), 32, &brw->wm.surf_offset[unit]); in gen7_update_null_renderbuffer_surface()
514 sizeof(*surf), 32, &brw->wm.surf_offset[unit]); in gen7_update_renderbuffer_surface()
572 gen7_set_surface_mcs_info(brw, surf, brw->wm.surf_offset[unit], in gen7_update_renderbuffer_surface()
584 brw->wm.surf_offset[unit] + in gen7_update_renderbuffer_surface()
Dgen6_clip_state.c44 if (brw->wm.prog_data->barycentric_interp_modes & in upload_clip_state()
Dgen7_clip_state.c45 if (brw->wm.prog_data->barycentric_interp_modes & in upload_clip_state()
Dbrw_misc_state.c86 OUT_BATCH(brw->wm.bind_bo_offset); in upload_binding_table_pointers()
122 OUT_BATCH(brw->wm.bind_bo_offset); /* wm/ps */ in upload_gen6_binding_table_pointers()
170 brw->wm.state_offset); in upload_pipelined_state_pointers()
Dgen7_sampler_state.c173 sampler->ss2.default_color_pointer = brw->wm.sdc_offset[ss_index] >> 5; in gen7_update_sampler_state()
Dbrw_fs.cpp2204 uint32_t old_prog_offset = brw->wm.prog_offset; in brw_fs_precompile()
2205 struct brw_wm_prog_data *old_prog_data = brw->wm.prog_data; in brw_fs_precompile()
2209 brw->wm.prog_offset = old_prog_offset; in brw_fs_precompile()
2210 brw->wm.prog_data = old_prog_data; in brw_fs_precompile()
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DAbstractEstimator.java131 WeightedMeasurement wm = measurements[i]; in updateJacobian() local
132 double factor = -FastMath.sqrt(wm.getWeight()); in updateJacobian()
134 jacobian[index++] = factor * wm.getPartial(parameters[j]); in updateJacobian()
162 WeightedMeasurement wm = measurements[i]; in updateResidualsAndCost() local
163 double residual = wm.getResidual(); in updateResidualsAndCost()
164 residuals[i] = FastMath.sqrt(wm.getWeight()) * residual; in updateResidualsAndCost()
165 cost += wm.getWeight() * residual * residual; in updateResidualsAndCost()
183 WeightedMeasurement[] wm = problem.getMeasurements(); in getRMS() local
185 for (int i = 0; i < wm.length; ++i) { in getRMS()
186 double residual = wm[i].getResidual(); in getRMS()
[all …]
/external/v8/test/perf-test/Collections/
Dweakmap.js17 var wm; variable
28 wm = new WeakMap;
30 wm.set(keys[i], i);
36 wm = null;
48 if (!wm.has(keys[i])) {
53 if (wm.has(keys[i])) {
62 if (wm.get(keys[i]) !== i) {
67 if (wm.get(keys[i]) !== undefined) {
78 wm.delete(keys[i]);
/external/javassist/sample/evolve/
DEvolution.java135 CtMethod wm = CtNewMethod.wrapped(absClass, handlerMethod, c in makeAbstractClass() local
138 wm.setModifiers(Modifier.PUBLIC | Modifier.STATIC); in makeAbstractClass()
139 absClass.addMethod(wm); in makeAbstractClass()
/external/libvncserver/x11vnc/
Dtkx11vnc1386 wm withdraw $w
1389 wm geometry $w +$x+$y
1390 wm deiconify $w
1430 wm title $w "$name"
1431 wm iconname $w "$name"
1434 wm title $w "$name"
1435 wm iconname $w "$name"
1443 wm title $w $title
1444 wm iconname $w $title
1496 wm withdraw $w
[all …]
Dxrecord.c1666 Window focus, wm, c, clast; in xrecord_watch() local
1861 wm = None; in xrecord_watch()
1878 wm = query_pointer(rootwin); in xrecord_watch()
1879 if (wm) { in xrecord_watch()
1880 c = wm; in xrecord_watch()
2044 xrecord_wm_window = wm; in xrecord_watch()
/external/selinux/policycoreutils/sandbox/
Dsandbox245 def __setup_sandboxrc(self, wm = "/usr/bin/openbox"):
264 """ % (command, wm, command))
442 self.__setup_sandboxrc(self.__options.wm)
/external/libvpx/libvpx/vp9/common/x86/
Dvp9_copy_sse2.asm19 mov r4d, dword wm
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp935 WpaMsg wm(pos, priority); in processMsg() local
937 eh->addEvent(wm); in processMsg()
939 peers->event_notify(wm); in processMsg()
940 msgs.append(wm); in processMsg()

12