/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_clear.c | 68 struct pipe_resource *p_res, in can_fast_clear_color() 75 struct iris_resource *res = (void *) p_res; in can_fast_clear_color() 85 box->width < u_minify(p_res->width0, level) || in can_fast_clear_color() 86 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_color() 136 if (level > 0 && util_format_get_blocksizebits(p_res->format) == 8 && in can_fast_clear_color() 137 res->aux.usage == ISL_AUX_USAGE_GFX12_CCS_E && p_res->width0 % 64) { in can_fast_clear_color() 172 struct pipe_resource *p_res = (void *) res; in fast_clear_color() local 281 p_res, res->aux.usage, level, true); in fast_clear_color() 307 struct pipe_resource *p_res, in clear_color() 315 struct iris_resource *res = (void *) p_res; in clear_color() 67 can_fast_clear_color(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format render_format, union isl_color_value color) can_fast_clear_color() argument 306 clear_color(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, struct isl_swizzle swizzle, union isl_color_value color) clear_color() argument 384 struct pipe_resource *p_res = (void *) res; can_fast_clear_depth() local 511 clear_depth_stencil(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument 672 iris_clear_texture(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, const void *data) iris_clear_texture() argument [all...] |
H A D | iris_resource.c | 388 iris_resource_get_separate_stencil(struct pipe_resource *p_res) in iris_resource_get_separate_stencil() argument 393 if (p_res->next && p_res->next->format == PIPE_FORMAT_S8_UINT) in iris_resource_get_separate_stencil() 394 return p_res->next; in iris_resource_get_separate_stencil() 401 iris_resource_set_separate_stencil(struct pipe_resource *p_res, in iris_resource_set_separate_stencil() argument 404 assert(util_format_has_depth(util_format_description(p_res->format))); in iris_resource_set_separate_stencil() 405 pipe_resource_reference(&p_res->next, stencil); in iris_resource_set_separate_stencil() 488 struct pipe_resource *p_res) in iris_resource_destroy() 490 struct iris_resource *res = (struct iris_resource *) p_res; in iris_resource_destroy() 492 if (p_res in iris_resource_destroy() 487 iris_resource_destroy(struct pipe_screen *screen, struct pipe_resource *p_res) iris_resource_destroy() argument 2678 iris_resource_get_internal_format(struct pipe_resource *p_res) iris_resource_get_internal_format() argument [all...] |
H A D | iris_blit.c | 235 struct pipe_resource *p_res, in iris_blorp_surf_for_resource() 240 struct iris_resource *res = (void *) p_res; in iris_blorp_surf_for_resource() 324 iris_resource_for_aspect(struct pipe_resource *p_res, unsigned pipe_mask) in iris_resource_for_aspect() argument 328 iris_get_depth_stencil_resources(p_res, &junk, &s_res); in iris_resource_for_aspect() 331 return (struct iris_resource *)p_res; in iris_resource_for_aspect() 233 iris_blorp_surf_for_resource(struct isl_device *isl_dev, struct blorp_surf *surf, struct pipe_resource *p_res, enum isl_aux_usage aux_usage, unsigned level, bool is_dest) iris_blorp_surf_for_resource() argument
|
H A D | iris_resource.h | 303 iris_resource_bo(struct pipe_resource *p_res) in iris_resource_bo() argument 305 struct iris_resource *res = (void *) p_res; in iris_resource_bo()
|
H A D | iris_query.c | 657 struct pipe_resource *p_res, in iris_get_query_result_resource() 664 struct iris_resource *res = (void *) p_res; in iris_get_query_result_resource() 666 struct iris_bo *dst_bo = iris_resource_bo(p_res); in iris_get_query_result_resource() 652 iris_get_query_result_resource(struct pipe_context *ctx, struct pipe_query *query, enum pipe_query_flags flags, enum pipe_query_value_type result_type, int index, struct pipe_resource *p_res, unsigned offset) iris_get_query_result_resource() argument
|
H A D | iris_context.h | 891 struct pipe_resource *p_res,
|
H A D | iris_state.c | 3821 struct pipe_resource *p_res, in iris_create_stream_output_target() 3825 struct iris_resource *res = (void *) p_res; in iris_create_stream_output_target() 3833 pipe_resource_reference(&cso->base.buffer, p_res); in iris_create_stream_output_target() 3820 iris_create_stream_output_target(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned buffer_offset, unsigned buffer_size) iris_create_stream_output_target() argument
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_clear.c | 66 struct pipe_resource *p_res, in can_fast_clear_color() 74 struct crocus_resource *res = (void *) p_res; in can_fast_clear_color() 84 box->width < u_minify(p_res->width0, level) || in can_fast_clear_color() 85 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_color() 126 struct pipe_resource *p_res = (void *) res; in convert_fast_clear_color() local 128 const enum pipe_format format = p_res->format; in convert_fast_clear_color() 208 struct pipe_resource *p_res = (void *) res; in fast_clear_color() local 301 p_res, res->aux.usage, level, true); in fast_clear_color() 327 struct pipe_resource *p_res, in clear_color() 335 struct crocus_resource *res = (void *) p_res; in clear_color() 65 can_fast_clear_color(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, enum isl_format render_format, union isl_color_value color) can_fast_clear_color() argument 326 clear_color(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, struct isl_swizzle swizzle, union isl_color_value color) clear_color() argument 402 struct pipe_resource *p_res = (void *) res; can_fast_clear_depth() local 457 struct pipe_resource *p_res = (void *) res; fast_clear_depth() local 539 clear_depth_stencil(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument 708 crocus_clear_texture(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, const void *data) crocus_clear_texture() argument [all...] |
H A D | crocus_resource.h | 293 crocus_resource_bo(struct pipe_resource *p_res) in crocus_resource_bo() argument 295 struct crocus_resource *res = (void *) p_res; in crocus_resource_bo() 311 _crocus_resource_get_separate_stencil(struct pipe_resource *p_res) in _crocus_resource_get_separate_stencil() argument 316 if (p_res->next && p_res->next->format == PIPE_FORMAT_S8_UINT) in _crocus_resource_get_separate_stencil() 317 return p_res->next; in _crocus_resource_get_separate_stencil()
|
H A D | crocus_blit.c | 274 struct pipe_resource *p_res, in crocus_blorp_surf_for_resource() 279 struct crocus_resource *res = (void *) p_res; in crocus_blorp_surf_for_resource() 346 struct pipe_resource *p_res, unsigned pipe_mask) in crocus_resource_for_aspect() 350 crocus_get_depth_stencil_resources(devinfo, p_res, &junk, &s_res); in crocus_resource_for_aspect() 353 return (struct crocus_resource *)p_res; in crocus_resource_for_aspect() 271 crocus_blorp_surf_for_resource(struct crocus_vtable *vtbl, struct isl_device *isl_dev, struct blorp_surf *surf, struct pipe_resource *p_res, enum isl_aux_usage aux_usage, unsigned level, bool is_render_target) crocus_blorp_surf_for_resource() argument 345 crocus_resource_for_aspect(const struct intel_device_info *devinfo, struct pipe_resource *p_res, unsigned pipe_mask) crocus_resource_for_aspect() argument
|
H A D | crocus_resource.c | 310 crocus_resource_get_separate_stencil(struct pipe_resource *p_res) in crocus_resource_get_separate_stencil() argument 312 return _crocus_resource_get_separate_stencil(p_res); in crocus_resource_get_separate_stencil() 316 crocus_resource_set_separate_stencil(struct pipe_resource *p_res, in crocus_resource_set_separate_stencil() argument 319 assert(util_format_has_depth(util_format_description(p_res->format))); in crocus_resource_set_separate_stencil() 320 pipe_resource_reference(&p_res->next, stencil); in crocus_resource_set_separate_stencil() 1890 crocus_resource_get_internal_format(struct pipe_resource *p_res) in crocus_resource_get_internal_format() argument 1892 struct crocus_resource *res = (void *) p_res; in crocus_resource_get_internal_format()
|
H A D | crocus_query.c | 708 struct pipe_resource *p_res, in crocus_get_query_result_resource() 716 struct crocus_resource *res = (void *) p_res; in crocus_get_query_result_resource() 718 struct crocus_bo *dst_bo = crocus_resource_bo(p_res); in crocus_get_query_result_resource() 703 crocus_get_query_result_resource(struct pipe_context *ctx, struct pipe_query *query, enum pipe_query_flags flags, enum pipe_query_value_type result_type, int index, struct pipe_resource *p_res, unsigned offset) crocus_get_query_result_resource() argument
|
H A D | crocus_context.h | 792 struct pipe_resource *p_res,
|
H A D | crocus_state.c | 4017 struct pipe_resource *p_res, in crocus_create_stream_output_target() 4021 struct crocus_resource *res = (void *) p_res; in crocus_create_stream_output_target() 4029 pipe_resource_reference(&cso->base.buffer, p_res); in crocus_create_stream_output_target() 4016 crocus_create_stream_output_target(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned buffer_offset, unsigned buffer_size) crocus_create_stream_output_target() argument
|
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/ |
H A D | h264dprc.c | 188 struct pipe_resource * p_res = NULL; in get_eglimage() local 201 p_res = st_omx_pipe_texture_from_eglimage(p_egldisplay, p_eglimage); in get_eglimage() 203 assert(p_res); in get_eglimage() 206 templat.buffer_format = p_res->format; in get_eglimage() 207 templat.width = p_res->width0; in get_eglimage() 208 templat.height = p_res->height0; in get_eglimage() 212 pipe_resource_reference(&resources[0], p_res); in get_eglimage() 217 assert(video_buffer->buffer_format == p_res->format); in get_eglimage()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_clear.h | 61 struct pipe_resource *p_res,
|