Home
last modified time | relevance | path

Searched refs:coord_type (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/third_party/agg23/
Dagg_math_stroke.h53 typedef typename VertexConsumer::value_type coord_type; in stroke_calc_arc() typedef
62 out_vertices.add(coord_type(x + dx1, y + dy1)); in stroke_calc_arc()
72 coord_type(x + (width * cos(a1)), y + (width * sin(a1)))); in stroke_calc_arc()
83 coord_type(x + (width * cos(a1)), y + (width * sin(a1)))); in stroke_calc_arc()
88 out_vertices.add(coord_type(x + dx2, y + dy2)); in stroke_calc_arc()
102 typedef typename VertexConsumer::value_type coord_type; in stroke_calc_miter() typedef
114 out_vertices.add(coord_type(xi, yi)); in stroke_calc_miter()
122 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
129 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
130 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_miter()
[all …]
Dagg_scanline_u.h34 typedef int16 coord_type; typedef
36 coord_type x;
37 coord_type len;
77 m_cur_span->x = (coord_type)(x + m_min_x); in add_cell()
88 m_cur_span->len += (coord_type)len; in add_cells()
91 m_cur_span->x = (coord_type)(x + m_min_x); in add_cells()
92 m_cur_span->len = (coord_type)len; in add_cells()
102 m_cur_span->len += (coord_type)len; in add_span()
105 m_cur_span->x = (coord_type)(x + m_min_x); in add_span()
106 m_cur_span->len = (coord_type)len; in add_span()
D0000-bug-466.patch8 out_vertices.add(coord_type(x + dx1, y + dy1));
21 out_vertices.add(coord_type(x + (width * cos(a1)),
37 out_vertices.add(coord_type(x + (width * cos(a1)),
44 out_vertices.add(coord_type(x + dx2, y + dy2));
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp892 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageTexelPointer() local
893 if (!coord_type || !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageTexelPointer()
918 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
987 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageLod() local
991 if (!_.IsFloatScalarOrVectorType(coord_type) && in ValidateImageLod()
992 !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageLod()
997 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageLod()
1004 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1059 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageDrefLod() local
1060 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageDrefLod()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_image.cpp892 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageTexelPointer() local
893 if (!coord_type || !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageTexelPointer()
918 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
987 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageLod() local
991 if (!_.IsFloatScalarOrVectorType(coord_type) && in ValidateImageLod()
992 !_.IsIntScalarOrVectorType(coord_type)) { in ValidateImageLod()
997 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageLod()
1004 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1059 const uint32_t coord_type = _.GetOperandTypeId(inst, 3); in ValidateImageDrefLod() local
1060 if (!_.IsFloatScalarOrVectorType(coord_type)) { in ValidateImageDrefLod()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c456 if (bld->coord_type.length > 4) { in lp_build_rho()
753 if (bld->num_lods != bld->coord_type.length) in lp_build_lod_selector()
826 if (bld->num_lods != bld->coord_type.length) in lp_build_lod_selector()
1348 struct lp_type coord_type, in lp_build_extract_image_sizes() argument
1361 coord_type, in lp_build_extract_image_sizes()
1367 coord_type, in lp_build_extract_image_sizes()
1373 coord_type, in lp_build_extract_image_sizes()
1395 assert(bld->num_mips == bld->coord_type.length); in lp_build_extract_image_sizes()
1397 coord_type, size, 0); in lp_build_extract_image_sizes()
1400 coord_type, size, 1); in lp_build_extract_image_sizes()
[all …]
Dlp_bld_sample.h342 struct lp_type coord_type; member
547 struct lp_type coord_type,
Dlp_bld_sample_aos.c770 bld->coord_type, in lp_build_sample_image_nearest_afloat()
1255 bld->coord_type, in lp_build_sample_image_linear_afloat()
1418 bld->coord_type.length > 4; in lp_build_sample_mipmap()
1564 unsigned num_chans_per_lod = 4 * bld->coord_type.length / bld->num_lods; in lp_build_sample_mipmap()
Dlp_bld_sample_soa.c884 bld->coord_type, in lp_build_sample_image_nearest()
1051 bld->coord_type, in lp_build_sample_image_linear()
1861 if (bld->num_lods != bld->coord_type.length) in lp_build_sample_mipmap()
1979 if (bld->num_lods != bld->coord_type.length) in lp_build_sample_mipmap_both()
2527 if (bld->num_lods != bld->coord_type.length) { in lp_build_sample_general()
2842 bld.coord_type = type; in lp_build_sample_soa_code()
3001 lp_build_context_init(&bld.coord_bld, gallivm, bld.coord_type); in lp_build_sample_soa_code()
3226 bld4.coord_type = type4; in lp_build_sample_soa_code()
3277 lp_build_context_init(&bld4.coord_bld, gallivm, bld4.coord_type); in lp_build_sample_soa_code()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_builder.cpp537 .COORD_TYPE_X(bc.coord_type[0]) in build_fetch_tex()
538 .COORD_TYPE_Y(bc.coord_type[1]) in build_fetch_tex()
539 .COORD_TYPE_Z(bc.coord_type[2]) in build_fetch_tex()
540 .COORD_TYPE_W(bc.coord_type[3]) in build_fetch_tex()
Dsb_bc_decoder.cpp469 bc.coord_type[0] = w1.get_COORD_TYPE_X(); in decode_fetch()
470 bc.coord_type[1] = w1.get_COORD_TYPE_Y(); in decode_fetch()
471 bc.coord_type[2] = w1.get_COORD_TYPE_Z(); in decode_fetch()
472 bc.coord_type[3] = w1.get_COORD_TYPE_W(); in decode_fetch()
Dsb_bc_dump.cpp518 s << (n.bc.coord_type[k] ? "N" : "U"); in dump()
Dsb_bc.h558 unsigned coord_type[4]; member
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp2057 const glsl_type *coord_type = NULL; in nir_emit_texture() local
2091 coord_type = glsl_type::ivec(src_size); in nir_emit_texture()
2097 coord_type = glsl_type::vec(src_size); in nir_emit_texture()
2189 assert(coord_type != NULL); in nir_emit_texture()
2192 mcs = emit_mcs_fetch(coord_type, coordinate, texture_reg); in nir_emit_texture()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp867 const glsl_type *coord_type,
873 const glsl_type *coord_type,
5105 const glsl_type *coord_type, in _texture() argument
5109 ir_variable *P = in_var(coord_type, "P"); in _texture()
5118 if (coord_size == coord_type->vector_elements) { in _texture()
5129 tex->projector = swizzle(P, coord_type->vector_elements - 1, 1); in _texture()
5228 const glsl_type *coord_type, in _texelFetch() argument
5232 ir_variable *P = in_var(coord_type, "P"); in _texelFetch()
5339 const glsl_type *coord_type) in _textureQueryLod() argument
5342 ir_variable *coord = in_var(coord_type, "coord"); in _textureQueryLod()
[all …]