Searched refs:sampler_view (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
H A Dtr_texture.h63 struct pipe_sampler_view *sampler_view; member in struct:trace_sampler_view
101 trace_sampler_view(struct pipe_sampler_view *sampler_view) argument
103 if (!sampler_view)
105 return (struct trace_sampler_view *)sampler_view;
/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_texture.h63 struct pipe_sampler_view *sampler_view; member in struct:trace_sampler_view
101 trace_sampler_view(struct pipe_sampler_view *sampler_view) argument
103 if (!sampler_view)
105 return (struct trace_sampler_view *)sampler_view;
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_texture.c178 if (!stObj->sampler_view) {
179 stObj->sampler_view =
183 return stObj->sampler_view;
189 struct pipe_sampler_view **sampler_view,
240 if (stObj->sampler_view) {
241 if (check_sampler_swizzle(stObj->sampler_view,
244 (st_view_format != stObj->sampler_view->format) ||
245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) {
246 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
250 *sampler_view
188 update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, GLuint texUnit) argument
277 struct pipe_sampler_view *sampler_view = NULL; local
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c178 if (!stObj->sampler_view) {
179 stObj->sampler_view =
183 return stObj->sampler_view;
189 struct pipe_sampler_view **sampler_view,
240 if (stObj->sampler_view) {
241 if (check_sampler_swizzle(stObj->sampler_view,
244 (st_view_format != stObj->sampler_view->format) ||
245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) {
246 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
250 *sampler_view
188 update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, GLuint texUnit) argument
277 struct pipe_sampler_view *sampler_view = NULL; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Dbitmap.c90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ);
95 if (!vlsurface->sampler_view) {
122 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL);
150 res = vlsurface->sampler_view->texture;
186 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture);
187 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0,
H A Doutput.c93 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ);
94 if (!vlsurface->sampler_view) {
148 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL);
173 *rgba_format = PipeToFormatRGBA(vlsurface->sampler_view->texture->format);
174 *width = vlsurface->sampler_view->texture->width0;
175 *height = vlsurface->sampler_view->texture->height0;
208 res = vlsurface->sampler_view->texture;
258 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture);
259 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0,
665 vl_compositor_set_rgba_layer(cstate, compositor, 0, src_vlsurface->sampler_view,
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dbitmap.c90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ);
95 if (!vlsurface->sampler_view) {
122 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL);
150 res = vlsurface->sampler_view->texture;
186 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture);
187 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0,
H A Doutput.c93 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ);
94 if (!vlsurface->sampler_view) {
148 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL);
173 *rgba_format = PipeToFormatRGBA(vlsurface->sampler_view->texture->format);
174 *width = vlsurface->sampler_view->texture->width0;
175 *height = vlsurface->sampler_view->texture->height0;
208 res = vlsurface->sampler_view->texture;
258 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture);
259 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0,
665 vl_compositor_set_rgba_layer(cstate, compositor, 0, src_vlsurface->sampler_view,
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/galahad/
H A Dglhd_objects.h54 struct pipe_sampler_view *sampler_view; member in struct:galahad_sampler_view
124 return galahad_sampler_view(_sampler_view)->sampler_view;
H A Dglhd_objects.c132 glhd_view->sampler_view = view;
143 pipe_sampler_view_reference(&glhd_view->sampler_view, NULL);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/identity/
H A Did_objects.h52 struct pipe_sampler_view *sampler_view; member in struct:identity_sampler_view
122 return identity_sampler_view(_sampler_view)->sampler_view;
H A Did_objects.c133 id_view->sampler_view = view;
146 id_view->sampler_view);
/external/mesa3d/src/gallium/drivers/galahad/
H A Dglhd_objects.h54 struct pipe_sampler_view *sampler_view; member in struct:galahad_sampler_view
124 return galahad_sampler_view(_sampler_view)->sampler_view;
H A Dglhd_objects.c132 glhd_view->sampler_view = view;
143 pipe_sampler_view_reference(&glhd_view->sampler_view, NULL);
/external/mesa3d/src/gallium/drivers/identity/
H A Did_objects.h52 struct pipe_sampler_view *sampler_view; member in struct:identity_sampler_view
122 return identity_sampler_view(_sampler_view)->sampler_view;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/
H A Dnoop_state.c94 struct pipe_sampler_view *sampler_view = CALLOC_STRUCT(pipe_sampler_view); local
96 if (sampler_view == NULL)
99 pipe_resource_reference(&sampler_view->texture, texture);
100 pipe_reference_init(&sampler_view->reference, 1);
101 sampler_view->context = ctx;
102 return sampler_view;
/external/mesa3d/src/gallium/drivers/noop/
H A Dnoop_state.c94 struct pipe_sampler_view *sampler_view = CALLOC_STRUCT(pipe_sampler_view); local
96 if (sampler_view == NULL)
99 pipe_resource_reference(&sampler_view->texture, texture);
100 pipe_reference_init(&sampler_view->reference, 1);
101 sampler_view->context = ctx;
102 return sampler_view;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_blit.c440 struct pipe_sampler_view *sampler_view = NULL; local
610 sampler_view = pipe->create_sampler_view(pipe, tex, &sv_templ);
612 if (!sampler_view) {
626 sampler_view = pipe->create_sampler_view(pipe, src_tex, &sv_templ);
628 if (!sampler_view) {
636 normalized = sampler_view->texture->target != PIPE_TEXTURE_RECT;
639 s0 /= (float)(u_minify(sampler_view->texture->width0, src_level));
640 s1 /= (float)(u_minify(sampler_view->texture->width0, src_level));
641 t0 /= (float)(u_minify(sampler_view->texture->height0, src_level));
642 t1 /= (float)(u_minify(sampler_view
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpaint.c62 struct pipe_sampler_view *sampler_view; member in struct:vg_paint::__anon12531
73 struct pipe_sampler_view *sampler_view; member in struct:vg_paint::__anon12534
229 pipe_sampler_view_reference(&paint->gradient.sampler_view, NULL);
230 if (paint->pattern.sampler_view)
231 pipe_sampler_view_reference(&paint->pattern.sampler_view, NULL);
365 map[6] = paint->pattern.sampler_view->texture->width0;
366 map[7] = paint->pattern.sampler_view->texture->height0;
421 if (paint->gradient.sampler_view) {
422 pipe_sampler_view_reference(&paint->gradient.sampler_view, NULL);
423 paint->gradient.sampler_view
[all...]
H A Dmask.c49 struct pipe_sampler_view *sampler_view; member in struct:vg_mask_layer
272 static void mask_using_texture(struct pipe_sampler_view *sampler_view, argument
281 struct pipe_resource *texture = sampler_view->texture;
305 views[0] = sampler_view;
365 mask->sampler_view = view;
378 pipe_sampler_view_reference(&layer->sampler_view, NULL);
387 mask_resource_fill(layer->sampler_view->texture,
401 u_surface_default_template(&surf_tmpl, layer->sampler_view->texture,
403 surf = ctx->pipe->create_surface(ctx->pipe, layer->sampler_view->texture,
472 mask_using_texture(layer->sampler_view, VG_TRU
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blit.c440 struct pipe_sampler_view *sampler_view = NULL; local
610 sampler_view = pipe->create_sampler_view(pipe, tex, &sv_templ);
612 if (!sampler_view) {
626 sampler_view = pipe->create_sampler_view(pipe, src_tex, &sv_templ);
628 if (!sampler_view) {
636 normalized = sampler_view->texture->target != PIPE_TEXTURE_RECT;
639 s0 /= (float)(u_minify(sampler_view->texture->width0, src_level));
640 s1 /= (float)(u_minify(sampler_view->texture->width0, src_level));
641 t0 /= (float)(u_minify(sampler_view->texture->height0, src_level));
642 t1 /= (float)(u_minify(sampler_view
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpaint.c62 struct pipe_sampler_view *sampler_view; member in struct:vg_paint::__anon22914
73 struct pipe_sampler_view *sampler_view; member in struct:vg_paint::__anon22917
229 pipe_sampler_view_reference(&paint->gradient.sampler_view, NULL);
230 if (paint->pattern.sampler_view)
231 pipe_sampler_view_reference(&paint->pattern.sampler_view, NULL);
365 map[6] = paint->pattern.sampler_view->texture->width0;
366 map[7] = paint->pattern.sampler_view->texture->height0;
421 if (paint->gradient.sampler_view) {
422 pipe_sampler_view_reference(&paint->gradient.sampler_view, NULL);
423 paint->gradient.sampler_view
[all...]
H A Dmask.c49 struct pipe_sampler_view *sampler_view; member in struct:vg_mask_layer
272 static void mask_using_texture(struct pipe_sampler_view *sampler_view, argument
281 struct pipe_resource *texture = sampler_view->texture;
305 views[0] = sampler_view;
365 mask->sampler_view = view;
378 pipe_sampler_view_reference(&layer->sampler_view, NULL);
387 mask_resource_fill(layer->sampler_view->texture,
401 u_surface_default_template(&surf_tmpl, layer->sampler_view->texture,
403 surf = ctx->pipe->create_surface(ctx->pipe, layer->sampler_view->texture,
472 mask_using_texture(layer->sampler_view, VG_TRU
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/rbug/
H A Drbug_objects.h75 struct pipe_sampler_view *sampler_view; member in struct:rbug_sampler_view
153 return rbug_sampler_view(_sampler_view)->sampler_view;
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_objects.h75 struct pipe_sampler_view *sampler_view; member in struct:rbug_sampler_view
153 return rbug_sampler_view(_sampler_view)->sampler_view;

Completed in 763 milliseconds

123