/dports/graphics/cogl/cogl-1.22.8/tests/conform/ |
H A D | test-point-size.c | 17 case 0: return pos - point_size / 2 - 2; in calc_coord_offset() 18 case 1: return pos - point_size / 2 + 2; in calc_coord_offset() 19 case 2: return pos + point_size / 2 - 2; in calc_coord_offset() 20 case 3: return pos + point_size / 2 + 2; in calc_coord_offset() 30 int point_size) in verify_point_size() argument 52 int point_size; in test_point_size() local 67 for (x_pos = 0, point_size = MAX_POINT_SIZE; in test_point_size() 68 point_size >= 4; in test_point_size() 89 for (x_pos = 0, point_size = MAX_POINT_SIZE; in test_point_size() 90 point_size >= 4; in test_point_size() [all …]
|
H A D | test-point-size-attribute.c | 17 float point_size; member 21 calc_coord_offset (int pos, int pos_index, int point_size) in calc_coord_offset() argument 25 case 0: return pos - point_size / 2 - 2; in calc_coord_offset() 26 case 1: return pos - point_size / 2 + 2; in calc_coord_offset() 27 case 2: return pos + point_size / 2 - 2; in calc_coord_offset() 28 case 3: return pos + point_size / 2 + 2; in calc_coord_offset() 38 int point_size) in verify_point_size() argument 49 calc_coord_offset (x_pos, x, point_size), in verify_point_size() 50 calc_coord_offset (y_pos, y, point_size), in verify_point_size() 68 vertices[i].point_size = MAX_POINT_SIZE - i; in create_primitive() [all …]
|
/dports/x11-wm/mutter/mutter-41.1/cogl/tests/conform/ |
H A D | test-point-size.c | 18 case 0: return pos - point_size / 2 - 2; in calc_coord_offset() 19 case 1: return pos - point_size / 2 + 2; in calc_coord_offset() 20 case 2: return pos + point_size / 2 - 2; in calc_coord_offset() 21 case 3: return pos + point_size / 2 + 2; in calc_coord_offset() 32 int point_size) in verify_point_size() argument 54 int point_size; in test_point_size() local 69 for (x_pos = 0, point_size = MAX_POINT_SIZE; in test_point_size() 70 point_size >= 4; in test_point_size() 91 for (x_pos = 0, point_size = MAX_POINT_SIZE; in test_point_size() 92 point_size >= 4; in test_point_size() [all …]
|
H A D | test-point-size-attribute.c | 18 float point_size; member 22 calc_coord_offset (int pos, int pos_index, int point_size) in calc_coord_offset() argument 26 case 0: return pos - point_size / 2 - 2; in calc_coord_offset() 27 case 1: return pos - point_size / 2 + 2; in calc_coord_offset() 28 case 2: return pos + point_size / 2 - 2; in calc_coord_offset() 29 case 3: return pos + point_size / 2 + 2; in calc_coord_offset() 40 int point_size) in verify_point_size() argument 51 calc_coord_offset (x_pos, x, point_size), in verify_point_size() 52 calc_coord_offset (y_pos, y, point_size), in verify_point_size() 70 vertices[i].point_size = MAX_POINT_SIZE - i; in create_primitive() [all …]
|
/dports/x11-wm/muffin/muffin-4.8.0/cogl/tests/conform/ |
H A D | test-point-size.c | 17 case 0: return pos - point_size / 2 - 2; in calc_coord_offset() 18 case 1: return pos - point_size / 2 + 2; in calc_coord_offset() 19 case 2: return pos + point_size / 2 - 2; in calc_coord_offset() 20 case 3: return pos + point_size / 2 + 2; in calc_coord_offset() 30 int point_size) in verify_point_size() argument 52 int point_size; in test_point_size() local 67 for (x_pos = 0, point_size = MAX_POINT_SIZE; in test_point_size() 68 point_size >= 4; in test_point_size() 89 for (x_pos = 0, point_size = MAX_POINT_SIZE; in test_point_size() 90 point_size >= 4; in test_point_size() [all …]
|
H A D | test-point-size-attribute.c | 17 float point_size; member 21 calc_coord_offset (int pos, int pos_index, int point_size) in calc_coord_offset() argument 25 case 0: return pos - point_size / 2 - 2; in calc_coord_offset() 26 case 1: return pos - point_size / 2 + 2; in calc_coord_offset() 27 case 2: return pos + point_size / 2 - 2; in calc_coord_offset() 28 case 3: return pos + point_size / 2 + 2; in calc_coord_offset() 38 int point_size) in verify_point_size() argument 49 calc_coord_offset (x_pos, x, point_size), in verify_point_size() 50 calc_coord_offset (y_pos, y, point_size), in verify_point_size() 68 vertices[i].point_size = MAX_POINT_SIZE - i; in create_primitive() [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_point_sprite/ |
H A D | mipmap.c | 60 level(int point_size) in level() argument 64 if (point_size <= 1) in level() 66 if (point_size < 3) in level() 68 if (point_size < 6) in level() 70 if (point_size < 12) in level() 72 if (point_size < 24) in level() 105 const int w = point_size; in draw_and_probe() 106 const int h = point_size / 2; in draw_and_probe() 135 int point_size; in piglit_display() local 161 for (point_size = 2; in piglit_display() [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/gles-2.0/ |
H A D | glsl-fs-pointcoord.c | 71 static GLint point_size; variable 97 -1.0 + 2.0 * (point_size / 2.0) / piglit_width, in piglit_display() 98 -1.0 + 2.0 * (point_size / 2.0) / piglit_height in piglit_display() 106 glUniform1f(point_size_loc, point_size); in piglit_display() 114 pass = pass && piglit_probe_pixel_rgba(0, point_size - 1, black); in piglit_display() 115 pass = pass && piglit_probe_pixel_rgba(point_size - 1, point_size - 1, in piglit_display() 128 point_size = point_size_limits[1]; in piglit_init() 130 if (point_size > piglit_width) in piglit_init() 131 point_size = piglit_width; in piglit_init() 132 if (point_size > piglit_height) in piglit_init() [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/shaders/ |
H A D | glsl-fs-pointcoord.c | 54 static GLint point_size; variable 70 glPointSize(point_size); in piglit_display() 72 glVertex2f(point_size / 2.0, point_size / 2.0); in piglit_display() 76 pass = pass && piglit_probe_pixel_rgb(point_size - 1, 0, yellow); in piglit_display() 77 pass = pass && piglit_probe_pixel_rgb(0, point_size - 1, black); in piglit_display() 78 pass = pass && piglit_probe_pixel_rgb(point_size - 1, point_size - 1, red); in piglit_display() 94 point_size = point_size_limits[1]; in piglit_init() 96 if (point_size > piglit_width) in piglit_init() 97 point_size = piglit_width; in piglit_init() 98 if (point_size > piglit_height) in piglit_init() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vgui/ |
H A D | vgui_style.cxx | 27 vgui_style::new_style(float r, float g, float b, float point_size, float line_width, float alpha) in new_style() argument 29 return vgui_style_sptr(new vgui_style(r, g, b, point_size, line_width, alpha)); in new_style() 36 …return vgui_style_sptr(new vgui_style(s->rgba[0], s->rgba[1], s->rgba[2], s->point_size, s->line_w… in new_style() 47 point_size = 1; in vgui_style() 53 : point_size(ps) in vgui_style() 71 point_size = -1.0f; in ~vgui_style() 90 if (point_size > 0.0) in apply_point_size() 91 vgui_utils::set_glPointSize(point_size); in apply_point_size() 115 …s_->rgba[3] == s2->rgba[3] && s_->point_size == s2->point_size && s_->line_width == s2->line_width; in operator ()()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/gui/operations/gmic/obsolete/ |
H A D | extract_foreground_config.cc | 210 int point_size = 2; in modify_preview() local 227 VipsRect point = { (int)px-point_size-1, in modify_preview() 228 (int)py-point_size-1, in modify_preview() 229 point_size*2+3, point_size*2+3}; in modify_preview() 230 VipsRect point2 = { (int)px-point_size, in modify_preview() 231 (int)py-point_size, in modify_preview() 232 point_size*2+1, point_size*2+1}; in modify_preview() 249 point_size*2+3, point_size*2+3}; in modify_preview() 250 VipsRect point2 = { (int)px-point_size, in modify_preview() 251 (int)py-point_size, in modify_preview() [all …]
|
/dports/japanese/groff/groff-1.18.1.1/src/include/ |
H A D | font.h | 47 int get_width(int index, int point_size); 48 int get_height(int index, int point_size); 49 int get_depth(int index, int point_size); 50 int get_space_width(int point_size); 52 int get_kern(int index1, int index2, int point_size); 53 int get_skew(int index, int point_size, int slant); 55 int get_italic_correction(int index, int point_size); 56 int get_left_italic_correction(int index, int point_size); 57 int get_subscript_correction(int index, int point_size);
|
/dports/dns/knot3/knot-3.1.5/src/libdnssec/key/ |
H A D | convert.c | 139 size_t point_size = ecdsa_curve_point_size(curve); in ecdsa_pubkey_to_rdata() local 140 if (point_size == 0) { in ecdsa_pubkey_to_rdata() 144 result = dnssec_binary_alloc(rdata, 2 * point_size); in ecdsa_pubkey_to_rdata() 150 wire_write_bignum_datum(&wire, point_size, &point_x); in ecdsa_pubkey_to_rdata() 151 wire_write_bignum_datum(&wire, point_size, &point_y); in ecdsa_pubkey_to_rdata() 174 size_t point_size = eddsa_curve_point_size(curve); in eddsa_pubkey_to_rdata() local 175 if (point_size == 0) { in eddsa_pubkey_to_rdata() 179 result = dnssec_binary_alloc(rdata, point_size); in eddsa_pubkey_to_rdata() 185 wire_write_bignum_datum(&wire, point_size, &point_x); in eddsa_pubkey_to_rdata() 283 size_t point_size = wire_ctx_available(&ctx) / 2; in ecdsa_rdata_to_pubkey() local [all …]
|
/dports/dns/knot3-lib/knot-3.1.5/src/libdnssec/key/ |
H A D | convert.c | 139 size_t point_size = ecdsa_curve_point_size(curve); in ecdsa_pubkey_to_rdata() local 140 if (point_size == 0) { in ecdsa_pubkey_to_rdata() 144 result = dnssec_binary_alloc(rdata, 2 * point_size); in ecdsa_pubkey_to_rdata() 150 wire_write_bignum_datum(&wire, point_size, &point_x); in ecdsa_pubkey_to_rdata() 151 wire_write_bignum_datum(&wire, point_size, &point_y); in ecdsa_pubkey_to_rdata() 174 size_t point_size = eddsa_curve_point_size(curve); in eddsa_pubkey_to_rdata() local 175 if (point_size == 0) { in eddsa_pubkey_to_rdata() 179 result = dnssec_binary_alloc(rdata, point_size); in eddsa_pubkey_to_rdata() 185 wire_write_bignum_datum(&wire, point_size, &point_x); in eddsa_pubkey_to_rdata() 283 size_t point_size = wire_ctx_available(&ctx) / 2; in ecdsa_rdata_to_pubkey() local [all …]
|
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_point_sprite.c | 44 nir_ssa_def *point_size; member 113 nir_ssa_def *point_size = state->point_size; in get_scaled_point_size() local 116 if (point_size && state->point_size_per_vertex) { in get_scaled_point_size() 117 point_size = nir_fmax(b, point_size, nir_imm_float(b, 1.0f)); in get_scaled_point_size() 118 point_size = nir_fmin(b, point_size, nir_imm_float(b, D3D12_MAX_POINT_SIZE)); in get_scaled_point_size() 121 point_size = nir_channel(b, uniform, 2); in get_scaled_point_size() 124 point_size = nir_fmul(b, point_size, nir_channel(b, state->point_pos, 3)); in get_scaled_point_size() 125 *x = nir_fmul(b, point_size, nir_channel(b, uniform, 0)); in get_scaled_point_size() 126 *y = nir_fmul(b, point_size, nir_channel(b, uniform, 1)); in get_scaled_point_size() 141 state->point_size = instr->src[1].ssa; in lower_store() [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/ttf/ |
H A D | context.rs | 31 …pub fn load_font<'ttf, P: AsRef<Path>>(&'ttf self, path: P, point_size: u16) -> Result<Font<'ttf,'… in load_font() 32 internal_load_font(path, point_size) in load_font() 37 … pub fn load_font_at_index<'ttf, P: AsRef<Path>>(&'ttf self, path: P, index: u32, point_size: u16) in load_font_at_index() 39 internal_load_font_at_index(path, index, point_size) in load_font_at_index() 44 pub fn load_font_from_rwops<'ttf,'r>(&'ttf self, rwops: RWops<'r>, point_size: u16) in load_font_from_rwops() 47 sys::ttf::TTF_OpenFontRW(rwops.raw(), 0, point_size as c_int) in load_font_from_rwops() 59 point_size: u16) -> Result<Font<'ttf,'r>, String> { in load_font_at_index_from_rwops() 61 sys::ttf::TTF_OpenFontIndexRW(rwops.raw(), 0, point_size as c_int, in load_font_at_index_from_rwops()
|