HomeSort by relevance Sort by last modified time
    Searched refs:psurf (Results 1 - 15 of 15) sorted by null

  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_surface.c 50 struct pipe_surface *psurf = &surface->base; local
53 pipe_reference_init(&psurf->reference, 1);
54 pipe_resource_reference(&psurf->texture, ptex);
56 psurf->context = pctx;
57 psurf->format = surf_tmpl->format;
58 psurf->width = u_minify(ptex->width0, level);
59 psurf->height = u_minify(ptex->height0, level);
60 psurf->u.tex.level = level;
61 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer;
62 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer
    [all...]
freedreno_surface.h 44 fd_surface(struct pipe_surface *psurf)
46 return (struct fd_surface *)psurf;
52 void fd_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurf);
freedreno_util.h 120 pipe_surface_format(struct pipe_surface *psurf)
122 if (!psurf)
124 return psurf->format;
128 fd_surface_half_precision(const struct pipe_surface *psurf)
132 if (!psurf)
135 format = psurf->format;
freedreno_batch_cache.c 358 key_surf(struct key *key, unsigned idx, unsigned pos, struct pipe_surface *psurf)
360 key->surf[idx].texture = psurf->texture;
361 key->surf[idx].u = psurf->u;
363 key->surf[idx].format = psurf->format;
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_resource.h 106 vc4_surface(struct pipe_surface *psurf)
108 return (struct vc4_surface *)psurf;
127 void vc4_dump_surface(struct pipe_surface *psurf);
vc4_resource.c 643 struct pipe_surface *psurf = &surface->base; local
646 pipe_reference_init(&psurf->reference, 1);
647 pipe_resource_reference(&psurf->texture, ptex);
649 psurf->context = pctx;
650 psurf->format = surf_tmpl->format;
651 psurf->width = u_minify(ptex->width0, level);
652 psurf->height = u_minify(ptex->height0, level);
653 psurf->u.tex.level = level;
654 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer;
655 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer
    [all...]
vc4_job.c 269 struct pipe_surface *psurf,
272 struct vc4_surface *surf = vc4_surface(psurf);
277 struct vc4_resource *rsc = vc4_resource(psurf->texture);
281 if (psurf->texture->nr_samples <= 1) {
291 VC4_SET_FIELD(vc4_rt_format_is_565(psurf->format) ?
311 struct pipe_surface *psurf)
313 struct vc4_surface *surf = vc4_surface(psurf);
318 struct vc4_resource *rsc = vc4_resource(psurf->texture);
322 if (psurf->texture->nr_samples <= 1) {
338 struct pipe_surface *psurf)
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a5xx/
fd5_gmem.c 70 struct pipe_surface *psurf = bufs[i]; local
71 enum pipe_format pformat = psurf->format;
73 rsc = fd_resource(psurf->texture);
75 slice = fd_resource_slice(rsc, psurf->u.tex.level);
80 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);
82 offset = fd_resource_offset(rsc, psurf->u.tex.level,
83 psurf->u.tex.first_layer);
288 struct pipe_surface *psurf, enum a5xx_blit_buf buf)
292 struct fd_resource *rsc = fd_resource(psurf->texture)
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a2xx/
fd2_gmem.c 60 struct pipe_surface *psurf)
63 struct fd_resource *rsc = fd_resource(psurf->texture);
64 uint32_t swap = fmt2swap(psurf->format);
70 A2XX_RB_COLOR_INFO_FORMAT(fd2_pipe2color(psurf->format)));
78 A2XX_RB_COPY_DEST_INFO_FORMAT(fd2_pipe2color(psurf->format)) |
178 struct pipe_surface *psurf)
181 struct fd_resource *rsc = fd_resource(psurf->texture);
186 OUT_RING(ring, A2XX_RB_COLOR_INFO_SWAP(fmt2swap(psurf->format)) |
188 A2XX_RB_COLOR_INFO_FORMAT(fd2_pipe2color(psurf->format)));
190 swiz = fd2_tex_swiz(psurf->format, PIPE_SWIZZLE_X, PIPE_SWIZZLE_Y
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_gmem.c 72 struct pipe_surface *psurf = bufs[i]; local
74 rsc = fd_resource(psurf->texture);
75 pformat = psurf->format;
85 slice = fd_resource_slice(rsc, psurf->u.tex.level);
93 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);
95 offset = fd_resource_offset(rsc, psurf->u.tex.level,
96 psurf->u.tex.first_layer);
314 uint32_t base, struct pipe_surface *psurf)
317 struct fd_resource *rsc = fd_resource(psurf->texture)
728 struct pipe_surface *psurf = pfb->cbufs[i]; local
    [all...]
fd3_emit.h 42 struct pipe_surface **psurf, int bufs);
fd3_emit.c 261 struct pipe_surface **psurf,
292 if (!psurf[i]) {
304 struct fd_resource *rsc = fd_resource(psurf[i]->texture);
305 enum pipe_format format = fd_gmem_restore_format(psurf[i]->format);
315 unsigned lvl = psurf[i]->u.tex.level;
318 debug_assert(psurf[i]->u.tex.first_layer == psurf[i]->u.tex.last_layer);
325 A3XX_TEX_CONST_1_WIDTH(psurf[i]->width) |
326 A3XX_TEX_CONST_1_HEIGHT(psurf[i]->height));
341 if (psurf[i])
    [all...]
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_surface.c 141 etna_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurf)
143 pipe_resource_reference(&psurf->texture, NULL);
144 FREE(psurf);
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_gmem.c 72 struct pipe_surface *psurf = bufs[i]; local
73 enum pipe_format pformat = psurf->format;
75 rsc = fd_resource(psurf->texture);
87 slice = fd_resource_slice(rsc, psurf->u.tex.level);
96 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);
98 offset = fd_resource_offset(rsc, psurf->u.tex.level,
99 psurf->u.tex.first_layer);
151 uint32_t base, struct pipe_surface *psurf)
154 struct fd_resource *rsc = fd_resource(psurf->texture)
    [all...]
  /external/mesa3d/src/gallium/drivers/virgl/
virgl_context.c 227 struct pipe_surface *psurf)
230 struct virgl_surface *surf = virgl_surface(psurf);
    [all...]

Completed in 1867 milliseconds