Home
last modified time | relevance | path

Searched refs:vg_context (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_context.h94 struct vg_context struct
144 struct vg_context *ctx; argument
148 void vg_init_object(struct vg_object *obj, struct vg_context *ctx, enum vg_object_type type);
153 struct vg_context *vg_create_context(struct pipe_context *pipe,
155 struct vg_context *share);
156 void vg_destroy_context(struct vg_context *ctx);
157 struct vg_context *vg_current_context(void);
158 void vg_set_current_context(struct vg_context *ctx);
160 VGboolean vg_context_is_object_valid(struct vg_context *ctx,
163 void vg_context_add_object(struct vg_context *ctx,
[all …]
Dvg_manager.c46 vg_context_update_color_rb(struct vg_context *ctx, struct pipe_resource *pt) in vg_context_update_color_rb()
84 vg_manager_flush_frontbuffer(struct vg_context *ctx) in vg_manager_flush_frontbuffer()
105 vg_manager_validate_framebuffer(struct vg_context *ctx) in vg_manager_validate_framebuffer()
147 struct vg_context *ctx = (struct vg_context *) stctxi; in vg_context_flush()
156 struct vg_context *ctx = (struct vg_context *) stctxi; in vg_context_destroy()
169 struct vg_context *shared_ctx = (struct vg_context *) shared_stctxi; in vg_api_create_context()
170 struct vg_context *ctx; in vg_api_create_context()
270 struct vg_context *ctx = (struct vg_context *) stctxi; in vg_context_bind_framebuffers()
340 struct vg_context *ctx = (struct vg_context *) stctxi; in vg_api_make_current()
352 struct vg_context *ctx = vg_current_context(); in vg_api_get_current()
Dvg_context.c49 struct vg_context *_vg_context = 0;
51 struct vg_context * vg_current_context(void) in vg_current_context()
60 choose_depth_stencil_format(struct vg_context *ctx) in choose_depth_stencil_format()
81 void vg_set_current_context(struct vg_context *ctx) in vg_set_current_context()
87 struct vg_context * vg_create_context(struct pipe_context *pipe, in vg_create_context()
89 struct vg_context *share) in vg_create_context()
91 struct vg_context *ctx; in vg_create_context()
93 ctx = CALLOC_STRUCT(vg_context); in vg_create_context()
146 void vg_destroy_context(struct vg_context *ctx) in vg_destroy_context()
182 void vg_init_object(struct vg_object *obj, struct vg_context *ctx, enum vg_object_type type) in vg_init_object()
[all …]
Dapi_transform.c36 struct vg_context *ctx = vg_current_context(); in vegaLoadIdentity()
43 struct vg_context *ctx = vg_current_context(); in vegaLoadMatrix()
65 struct vg_context *ctx = vg_current_context(); in vegaGetMatrix()
82 struct vg_context *ctx = vg_current_context(); in vegaMultMatrix()
105 struct vg_context *ctx = vg_current_context(); in vegaTranslate()
112 struct vg_context *ctx = vg_current_context(); in vegaScale()
119 struct vg_context *ctx = vg_current_context(); in vegaShear()
126 struct vg_context *ctx = vg_current_context(); in vegaRotate()
Dapi_path.c43 struct vg_context *ctx = vg_current_context(); in vegaCreatePath()
66 struct vg_context *ctx = vg_current_context(); in vegaClearPath()
81 struct vg_context *ctx = vg_current_context(); in vegaDestroyPath()
95 struct vg_context *ctx = vg_current_context(); in vegaRemovePathCapabilities()
112 struct vg_context *ctx = vg_current_context(); in vegaGetPathCapabilities()
125 struct vg_context *ctx = vg_current_context(); in vegaAppendPath()
148 struct vg_context *ctx = vg_current_context(); in vegaAppendPathData()
191 struct vg_context *ctx = vg_current_context(); in vegaModifyPathCoords()
223 struct vg_context *ctx = vg_current_context(); in vegaTransformPath()
246 struct vg_context *ctx = vg_current_context(); in vegaInterpolatePath()
[all …]
Dapi_images.c99 struct vg_context *ctx = vg_current_context(); in vegaCreateImage()
131 struct vg_context *ctx = vg_current_context(); in vegaDestroyImage()
149 struct vg_context *ctx = vg_current_context(); in vegaClearImage()
177 struct vg_context *ctx = vg_current_context(); in vegaImageSubData()
205 struct vg_context *ctx = vg_current_context(); in vegaGetImageSubData()
229 struct vg_context *ctx = vg_current_context(); in vegaChildImage()
257 struct vg_context *ctx = vg_current_context(); in vegaGetParent()
277 struct vg_context *ctx = vg_current_context(); in vegaCopyImage()
296 struct vg_context *ctx = vg_current_context(); in vegaDrawImage()
315 struct vg_context *ctx = vg_current_context(); in vegaSetPixels()
[all …]
Dapi_text.c40 struct vg_context *ctx = vg_current_context(); in vegaCreateFont()
53 struct vg_context *ctx = vg_current_context(); in vegaDestroyFont()
74 struct vg_context *ctx = vg_current_context(); in vegaSetGlyphToPath()
107 struct vg_context *ctx = vg_current_context(); in vegaSetGlyphToImage()
136 struct vg_context *ctx = vg_current_context(); in vegaClearGlyph()
154 struct vg_context *ctx = vg_current_context(); in vegaDrawGlyph()
178 struct vg_context *ctx = vg_current_context(); in vegaDrawGlyphs()
Dapi_paint.c42 struct vg_context *ctx = vg_current_context(); in vegaDestroyPaint()
54 struct vg_context *ctx = vg_current_context(); in vegaSetPaint()
81 struct vg_context *ctx = vg_current_context(); in vegaGetPaint()
102 struct vg_context *ctx = vg_current_context(); in vegaSetColor()
125 struct vg_context *ctx = vg_current_context(); in vegaGetColor()
145 struct vg_context *ctx = vg_current_context(); in vegaPaintPattern()
Dapi_masks.c41 struct vg_context *ctx = vg_current_context(); in vegaMask()
74 struct vg_context *ctx = vg_current_context(); in vegaClear()
117 struct vg_context *ctx = vg_current_context(); in vegaRenderToMask()
144 struct vg_context *ctx = vg_current_context(); in vegaCreateMaskLayer()
159 struct vg_context *ctx = vg_current_context(); in vegaDestroyMaskLayer()
180 struct vg_context *ctx = vg_current_context(); in vegaFillMaskLayer()
224 struct vg_context *ctx = vg_current_context(); in vegaCopyMask()
Dtext.c91 static void vg_render_glyph(struct vg_context *ctx, in vg_render_glyph()
115 static void vg_advance_glyph(struct vg_context *ctx, in vg_advance_glyph()
134 struct vg_context *ctx = vg_current_context(); in font_create()
148 struct vg_context *ctx = vg_current_context(); in font_destroy()
189 struct vg_context *ctx = vg_current_context(); in font_clear_glyph()
199 struct vg_context *ctx = vg_current_context(); in font_draw_glyph()
220 struct vg_context *ctx = vg_current_context(); in font_draw_glyphs()
Dmask.c101 struct vg_context *ctx = vg_current_context(); in read_alpha_mask()
152 struct vg_context *ctx = vg_current_context(); in save_alpha_to_file()
185 struct vg_context *ctx = vg_current_context(); in setup_mask_operation()
241 struct vg_context *ctx = vg_current_context(); in mask_resource_fill()
278 struct vg_context *ctx = vg_current_context(); in mask_using_texture()
332 struct vg_context *ctx = vg_current_context(); in mask_layer_create()
375 struct vg_context *ctx = vg_current_context(); in mask_layer_destroy()
396 struct vg_context *ctx = vg_current_context(); in mask_copy()
423 struct vg_context *ctx = vg_current_context(); in mask_layer_render_to()
449 struct vg_context *ctx = vg_current_context(); in mask_render_to()
[all …]
Dapi_context.c38 struct vg_context *ctx = vg_current_context(); in vegaGetError()
52 struct vg_context *ctx = vg_current_context(); in vegaFlush()
66 struct vg_context *ctx = vg_current_context(); in vegaFinish()
Dpolygon.h33 struct vg_context;
63 void polygon_fill(struct polygon *p, struct vg_context *pipe);
73 void polygon_array_fill(struct polygon_array *polyarray, struct vg_context *ctx);
Dshader.c45 struct vg_context *context;
64 struct shader * shader_create(struct vg_context *ctx) in shader_create()
132 struct vg_context *ctx = shader->context; in blend_use_shader()
169 struct vg_context *ctx = shader->context; in blend_bind_samplers()
223 struct vg_context *ctx = shader->context; in is_format_bw()
237 struct vg_context *ctx = shader->context; in setup_shader_program()
347 struct vg_context *ctx = shader->context; in shader_bind()
Dapi_filters.c51 struct vg_shader * (*setup_shader)(struct vg_context *, void *);
59 static INLINE struct pipe_resource *create_texture_1d(struct vg_context *ctx, in create_texture_1d()
95 static INLINE struct pipe_sampler_view *create_texture_1d_view(struct vg_context *ctx, in create_texture_1d_view()
117 static struct vg_shader * setup_color_matrix(struct vg_context *ctx, void *user_data) in setup_color_matrix()
125 static struct vg_shader * setup_convolution(struct vg_context *ctx, void *user_data) in setup_convolution()
139 static struct vg_shader * setup_lookup(struct vg_context *ctx, void *user_data) in setup_lookup()
149 static struct vg_shader * setup_lookup_single(struct vg_context *ctx, void *user_data) in setup_lookup_single()
178 static void execute_filter(struct vg_context *ctx, in execute_filter()
242 struct vg_context *ctx = vg_current_context(); in vegaColorMatrix()
289 struct vg_context *ctx = vg_current_context(); in vegaConvolve()
[all …]
Dimage.c117 static void vg_copy_texture(struct vg_context *ctx, in vg_copy_texture()
155 void vg_copy_surface(struct vg_context *ctx, in vg_copy_surface()
237 struct vg_context *ctx = vg_current_context(); in image_create()
298 struct vg_context *ctx = vg_current_context(); in image_destroy()
361 struct vg_context *ctx = vg_current_context(); in image_clear()
386 struct vg_context *ctx = vg_current_context(); in image_sub_data()
442 struct vg_context *ctx = vg_current_context(); in image_get_sub_data()
477 struct vg_context *ctx = vg_current_context(); in image_child_image()
515 struct vg_context *ctx = vg_current_context(); in image_copy()
527 struct vg_context *ctx = vg_current_context(); in image_draw()
[all …]
Dvg_manager.h36 vg_manager_flush_frontbuffer(struct vg_context *ctx);
39 vg_manager_validate_framebuffer(struct vg_context *ctx);
Dshaders_cache.h31 struct vg_context;
107 struct shaders_cache *shaders_cache_create(struct vg_context *pipe);
116 void vg_shader_destroy(struct vg_context *ctx, struct vg_shader *shader);
Dvg_translate.h37 void _vega_pack_rgba_span_float(struct vg_context *ctx,
41 void _vega_unpack_float_span_rgba(struct vg_context *ctx,
Dimage.h35 struct vg_context;
97 VGint image_sampler_filter(struct vg_context *ctx);
99 void vg_copy_surface(struct vg_context *ctx,
Dapi_params.c47 struct vg_context *ctx = vg_current_context(); in current_state()
71 struct vg_context *ctx = vg_current_context(); in vegaSetf()
131 struct vg_context *ctx = vg_current_context(); in vegaSeti()
264 struct vg_context *ctx = vg_current_context(); in vegaSetfv()
392 struct vg_context *ctx = vg_current_context(); in vegaSetiv()
515 struct vg_context *ctx = vg_current_context(); in vegaGetf()
578 struct vg_context *ctx = vg_current_context(); in vegaGeti()
692 struct vg_context *ctx = vg_current_context(); in vegaGetVectorSize()
768 struct vg_context *ctx = vg_current_context(); in vegaGetfv()
869 struct vg_context *ctx = vg_current_context(); in vegaGetiv()
[all …]
Dapi_misc.c36 struct vg_context *ctx = vg_current_context(); in vegaHardwareQuery()
64 struct vg_context *ctx = vg_current_context(); in vegaGetString()
Dshader.h34 struct vg_context;
38 struct shader *shader_create(struct vg_context *context);
Dpolygon.c244 static void polygon_prepare_buffer(struct vg_context *ctx, in polygon_prepare_buffer()
260 void polygon_fill(struct polygon *poly, struct vg_context *ctx) in polygon_fill()
304 void polygon_array_fill(struct polygon_array *polyarray, struct vg_context *ctx) in polygon_array_fill()
Drenderer.h35 struct vg_context;
46 struct renderer *renderer_create(struct vg_context *owner);

12