Home
last modified time | relevance | path

Searched full:line_width (Results 1 – 25 of 160) sorted by relevance

1234567

/third_party/rust/crates/clap/src/output/textwrap/
Dwrap_algorithms.rs5 line_width: usize, field
12 line_width: 0, in new()
18 self.line_width = 0; in reset()
28 if i != 0 && self.hard_width < self.line_width + word_width { in wrap()
38 self.line_width += word_width + trimmed_delta; in wrap()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c224 nir_variable *line_width = nir_variable_create(shader, nir_var_shader_in, in nir_lower_aaline_fs() local
227 line_width->data.location = VARYING_SLOT_VAR0; in nir_lower_aaline_fs()
228 line_width->data.driver_location = highest_drv_location + 1; in nir_lower_aaline_fs()
230 line_width->data.location = highest_location + 1; in nir_lower_aaline_fs()
231 line_width->data.driver_location = highest_drv_location + 1; in nir_lower_aaline_fs()
234 *varying = tgsi_get_generic_gl_varying_index(line_width->data.location, true); in nir_lower_aaline_fs()
235 state.line_width_input = line_width; in nir_lower_aaline_fs()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c116 const float line_width = rast->templ.line_width > 0.0f ? in svga_define_rasterizer_object() local
117 rast->templ.line_width : 1.0f; in svga_define_rasterizer_object()
152 line_width, in svga_define_rasterizer_object()
171 line_width, in svga_define_rasterizer_object()
250 if (templ->line_width <= screen->maxLineWidth) { in svga_create_rasterizer_state()
252 rast->linewidth = MAX2(1.0F, templ->line_width); in svga_create_rasterizer_state()
/third_party/vk-gl-cts/android/cts/master/vk-master/
Ddynamic-state.txt6 dEQP-VK.dynamic_state.rs_state.line_width
22 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.before
23 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.after
82 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.before
83 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.after
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Ddynamic-state.txt6 dEQP-VK.dynamic_state.rs_state.line_width
22 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.before
23 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.after
82 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.before
83 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.after
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Ddynamic-state.txt6 dEQP-VK.dynamic_state.rs_state.line_width
22 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.before
23 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.after
82 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.before
83 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.after
/third_party/mesa3d/src/mesa/main/
Dlines.c43 line_width(struct gl_context *ctx, GLfloat width, bool no_error) in line_width() function
82 line_width(ctx, width, true); in _mesa_LineWidth_no_error()
94 line_width(ctx, width, false); in _mesa_LineWidth()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_line_smooth.c99 nir_ssa_def *line_width = nir_load_line_width(&b); in initialise_coverage_var() local
112 /* 0.5 - 1/√2 * (pixels_from_center - line_width * 0.5) */ in initialise_coverage_var()
120 line_width, in initialise_coverage_var()
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Ddynamic-state.txt7 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.before
8 dEQP-VK.dynamic_state.compute_transfer.single.compute.line_width.after
67 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.before
68 dEQP-VK.dynamic_state.compute_transfer.single.transfer.line_width.after
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c49 float line_width = sctx->queued.named.rasterizer->line_width; in si_get_small_prim_cull_info() local
51 line_width = roundf(line_width); in si_get_small_prim_cull_info()
52 line_width = MAX2(line_width, 1); in si_get_small_prim_cull_info()
54 info.clip_half_line_width[0] = line_width * 0.5 / fabs(info.scale[0]); in si_get_small_prim_cull_info()
55 info.clip_half_line_width[1] = line_width * 0.5 / fabs(info.scale[1]); in si_get_small_prim_cull_info()
368 pixels = rs->line_width; in si_emit_guardband()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c100 struct V3D21_LINE_WIDTH line_width = { V3D21_LINE_WIDTH_header }; in vc4_create_rasterizer_state() local
118 line_width.line_width = cso->line_width; in vc4_create_rasterizer_state()
137 V3D21_LINE_WIDTH_pack(NULL, so->packed.line_width, &line_width); in vc4_create_rasterizer_state()
/third_party/ffmpeg/libavcodec/
Dsnow_dwt.h49 int line_width; member
95 int max_allocated_lines, int line_width,
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c103 float line_width = ctx->rasterizer->base.line_width; in lima_extend_viewport() local
105 if (line_width == 1.0f) in lima_extend_viewport()
108 ctx->ext_viewport.left = ctx->viewport.left - line_width / 2; in lima_extend_viewport()
109 ctx->ext_viewport.right = ctx->viewport.right + line_width / 2; in lima_extend_viewport()
110 ctx->ext_viewport.bottom = ctx->viewport.bottom - line_width / 2; in lima_extend_viewport()
111 ctx->ext_viewport.top = ctx->viewport.top + line_width / 2; in lima_extend_viewport()
399 fui(ctx->rasterizer->base.point_size) : fui(ctx->rasterizer->base.line_width); in lima_pack_plbu_cmd()
1171 /* extend the viewport in case of line draws with a line_width > 1.0f, in lima_draw_vbo()
/third_party/python/Lib/idlelib/idle_test/
Dtest_squeezer.py121 for text_code, line_width, expected in [
132 line_width=line_width,
135 with patch.object(editwin, 'width', line_width):
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c72 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold) in draw_need_pipeline()
158 wide_lines = rast->line_width != 1.0f && in validate_pipeline()
159 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && in validate_pipeline()
/third_party/libcoap/
Dcmake-format.yaml7 line_width: 80
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Ddynamic-state.txt6 dEQP-VK.dynamic_state.rs_state.line_width
/third_party/vulkan-loader/
D.cmake-format.py5 line_width = 132 variable
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c563 cl_emit(&job->bcl, LINE_WIDTH, line_width) { in v3dX()
564 line_width.line_width = v3d_get_real_line_width(v3d); in v3dX()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c241 raster->line_width = CLAMP(ctx->Line.Width, in st_update_rasterizer()
246 raster->line_width = CLAMP(ctx->Line.Width, in st_update_rasterizer()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_cmd_buffer.c1728 dest_state->line_width = src_state->line_width; in pvr_cmd_bind_graphics_pipeline()
1730 cmd_buffer_state->dirty.line_width = true; in pvr_cmd_bind_graphics_pipeline()
1926 state->dynamic.common.line_width = lineWidth; in pvr_CmdSetLineWidth()
1927 state->dirty.line_width = true; in pvr_CmdSetLineWidth()
3350 uint32_t line_width; in pvr_setup_isp_faces_and_control() local
3358 line_width = util_unsigned_fixed(dynamic_state->line_width, 4); in pvr_setup_isp_faces_and_control()
3363 line_width = (!!line_width) * (line_width - 1); in pvr_setup_isp_faces_and_control()
3365 line_width = MIN2(line_width, PVRX(TA_STATE_ISPA_POINTLINEWIDTH_SIZE_MAX)); in pvr_setup_isp_faces_and_control()
3372 ispa.pointlinewidth = line_width; in pvr_setup_isp_faces_and_control()
4169 state->dirty.fragment_descriptors || state->dirty.line_width || in pvr_emit_dirty_ppp_state()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.c56 cs->PA_LINE_WIDTH = fui(so->line_width / 2.0f); in etna_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c67 so->gras_su_cntl = A5XX_GRAS_SU_CNTL_LINEHALFWIDTH(cso->line_width / 2.0f); in fd5_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c555 line_width(float width, float granularity, const float range[2]) in line_width() function
620 state->line_width = line_width(rs_state->line_width, in zink_create_rasterizer_state()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta.c145 state->dynamic.line_width = cmd_buffer->state.dynamic.line_width; in radv_meta_save()
275 cmd_buffer->state.dynamic.line_width = state->dynamic.line_width; in radv_meta_restore()

1234567