Home
last modified time | relevance | path

Searched refs:line_width (Results 1 – 25 of 173) sorted by relevance

1234567

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_util.h51 float line_width = in brw_get_line_width() local
56 if (!_mesa_is_multisample_enabled(&brw->ctx) && brw->ctx.Line.SmoothFlag && line_width < 1.5f) { in brw_get_line_width()
68 line_width = 0.0f; in brw_get_line_width()
71 return line_width; in brw_get_line_width()
/external/rust/crates/textwrap/src/core/
Doptimal_fit.rs178 let line_width = widths[j] - widths[i] - fragments[j - 1].whitespace_width() in wrap_optimal_fit() localVariable
189 if line_width > target_width { in wrap_optimal_fit()
191 let overflow = (line_width - target_width) as i32; in wrap_optimal_fit()
196 let gap = (target_width - line_width) as i32; in wrap_optimal_fit()
198 } else if i + 1 == j && line_width < target_width / SHORT_LINE_FRACTION { in wrap_optimal_fit()
/external/pdfium/xfa/fgas/layout/
Dcfx_break.cpp83 FX_SAFE_INT32 line_width = m_iLineWidth; in IsGreaterThanLineWidth() local
84 line_width += m_iTolerance; in IsGreaterThanLineWidth()
85 return line_width.IsValid() && width > line_width.ValueOrDie(); in IsGreaterThanLineWidth()
/external/mesa3d/src/mesa/main/
Dlines.c41 line_width(struct gl_context *ctx, GLfloat width, bool no_error) in line_width() function
83 line_width(ctx, width, true); in _mesa_LineWidth_no_error()
95 line_width(ctx, width, false); in _mesa_LineWidth()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c115 const float line_width = rast->templ.line_width > 0.0f ? in define_rasterizer_object() local
116 rast->templ.line_width : 1.0f; in define_rasterizer_object()
147 line_width, in define_rasterizer_object()
218 if (templ->line_width <= screen->maxLineWidth) { in svga_create_rasterizer_state()
220 rast->linewidth = MAX2(1.0F, templ->line_width); in svga_create_rasterizer_state()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_state.c395 line_width(float width, float granularity, const float range[2]) in line_width() function
439 state->line_width = line_width(rs_state->line_width, in zink_create_rasterizer_state()
458 if (ctx->line_width != ctx->rast_state->line_width) { in zink_bind_rasterizer_state()
459 ctx->line_width = ctx->rast_state->line_width; in zink_bind_rasterizer_state()
Dzink_state.h58 float line_width; member
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c225 nir_variable *line_width = nir_variable_create(shader, nir_var_shader_in, in nir_lower_aaline_fs() local
228 line_width->data.location = VARYING_SLOT_VAR0; in nir_lower_aaline_fs()
229 line_width->data.driver_location = highest_drv_location + 1; in nir_lower_aaline_fs()
231 line_width->data.location = highest_location + 1; in nir_lower_aaline_fs()
232 line_width->data.driver_location = highest_drv_location + 1; in nir_lower_aaline_fs()
235 *varying = tgsi_get_generic_gl_varying_index(line_width->data.location, true); in nir_lower_aaline_fs()
236 state.line_width_input = line_width; in nir_lower_aaline_fs()
/external/rust/crates/textwrap/src/
Dcore.rs262 pub fn break_apart<'b>(&'b self, line_width: usize) -> impl Iterator<Item = Word<'a>> + 'b { in break_apart()
273 if width > 0 && width + ch_width(ch) > line_width { in break_apart()
442 pub fn break_words<'a, I>(words: I, line_width: usize) -> Vec<Word<'a>> in break_words()
448 if word.width() > line_width { in break_words()
449 shortened_words.extend(word.break_apart(line_width)); in break_words()
639 let line_width = line_widths(lines.len()); in wrap_first_fit() localVariable
640 if width + fragment.width() + fragment.penalty_width() > line_width && idx > start { in wrap_first_fit()
/external/pdfium/core/fpdfapi/page/
Dcpdf_path.cpp31 CFX_FloatRect CPDF_Path::GetBoundingBox(float line_width, in GetBoundingBox() argument
33 return m_Ref.GetObject()->GetBoundingBox(line_width, miter_limit); in GetBoundingBox()
Dcpdf_path.h30 CFX_FloatRect GetBoundingBox(float line_width, float miter_limit) const;
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_line_smooth.c94 nir_ssa_def *line_width = nir_load_line_width(&b); in initialise_coverage_var() local
115 line_width, in initialise_coverage_var()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c76 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold) in draw_need_pipeline()
163 wide_lines = rast->line_width != 1.0f && in validate_pipeline()
164 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && in validate_pipeline()
/external/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()
/external/vulkan-headers/
D.cmake-format.py5 line_width = 132 variable
/external/vulkan-validation-layers/
D.cmake-format.py5 line_width = 132 variable
/external/angle/third_party/vulkan-deps/vulkan-headers/src/
D.cmake-format.py5 line_width = 132 variable
/external/libaom/libaom/
D.cmake-format.py3 line_width = 80 variable
/external/tensorflow/tensorflow/lite/python/
Dconvert_file_to_c_source_test.sh34 --line_width=80 \
Dconvert_file_to_c_source.py59 max_line_width=FLAGS.line_width,
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_squeezer.py122 for text_code, line_width, expected in [
133 line_width=line_width,
136 with patch.object(editwin, 'width', line_width):
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c213 raster->line_width = CLAMP(ctx->Line.Width, in st_update_rasterizer()
218 raster->line_width = CLAMP(ctx->Line.Width, in st_update_rasterizer()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.c56 cs->PA_LINE_WIDTH = fui(so->line_width / 2.0f); in etna_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c78 A3XX_GRAS_SU_MODE_CONTROL_LINEHALFWIDTH(cso->line_width/2.0); in fd3_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c70 A5XX_GRAS_SU_CNTL_LINEHALFWIDTH(cso->line_width/2.0); in fd5_rasterizer_state_create()

1234567