Home
last modified time | relevance | path

Searched refs:VGint (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/gallium/state_trackers/vega/
Dimage.h41 VGint x, y;
42 VGint width, height;
53 VGint width, VGint height);
57 VGint x, VGint y, VGint width, VGint height);
61 VGint dataStride,
63 VGint x, VGint y,
64 VGint width, VGint height);
68 VGint dataStride,
70 VGint x, VGint y,
71 VGint width, VGint height);
[all …]
Dmask.h36 struct vg_mask_layer *mask_layer_create(VGint width, VGint height);
39 VGint x, VGint y,
40 VGint width, VGint height,
42 VGint mask_layer_width(struct vg_mask_layer *layer);
43 VGint mask_layer_height(struct vg_mask_layer *layer);
45 VGint sx, VGint sy,
46 VGint dx, VGint dy,
47 VGint width, VGint height);
55 VGint x, VGint y,
56 VGint width, VGint height);
[all …]
Drenderer.h57 VGint num_samplers,
61 VGint const_buffer_len);
73 VGint x, VGint y, VGint w, VGint h,
74 VGint sx, VGint sy, VGint sw, VGint sh);
82 VGint x, VGint y, VGint w, VGint h,
83 VGint sx, VGint sy, VGint sw, VGint sh);
91 VGint x, VGint y, VGint width, VGint height);
98 VGint x, VGint y, VGint width, VGint height,
109 VGint num_samplers,
112 VGint const_buffer_len);
[all …]
Dapi_images.c96 VGint width, VGint height, in vegaCreateImage()
146 VGint x, VGint y, in vegaClearImage()
147 VGint width, VGint height) in vegaClearImage()
172 VGint dataStride, in vegaImageSubData()
174 VGint x, VGint y, in vegaImageSubData()
175 VGint width, VGint height) in vegaImageSubData()
200 VGint dataStride, in vegaGetImageSubData()
202 VGint x, VGint y, in vegaGetImageSubData()
203 VGint width, VGint height) in vegaGetImageSubData()
226 VGint x, VGint y, in vegaChildImage()
[all …]
Dmask.c46 VGint width;
47 VGint height;
53 intersect_rectangles(VGint dwidth, VGint dheight, in intersect_rectangles()
54 VGint swidth, VGint sheight, in intersect_rectangles()
55 VGint tx, VGint ty, in intersect_rectangles()
56 VGint twidth, VGint theight, in intersect_rectangles()
57 VGint *offsets, in intersect_rectangles()
58 VGint *location) in intersect_rectangles()
96 static void read_alpha_mask(void * data, VGint dataStride, in read_alpha_mask()
98 VGint sx, VGint sy, in read_alpha_mask()
[all …]
Dimage.c118 struct pipe_resource *dst, VGint dx, VGint dy, in vg_copy_texture()
119 struct pipe_sampler_view *src, VGint sx, VGint sy, in vg_copy_texture()
120 VGint width, VGint height) in vg_copy_texture()
156 struct pipe_surface *dst, VGint dx, VGint dy, in vg_copy_surface()
157 struct pipe_surface *src, VGint sx, VGint sy, in vg_copy_surface()
158 VGint width, VGint height) in vg_copy_surface()
214 static void image_cleari(struct vg_image *img, VGint clear_colori, in image_cleari()
215 VGint x, VGint y, VGint width, VGint height) in image_cleari()
217 VGint *clearbuf; in image_cleari()
218 VGint i; in image_cleari()
[all …]
Dapi_masks.c38 VGint x, VGint y, in vegaMask()
39 VGint width, VGint height) in vegaMask()
71 void vegaClear(VGint x, VGint y, in vegaClear()
72 VGint width, VGint height) in vegaClear()
142 VGMaskLayer vegaCreateMaskLayer(VGint width, VGint height) in vegaCreateMaskLayer()
175 VGint x, VGint y, in vegaFillMaskLayer()
176 VGint width, VGint height, in vegaFillMaskLayer()
220 VGint sx, VGint sy, in vegaCopyMask()
221 VGint dx, VGint dy, in vegaCopyMask()
222 VGint width, VGint height) in vegaCopyMask()
Dapi_filters.c54 VGint const_buffer_len;
61 const VGint color_data_len) in create_texture_1d()
87 memcpy(map, color_data, sizeof(VGint)*color_data_len); in create_texture_1d()
97 const VGint color_data_len) in create_texture_1d_view()
128 VGint num_consts = (VGint)(long)(user_data); in setup_convolution()
274 static VGfloat texture_offset(VGfloat width, VGint kernelSize, VGint current, VGint shift) in texture_offset()
282 VGint kernelWidth, VGint kernelHeight, in vegaConvolve()
283 VGint shiftX, VGint shiftY, in vegaConvolve()
291 VGint buffer_len; in vegaConvolve()
292 VGint i, j; in vegaConvolve()
[all …]
Dpaint.h49 const VGint *color);
51 VGint *color);
67 const VGint *coords);
69 VGint *coords);
77 const VGint *values);
79 VGint *coords);
87 void paint_set_ramp_stopsi(struct vg_paint *paint, const VGint *stops,
89 void paint_ramp_stopsi(struct vg_paint *paint, VGint *stops,
95 VGint mode);
110 VGint paint_bind_samplers(struct vg_paint *paint, struct pipe_sampler_state **samplers,
[all …]
Dvg_translate.c37 VGint i; in _vega_pack_rgba_span_float()
41 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
54 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
67 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
143 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
156 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
168 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
246 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
259 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
278 VGint *dst = (VGint *)dstAddr; in _vega_pack_rgba_span_float()
[all …]
Dpath.h55 VGint segmentCapacityHint,
56 VGint coordCapacityHint,
64 VGint numSegments,
71 VGint path_num_segments(struct path *p);
87 VGint path_num_coords(struct path *p);
90 VGint startIndex,
91 VGint numSegments,
117 void path_point(struct path *p, VGint startSegment, VGint numSegments,
125 VGint num_coords);
Dpaint.c48 VGint colori[4];
56 VGint coordsi[4];
60 VGint valsi[5];
66 VGint *ramp_stopsi;
67 VGint num_stops;
104 VGint num, in create_gradient_data()
106 VGint size) in create_gradient_data()
108 VGint i; in create_gradient_data()
109 VGint pos = 0; in create_gradient_data()
120 VGint rcur = 5 * i; in create_gradient_data()
[all …]
Dpath_utils.h37 static INLINE VGint size_for_datatype(VGPathDatatype datatype) in size_for_datatype()
54 static INLINE VGint num_elements_for_segments(const VGubyte *segments, in num_elements_for_segments()
55 VGint num_segments) in num_elements_for_segments()
57 VGint i; in num_elements_for_segments()
58 VGint count = 0; in num_elements_for_segments()
62 VGint command = SEGMENT_COMMAND(segment); in num_elements_for_segments()
Drenderer.c93 VGint fs_cbuf_len;
106 VGint tex_width;
107 VGint tex_height;
111 VGint tex_width;
112 VGint tex_height;
121 VGint tex_width, tex_height;
154 VGint i; in renderer_set_mvp()
456 VGint num_samplers, in renderer_set_custom_fs()
458 VGint const_buffer_len) in renderer_set_custom_fs()
533 VGint tex_width, VGint tex_height) in renderer_quad_texcoord()
[all …]
Dapi_params.c54 static INLINE VGboolean count_in_bounds(VGParamType type, VGint count) in count_in_bounds()
64 VGint real_count = vegaGetVectorSize(type); in count_in_bounds()
129 void vegaSeti (VGParamType type, VGint value) in vegaSeti()
261 void vegaSetfv(VGParamType type, VGint count, in vegaSetfv()
297 VGint i; in vegaSetfv()
309 VGint i; in vegaSetfv()
389 void vegaSetiv(VGParamType type, VGint count, in vegaSetiv()
390 const VGint * values) in vegaSetiv()
424 VGint i; in vegaSetiv()
435 VGint i; in vegaSetiv()
[all …]
Dutil_array.h35 VGint datatype_size;
37 VGint size;
38 VGint num_elements;
41 static INLINE struct array *array_create(VGint datatype_size) in array_create()
53 static INLINE struct array *array_create_size(VGint datatype_size, VGint size) in array_create_size()
73 VGint size = array->datatype_size * num; in array_resize()
Dvg_state.h38 VGint i;
52 VGint scissor_rects_num;
65 VGint dash_pattern_num;
72 VGint tile_fill_colori[4];
76 VGint clear_colori[4];
Dshaders_cache.c105 static INLINE VGint range_min(VGint min, VGint current) in range_min()
114 static INLINE VGint range_max(VGint max, VGint current) in range_max()
125 VGint start_const = -1, end_const = 0; in combine_shaders()
126 VGint start_temp = -1, end_temp = 0; in combine_shaders()
127 VGint start_sampler = -1, end_sampler = 0; in combine_shaders()
128 VGint i, current_shader = 0; in combine_shaders()
129 VGint num_consts, num_temps, num_samplers; in combine_shaders()
412 VGint key = shader_key; in shaders_cache_fill()
Dapi_path.c36 VGPath vegaCreatePath(VGint pathFormat, in vegaCreatePath()
39 VGint segmentCapacityHint, in vegaCreatePath()
40 VGint coordCapacityHint, in vegaCreatePath()
144 VGint numSegments, in vegaAppendPathData()
150 VGint i; in vegaAppendPathData()
187 VGint startIndex, in vegaModifyPathCoords()
188 VGint numSegments, in vegaModifyPathCoords()
271 VGint startSegment, in vegaPathLength()
272 VGint numSegments) in vegaPathLength()
304 VGint startSegment, in vegaPointAlongPath()
[all …]
Dshader.c104 static VGint setup_constant_buffer(struct shader *shader) in setup_constant_buffer()
107 VGint param_bytes = paint_constant_buffer_size(shader->paint); in setup_constant_buffer()
108 VGint i; in setup_constant_buffer()
164 static VGint blend_bind_samplers(struct shader *shader, in blend_bind_samplers()
188 static VGint setup_samplers(struct shader *shader, in setup_samplers()
200 VGint num = 0; in setup_samplers()
238 VGint shader_id = 0; in setup_shader_program()
350 VGint num_samplers, param_bytes; in shader_bind()
Dpath.c57 VGint num_segments;
80 VGint start, VGint count, in data_at()
84 VGint i; in data_at()
85 VGint end = start + count; in data_at()
108 VGint **bdata = (VGint **)data; in data_at()
134 VGint num_coords) in vg_float_to_datatype()
136 VGint i; in vg_float_to_datatype()
152 VGint *buf = (VGint*)common_data; in vg_float_to_datatype()
154 buf[i] = (VGint)data[i]; in vg_float_to_datatype()
168 void *pdata, VGint num_coords, in coords_adjust_by_scale_bias()
[all …]
Dtext.h37 struct vg_font *font_create(VGint glyphCapacityHint);
62 VGint glyphCount,
69 VGint font_num_glyphs(struct vg_font *font);
Dtext.c132 struct vg_font *font_create(VGint glyphCapacityHint) in font_create()
213 VGint glyphCount, in font_draw_glyphs()
221 VGint i; in font_draw_glyphs()
244 VGint font_num_glyphs(struct vg_font *font) in font_num_glyphs()
/external/mesa3d/src/mapi/vgapi/
Dvgapi.csv6 void, AppendPathData, VGPath dstPath, VGint numSegments, const VGubyte…
7 … ChildImage, VGImage parent, VGint x, VGint y, VGint width, VGint hei…
8 void, Clear, VGint x, VGint y, VGint width, VGint height
9 … ClearImage, VGImage image, VGint x, VGint y, VGint width, VGint hei…
12 …ve, VGImage dst, VGImage src, VGint kernelWidth, VGint kernelHeight, VGint shiftX…
13 … CopyImage, VGImage dst, VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGin…
14 …, CopyPixels, VGint dx, VGint dy, VGint sx, VGint sy, VGint width…
15 VGImage, CreateImage, VGImageFormat format, VGint width, VGint height,…
17 …atePath, VGint pathFormat, VGPathDatatype datatype, VGfloat scale, VGfloat bias, VG…
28 … VGImage image, void *data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y,
[all …]
/external/mesa3d/include/VG/
Dopenvg.h514 VG_API_CALL void VG_API_ENTRY vgSeti (VGParamType type, VGint value) VG_API_EXIT;
515 VG_API_CALL void VG_API_ENTRY vgSetfv(VGParamType type, VGint count,
517 VG_API_CALL void VG_API_ENTRY vgSetiv(VGParamType type, VGint count,
518 const VGint * values) VG_API_EXIT;
521 VG_API_CALL VGint VG_API_ENTRY vgGeti(VGParamType type) VG_API_EXIT;
522 VG_API_CALL VGint VG_API_ENTRY vgGetVectorSize(VGParamType type) VG_API_EXIT;
523 VG_API_CALL void VG_API_ENTRY vgGetfv(VGParamType type, VGint count, VGfloat * values) VG_API_EXIT;
524 VG_API_CALL void VG_API_ENTRY vgGetiv(VGParamType type, VGint count, VGint * values) VG_API_EXIT;
527 VGint paramType,
530 VGint paramType,
[all …]

12