Searched refs:prsrc (Results 1 - 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_resource.c | 1242 struct panfrost_resource *prsrc, in panfrost_should_linear_convert() 1245 if (prsrc->modifier_constant) in panfrost_should_linear_convert() 1260 panfrost_is_2d(prsrc) && in panfrost_should_linear_convert() 1261 prsrc->base.last_level == 0 && in panfrost_should_linear_convert() 1262 transfer->box.width == prsrc->base.width0 && in panfrost_should_linear_convert() 1263 transfer->box.height == prsrc->base.height0 && in panfrost_should_linear_convert() 1268 ++prsrc->modifier_updates; in panfrost_should_linear_convert() 1270 if (prsrc->modifier_updates >= LAYOUT_CONVERT_THRESHOLD) { in panfrost_should_linear_convert() 1285 struct panfrost_resource *prsrc = (struct panfrost_resource *) transfer->resource; in panfrost_ptr_unmap() local 1289 prsrc in panfrost_ptr_unmap() 1241 panfrost_should_linear_convert(struct panfrost_device *dev, struct panfrost_resource *prsrc, struct pipe_transfer *transfer) panfrost_should_linear_convert() argument 1387 panfrost_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsrc) panfrost_invalidate_resource() argument 1410 struct panfrost_resource *prsrc = (struct panfrost_resource *) rsrc; panfrost_resource_get_internal_format() local 1415 panfrost_generate_mipmap( struct pipe_context *pctx, struct pipe_resource *prsrc, enum pipe_format format, unsigned base_level, unsigned last_level, unsigned first_layer, unsigned last_layer) panfrost_generate_mipmap() argument 1446 panfrost_resource_set_stencil(struct pipe_resource *prsrc, struct pipe_resource *stencil) panfrost_resource_set_stencil() argument 1453 panfrost_resource_get_stencil(struct pipe_resource *prsrc) panfrost_resource_get_stencil() argument [all...] |
H A D | pan_job.c | 501 struct panfrost_resource *prsrc = pan_resource(surf->texture); in panfrost_batch_to_fb_info() local 517 rts[i].image = &prsrc->image; in panfrost_batch_to_fb_info() 520 fb->rts[i].crc_valid = &prsrc->valid.crc; in panfrost_batch_to_fb_info() 527 BITSET_TEST(prsrc->valid.data, fb->rts[i].view->first_level)))) in panfrost_batch_to_fb_info()
|
H A D | pan_cmdstream.c | 879 struct pipe_resource *prsrc = vb.buffer.resource; in panfrost_emit_vertex_buffers() local 880 struct panfrost_resource *rsrc = pan_resource(prsrc); in panfrost_emit_vertex_buffers() 889 cfg.size = prsrc->width0 - vb.buffer_offset; in panfrost_emit_vertex_buffers() 1654 struct panfrost_resource *prsrc = (struct panfrost_resource *)texture; in panfrost_create_sampler_view_bo() local 1656 assert(prsrc->image.data.bo); in panfrost_create_sampler_view_bo() 1660 assert(prsrc->separate_stencil); in panfrost_create_sampler_view_bo() 1661 texture = &prsrc->separate_stencil->base; in panfrost_create_sampler_view_bo() 1662 prsrc = (struct panfrost_resource *)texture; in panfrost_create_sampler_view_bo() 1680 so->texture_bo = prsrc->image.data.bo->ptr.gpu; in panfrost_create_sampler_view_bo() 1681 so->modifier = prsrc in panfrost_create_sampler_view_bo() [all...] |
/third_party/libsnd/src/ |
H A D | sd2.c | 313 read_rsrc_char (const SD2_RSRC *prsrc, int offset) in read_rsrc_char() argument 314 { const unsigned char * data = prsrc->rsrc_data ; in read_rsrc_char() 315 if (offset < 0 || offset >= prsrc->rsrc_len) in read_rsrc_char() 321 read_rsrc_short (const SD2_RSRC *prsrc, int offset) in read_rsrc_short() argument 322 { const unsigned char * data = prsrc->rsrc_data ; in read_rsrc_short() 323 if (offset < 0 || offset + 1 >= prsrc->rsrc_len) in read_rsrc_short() 329 read_rsrc_int (const SD2_RSRC *prsrc, int offset) in read_rsrc_int() argument 330 { const unsigned char * data = prsrc->rsrc_data ; in read_rsrc_int() 331 if (offset < 0 || offset + 3 >= prsrc->rsrc_len) in read_rsrc_int() 337 read_rsrc_marker (const SD2_RSRC *prsrc, in argument 352 read_rsrc_str(const SD2_RSRC *prsrc, int offset, char * buffer, int buffer_len) read_rsrc_str() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/asahi/ |
H A D | agx_pipe.c | 246 struct pipe_resource *prsrc) in agx_resource_destroy() 248 struct agx_resource *rsrc = (struct agx_resource *)prsrc; in agx_resource_destroy() 346 struct pipe_resource *prsrc = transfer->resource; in agx_transfer_unmap() local 347 struct agx_resource *rsrc = (struct agx_resource *) prsrc; in agx_transfer_unmap() 348 unsigned blocksize = util_format_get_blocksize(prsrc->format); in agx_transfer_unmap() 676 struct pipe_resource *prsrc, in agx_flush_frontbuffer() 680 struct agx_resource *rsrc = (struct agx_resource *) prsrc; in agx_flush_frontbuffer() 1119 agx_resource_set_stencil(struct pipe_resource *prsrc, in agx_resource_set_stencil() argument 1122 agx_resource(prsrc)->separate_stencil = agx_resource(stencil); in agx_resource_set_stencil() 1126 agx_resource_get_stencil(struct pipe_resource *prsrc) in agx_resource_get_stencil() argument 245 agx_resource_destroy(struct pipe_screen *screen, struct pipe_resource *prsrc) agx_resource_destroy() argument 674 agx_flush_frontbuffer(struct pipe_screen *_screen, struct pipe_context *pctx, struct pipe_resource *prsrc, unsigned level, unsigned layer, void *context_private, struct pipe_box *box) agx_flush_frontbuffer() argument 1132 agx_resource_get_internal_format(struct pipe_resource *prsrc) agx_resource_get_internal_format() argument [all...] |
H A D | magic.c | 54 asahi_size_resource(struct pipe_resource *prsrc, unsigned level) in asahi_size_resource() argument 56 struct agx_resource *rsrc = agx_resource(prsrc); in asahi_size_resource()
|
Completed in 12 milliseconds