HomeSort by: relevance | last modified time | path
    Searched refs:lp (Results 1 - 25 of 46) sorted by relevancy

1 2

  /xsrc/external/mit/xwd/dist/
list.c 47 zero_list(list_ptr lp)
49 lp->next = NULL;
50 lp->ptr.item = NULL;
54 Adds item to the list pointed to by lp. Finds the end of the
61 add_to_list(list_ptr lp, void *item)
63 while (lp->next) {
64 lp = lp->next;
66 if ((lp->next = malloc(sizeof(list_item))) == NULL) {
70 lp->next->ptr.item = item
84 list_ptr lp; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_draw_arrays.c 63 struct llvmpipe_context *lp = llvmpipe_context(pipe); local
64 struct draw_context *draw = lp->draw;
68 if (!llvmpipe_check_render_cond(lp))
76 if (lp->dirty)
77 llvmpipe_update_derived( lp );
82 for (i = 0; i < lp->num_vertex_buffers; i++) {
83 const void *buf = lp->vertex_buffer[i].is_user_buffer ?
84 lp->vertex_buffer[i].buffer.user : NULL;
87 if (!lp->vertex_buffer[i].buffer.resource) {
90 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer.resource)
    [all...]
lp_surface.h 39 llvmpipe_init_surface_functions(struct llvmpipe_context *lp);
lp_state_surface.c 52 struct llvmpipe_context *lp = llvmpipe_context(pipe); local
54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb);
70 if (lp->framebuffer.zsbuf && lp->framebuffer.zsbuf->context != pipe) {
75 if (lp->framebuffer.cbufs[i] &&
76 lp->framebuffer.cbufs[i]->context != pipe) {
82 util_copy_framebuffer_state(&lp->framebuffer, fb);
85 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL);
92 lp->floating_point_depth =
95 lp->mrd = util_get_depth_format_mrd(depth_desc)
    [all...]
lp_surface.c 119 struct llvmpipe_context *lp = llvmpipe_context(pipe); local
122 if (blit_info->render_condition_enable && !llvmpipe_check_render_cond(lp))
129 if (!util_blitter_is_blit_supported(lp->blitter, &info)) {
147 util_blitter_save_vertex_buffer_slot(lp->blitter, lp->vertex_buffer);
148 util_blitter_save_vertex_elements(lp->blitter, (void*)lp->velems);
149 util_blitter_save_vertex_shader(lp->blitter, (void*)lp->vs);
150 util_blitter_save_geometry_shader(lp->blitter, (void*)lp->gs)
    [all...]
lp_state_derived.c 177 check_linear_rasterizer( struct llvmpipe_context *lp )
184 bgr8 = (lp->framebuffer.nr_cbufs == 1 && lp->framebuffer.cbufs[0] &&
185 lp->framebuffer.cbufs[0]->texture->nr_samples == 1 &&
186 lp->framebuffer.cbufs[0]->texture->target == PIPE_TEXTURE_2D &&
187 (lp->framebuffer.cbufs[0]->format == PIPE_FORMAT_B8G8R8A8_UNORM ||
188 lp->framebuffer.cbufs[0]->format == PIPE_FORMAT_B8G8R8X8_UNORM));
192 single_vp = lp->viewport_index_slot < 0;
193 permit_linear = (!lp->framebuffer.zsbuf &&
199 if (lp->permit_linear_rasterizer != permit_linear)
    [all...]
lp_state.h 114 llvmpipe_update_fs(struct llvmpipe_context *lp);
117 llvmpipe_update_setup(struct llvmpipe_context *lp);
185 llvmpipe_prepare_vertex_images(struct llvmpipe_context *lp,
190 llvmpipe_prepare_geometry_images(struct llvmpipe_context *lp,
195 llvmpipe_prepare_tess_ctrl_images(struct llvmpipe_context *lp,
200 llvmpipe_prepare_tess_eval_images(struct llvmpipe_context *lp,
lp_state_setup.c 639 struct llvmpipe_context *lp)
664 variant->gallivm = gallivm = gallivm_create(func_name, lp->context, NULL);
769 lp_make_setup_variant_key(struct llvmpipe_context *lp,
772 struct lp_fragment_shader *fs = lp->fs;
778 key->flatshade_first = lp->rasterizer->flatshade_first;
779 key->pixel_center_half = lp->rasterizer->half_pixel_center;
780 key->multisample = lp->rasterizer->multisample;
781 key->twoside = lp->rasterizer->light_twoside;
785 key->color_slot = lp->color_slot[0];
786 key->bcolor_slot = lp->bcolor_slot[0]
    [all...]
lp_state_sampler.c 275 struct llvmpipe_context *lp,
362 draw_set_mapped_texture(lp->draw,
379 llvmpipe_prepare_vertex_sampling(struct llvmpipe_context *lp,
383 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX);
391 llvmpipe_prepare_geometry_sampling(struct llvmpipe_context *lp,
395 prepare_shader_sampling(lp, num, views, PIPE_SHADER_GEOMETRY);
402 llvmpipe_prepare_tess_ctrl_sampling(struct llvmpipe_context *lp,
406 prepare_shader_sampling(lp, num, views, PIPE_SHADER_TESS_CTRL);
413 llvmpipe_prepare_tess_eval_sampling(struct llvmpipe_context *lp,
417 prepare_shader_sampling(lp, num, views, PIPE_SHADER_TESS_EVAL)
    [all...]
lp_state_setup.h 79 void lp_delete_setup_variants(struct llvmpipe_context *lp);
lp_jit.c 188 lp_jit_create_types(struct lp_fragment_shader_variant *lp)
190 struct gallivm_state *gallivm = lp->gallivm;
297 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0);
316 lp->jit_thread_data_ptr_type = LLVMPointerType(thread_data_type, 0);
384 lp->jit_linear_context_ptr_type = LLVMPointerType(linear_context_type, 0);
410 lp_jit_init_types(struct lp_fragment_shader_variant *lp)
412 if (!lp->jit_context_ptr_type)
413 lp_jit_create_types(lp);
417 lp_jit_create_cs_types(struct lp_compute_shader_variant *lp)
419 struct gallivm_state *gallivm = lp->gallivm
    [all...]
lp_state_cs.c 66 generate_compute(struct llvmpipe_context *lp,
520 llvmpipe_remove_cs_shader_variant(struct llvmpipe_context *lp,
529 lp->nr_cs_variants, variant->nr_instrs, lp->nr_cs_instrs);
540 lp->nr_cs_variants--;
541 lp->nr_cs_instrs -= variant->nr_instrs;
574 make_variant_key(struct llvmpipe_context *lp,
595 lp->samplers[PIPE_SHADER_COMPUTE][i]);
614 lp->sampler_views[PIPE_SHADER_COMPUTE][i]);
623 lp->sampler_views[PIPE_SHADER_COMPUTE][i])
    [all...]
lp_query.c 521 llvmpipe_check_render_cond(struct llvmpipe_context *lp)
523 struct pipe_context *pipe = &lp->pipe;
527 if (lp->render_cond_buffer) {
528 uint32_t data = *(uint32_t *)((char *)lp->render_cond_buffer->data + lp->render_cond_offset);
529 return (!data) == lp->render_cond_cond;
531 if (!lp->render_cond_query)
534 wait = (lp->render_cond_mode == PIPE_RENDER_COND_WAIT ||
535 lp->render_cond_mode == PIPE_RENDER_COND_BY_REGION_WAIT);
537 b = pipe->get_query_result(pipe, lp->render_cond_query, wait, (void*)&result)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
lp_draw_arrays.c 56 struct llvmpipe_context *lp = llvmpipe_context(pipe); local
57 struct draw_context *draw = lp->draw;
61 if (!llvmpipe_check_render_cond(lp))
69 if (lp->dirty)
70 llvmpipe_update_derived( lp );
75 for (i = 0; i < lp->num_vertex_buffers; i++) {
76 const void *buf = lp->vertex_buffer[i].is_user_buffer ?
77 lp->vertex_buffer[i].buffer.user : NULL;
80 if (!lp->vertex_buffer[i].buffer.resource) {
83 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer.resource)
    [all...]
lp_surface.h 39 llvmpipe_init_surface_functions(struct llvmpipe_context *lp);
lp_state_surface.c 52 struct llvmpipe_context *lp = llvmpipe_context(pipe); local
54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb);
70 if (lp->framebuffer.zsbuf && lp->framebuffer.zsbuf->context != pipe) {
75 if (lp->framebuffer.cbufs[i] &&
76 lp->framebuffer.cbufs[i]->context != pipe) {
82 util_copy_framebuffer_state(&lp->framebuffer, fb);
85 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL);
92 lp->floating_point_depth =
95 lp->mrd = util_get_depth_format_mrd(depth_desc)
    [all...]
lp_surface.c 67 struct llvmpipe_context *lp = llvmpipe_context(pipe); local
70 if (blit_info->render_condition_enable && !llvmpipe_check_render_cond(lp))
85 if (!util_blitter_is_blit_supported(lp->blitter, &info)) {
94 util_blitter_save_vertex_buffer_slot(lp->blitter, lp->vertex_buffer);
95 util_blitter_save_vertex_elements(lp->blitter, (void*)lp->velems);
96 util_blitter_save_vertex_shader(lp->blitter, (void*)lp->vs);
97 util_blitter_save_geometry_shader(lp->blitter, (void*)lp->gs)
    [all...]
lp_state_setup.c 708 struct llvmpipe_context *lp)
733 variant->gallivm = gallivm = gallivm_create(func_name, lp->context);
835 lp_make_setup_variant_key(struct llvmpipe_context *lp,
838 struct lp_fragment_shader *fs = lp->fs;
844 key->flatshade_first = lp->rasterizer->flatshade_first;
845 key->pixel_center_half = lp->rasterizer->half_pixel_center;
846 key->twoside = lp->rasterizer->light_twoside;
850 key->color_slot = lp->color_slot[0];
851 key->bcolor_slot = lp->bcolor_slot[0];
852 key->spec_slot = lp->color_slot[1]
    [all...]
lp_state.h 91 llvmpipe_update_fs(struct llvmpipe_context *lp);
94 llvmpipe_update_setup(struct llvmpipe_context *lp);
lp_jit.c 45 lp_jit_create_types(struct lp_fragment_shader_variant *lp)
47 struct gallivm_state *gallivm = lp->gallivm;
204 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0);
222 lp->jit_thread_data_ptr_type = LLVMPointerType(thread_data_type, 0);
252 lp_jit_init_types(struct lp_fragment_shader_variant *lp)
254 if (!lp->jit_context_ptr_type)
255 lp_jit_create_types(lp);
lp_state_setup.h 76 void lp_delete_setup_variants(struct llvmpipe_context *lp);
lp_query.c 312 llvmpipe_check_render_cond(struct llvmpipe_context *lp)
314 struct pipe_context *pipe = &lp->pipe;
318 if (!lp->render_cond_query)
321 wait = (lp->render_cond_mode == PIPE_RENDER_COND_WAIT ||
322 lp->render_cond_mode == PIPE_RENDER_COND_BY_REGION_WAIT);
324 b = pipe->get_query_result(pipe, lp->render_cond_query, wait, (void*)&result);
326 return ((!result) == lp->render_cond_cond);
lp_state_sampler.c 235 struct llvmpipe_context *lp,
324 draw_set_mapped_texture(lp->draw,
340 llvmpipe_prepare_vertex_sampling(struct llvmpipe_context *lp,
344 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX);
352 llvmpipe_prepare_geometry_sampling(struct llvmpipe_context *lp,
356 prepare_shader_sampling(lp, num, views, PIPE_SHADER_GEOMETRY);
  /xsrc/external/mit/glu/dist/src/libnurbs/internals/
sorter.cc 80 char *lp, *hp; local
88 hp = lp = a+n;
92 if(i < lp) {
93 if((c = qscmp(i, lp)) == 0) {
94 qsexc(i, lp -= es);
110 if(i == lp) {
112 i = lp += es;
124 if(i == lp) {
125 if(lp-a >= l-hp) {
127 l = lp;
    [all...]
  /xsrc/external/mit/xterm/dist/
ptydata.c 457 * 'lp', and returning a pointer past the converted character.
460 convertToUTF8(Char *lp, unsigned c)
465 *lp++ = (Char) CH(0);
468 *lp++ = (Char) (0xc0 | (CH(0) >> 6) | ((CH(1) & 0x07) << 2));
469 *lp++ = (Char) (0x80 | (CH(0) & 0x3f));
472 *lp++ = (Char) (0xe0 | ((int) (CH(1) & 0xf0) >> 4));
473 *lp++ = (Char) (0x80 | (CH(0) >> 6) | ((CH(1) & 0x0f) << 2));
474 *lp++ = (Char) (0x80 | (CH(0) & 0x3f));
476 *lp++ = (Char) (0xf0 | ((int) (CH(2) & 0x1f) >> 2));
477 *lp++ = (Char) (0x80
    [all...]

Completed in 24 milliseconds

1 2