/third_party/libdrm/radeon/ |
D | radeon_surface.c | 96 struct radeon_surface *surf); 98 struct radeon_surface *surf); 167 static void surf_minify(struct radeon_surface *surf, in surf_minify() argument 173 surflevel->npix_x = mip_minify(surf->npix_x, level); in surf_minify() 174 surflevel->npix_y = mip_minify(surf->npix_y, level); in surf_minify() 175 surflevel->npix_z = mip_minify(surf->npix_z, level); in surf_minify() 176 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify() 177 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in surf_minify() 178 surflevel->nblk_z = (surflevel->npix_z + surf->blk_d - 1) / surf->blk_d; in surf_minify() 179 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify() [all …]
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface.c | 126 const struct radeon_surf *surf) in ac_surface_supports_dcc_image_stores() argument 151 return (!surf->u.gfx9.color.dcc.independent_64B_blocks && in ac_surface_supports_dcc_image_stores() 152 surf->u.gfx9.color.dcc.independent_128B_blocks && in ac_surface_supports_dcc_image_stores() 153 surf->u.gfx9.color.dcc.max_compressed_block_size == V_028C78_MAX_BLOCK_SIZE_128B) || in ac_surface_supports_dcc_image_stores() 155 surf->u.gfx9.color.dcc.independent_64B_blocks && in ac_surface_supports_dcc_image_stores() 156 surf->u.gfx9.color.dcc.independent_128B_blocks && in ac_surface_supports_dcc_image_stores() 157 surf->u.gfx9.color.dcc.max_compressed_block_size == V_028C78_MAX_BLOCK_SIZE_64B); in ac_surface_supports_dcc_image_stores() 169 ac_modifier_fill_dcc_params(uint64_t modifier, struct radeon_surf *surf, in ac_modifier_fill_dcc_params() argument 186 surf->u.gfx9.color.dcc.independent_64B_blocks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_64B, modifier); in ac_modifier_fill_dcc_params() 187 surf->u.gfx9.color.dcc.independent_128B_blocks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_128B, modifier); in ac_modifier_fill_dcc_params() [all …]
|
D | ac_surface_modifier_test.c | 69 get_addr_from_coord_base(ADDR_HANDLE addrlib, const struct radeon_surf *surf, in get_addr_from_coord_base() argument 78 din.swizzleMode = surf->u.gfx9.swizzle_mode; in get_addr_from_coord_base() 86 din.dccKeyFlags.pipeAligned = surf->u.gfx9.color.dcc.pipe_aligned; in get_addr_from_coord_base() 87 din.dccKeyFlags.rbAligned = surf->u.gfx9.color.dcc.rb_aligned; in get_addr_from_coord_base() 88 din.dataSurfaceSize = surf->surf_size; in get_addr_from_coord_base() 95 dcc_input.swizzleMode = surf->u.gfx9.swizzle_mode; in get_addr_from_coord_base() 117 const struct radeon_surf *surf) in generate_hash() argument 125 _mesa_sha1_update(&ctx, &surf->total_size, sizeof(surf->total_size)); in generate_hash() 126 _mesa_sha1_update(&ctx, &surf->meta_offset, sizeof(surf->meta_offset)); in generate_hash() 127 _mesa_sha1_update(&ctx, &surf->display_dcc_offset, sizeof(surf->display_dcc_offset)); in generate_hash() [all …]
|
/third_party/mesa3d/src/intel/isl/tests/ |
D | isl_surf_get_image_offset_test.c | 55 t_assert_image_alignment_el(const struct isl_surf *surf, in t_assert_image_alignment_el() argument 60 align_el = isl_surf_get_image_alignment_el(surf); in t_assert_image_alignment_el() 68 t_assert_image_alignment_sa(const struct isl_surf *surf, in t_assert_image_alignment_sa() argument 73 align_sa = isl_surf_get_image_alignment_sa(surf); in t_assert_image_alignment_sa() 81 t_assert_offset_el(const struct isl_surf *surf, in t_assert_offset_el() argument 89 isl_surf_get_image_offset_el(surf, level, logical_array_layer, in t_assert_offset_el() 97 t_assert_phys_level0_sa(const struct isl_surf *surf, uint32_t width, in t_assert_phys_level0_sa() argument 100 t_assert_extent4d(&surf->phys_level0_sa, width, height, depth, array_len); in t_assert_phys_level0_sa() 104 t_assert_gfx4_3d_layer(const struct isl_surf *surf, in t_assert_gfx4_3d_layer() argument 114 t_assert_offset_el(surf, level, 0, z, in t_assert_gfx4_3d_layer() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_surface.c | 92 struct etna_surface *surf = CALLOC_STRUCT(etna_surface); in etna_create_surface() local 94 if (!surf) in etna_create_surface() 100 surf->base.context = pctx; in etna_create_surface() 102 pipe_reference_init(&surf->base.reference, 1); in etna_create_surface() 103 pipe_resource_reference(&surf->base.texture, &rsc->base); in etna_create_surface() 104 pipe_resource_reference(&surf->prsc, prsc); in etna_create_surface() 121 surf->base.format = templat->format; in etna_create_surface() 122 surf->base.width = rsc->levels[level].width; in etna_create_surface() 123 surf->base.height = rsc->levels[level].height; in etna_create_surface() 124 surf->base.writable = templat->writable; /* what is this for anyway */ in etna_create_surface() [all …]
|
D | etnaviv_blt.c | 217 struct etna_surface *surf = etna_surface(dst); in etna_blit_clear_color_blt() local 218 uint64_t new_clear_value = etna_clear_blit_pack_rgba(surf->base.format, color); in etna_blit_clear_color_blt() 220 struct etna_resource *res = etna_resource(surf->base.texture); in etna_blit_clear_color_blt() 223 clr.dest.addr.offset = surf->surf.offset; in etna_blit_clear_color_blt() 225 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_color_blt() 226 clr.dest.stride = surf->surf.stride; in etna_blit_clear_color_blt() 229 if (surf->surf.ts_size) { in etna_blit_clear_color_blt() 232 clr.dest.ts_addr.offset = surf->level->ts_offset; in etna_blit_clear_color_blt() 236 clr.dest.ts_mode = surf->level->ts_mode; in etna_blit_clear_color_blt() 237 clr.dest.ts_compress_fmt = surf->level->ts_compress_fmt; in etna_blit_clear_color_blt() [all …]
|
D | etnaviv_rs.c | 278 etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf, in etna_rs_gen_clear_surface() argument 282 struct etna_resource *dst = etna_resource(surf->base.texture); in etna_rs_gen_clear_surface() 285 switch (util_format_get_blocksizebits(surf->base.format)) { in etna_rs_gen_clear_surface() 302 bool tiled_clear = (surf->surf.padded_width & ETNA_RS_WIDTH_MASK) == 0 && in etna_rs_gen_clear_surface() 303 (surf->surf.padded_height & ETNA_RS_HEIGHT_MASK) == 0; in etna_rs_gen_clear_surface() 305 etna_compile_rs_state( ctx, &surf->clear_command, &(struct rs_state) { in etna_rs_gen_clear_surface() 309 .dest_offset = surf->surf.offset, in etna_rs_gen_clear_surface() 310 .dest_stride = surf->surf.stride, in etna_rs_gen_clear_surface() 311 .dest_padded_height = surf->surf.padded_height, in etna_rs_gen_clear_surface() 314 ….width = surf->surf.padded_width, /* These must be padded to 16x4 if !LINEAR, otherwise RS will ha… in etna_rs_gen_clear_surface() [all …]
|
/third_party/mesa3d/src/egl/main/ |
D | eglsurface.c | 54 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) in _eglParseSurfaceAttribList() argument 56 _EGLDisplay *disp = surf->Resource.Display; in _eglParseSurfaceAttribList() 57 EGLint type = surf->Type; in _eglParseSurfaceAttribList() 89 surf->GLColorspace = val; in _eglParseSurfaceAttribList() 96 surf->HdrMetadata.display_primary_r.x = val; in _eglParseSurfaceAttribList() 103 surf->HdrMetadata.display_primary_r.y = val; in _eglParseSurfaceAttribList() 110 surf->HdrMetadata.display_primary_g.x = val; in _eglParseSurfaceAttribList() 117 surf->HdrMetadata.display_primary_g.y = val; in _eglParseSurfaceAttribList() 124 surf->HdrMetadata.display_primary_b.x = val; in _eglParseSurfaceAttribList() 131 surf->HdrMetadata.display_primary_b.y = val; in _eglParseSurfaceAttribList() [all …]
|
D | eglsurface.h | 181 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *disp, EGLint type, 187 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint *value); 191 _eglSurfaceAttrib(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint value); 195 _eglBindTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer); 198 _eglReleaseTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer); 202 _eglSurfaceHasMutableRenderBuffer(_EGLSurface *surf); 205 _eglSurfaceInSharedBufferMode(_EGLSurface *surf); 211 _eglGetSurface(_EGLSurface *surf) in _eglGetSurface() argument 213 if (surf) in _eglGetSurface() 214 _eglGetResource(&surf->Resource); in _eglGetSurface() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | vdpau.c | 87 struct vdp_surface *surf = (struct vdp_surface *)entry->key; in unregister_surface() local 90 if (surf->state == GL_SURFACE_MAPPED_NV) { in unregister_surface() 91 GLintptr surfaces[] = { (GLintptr)surf }; in unregister_surface() 96 FREE(surf); in unregister_surface() 121 struct vdp_surface *surf; in register_surface() local 139 surf = CALLOC_STRUCT( vdp_surface ); in register_surface() 140 if (surf == NULL) { in register_surface() 145 surf->vdpSurface = vdpSurface; in register_surface() 146 surf->target = target; in register_surface() 147 surf->access = GL_READ_WRITE; in register_surface() [all …]
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_genX_helpers.h | 82 isl_get_image_alignment(const struct isl_surf *surf) in isl_get_image_alignment() argument 85 if (surf->tiling == ISL_TILING_64) { in isl_get_image_alignment() 91 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in isl_get_image_alignment() 95 return isl_surf_get_image_alignment_el(surf); in isl_get_image_alignment() 100 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in isl_get_image_alignment() 101 return isl_extent3d(surf->image_alignment_el.w * bs, in isl_get_image_alignment() 102 surf->image_alignment_el.h, in isl_get_image_alignment() 103 surf->image_alignment_el.d); in isl_get_image_alignment() 106 if (isl_tiling_is_std_y(surf->tiling) || in isl_get_image_alignment() 107 surf->dim_layout == ISL_DIM_LAYOUT_GFX9_1D) { in isl_get_image_alignment() [all …]
|
D | isl.c | 1806 struct isl_surf *surf, in isl_surf_init_s() argument 1981 *surf = (struct isl_surf) { in isl_surf_init_s() 2008 isl_surf_get_tile_info(const struct isl_surf *surf, in isl_surf_get_tile_info() argument 2011 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in isl_surf_get_tile_info() 2012 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info() 2013 surf->samples, tile_info); in isl_surf_get_tile_info() 2018 const struct isl_surf *surf, in isl_surf_get_hiz_surf() argument 2025 if (!isl_surf_usage_is_depth(surf->usage)) in isl_surf_get_hiz_surf() 2037 if (isl_surf_usage_is_stencil(surf->usage)) in isl_surf_get_hiz_surf() 2041 assert(surf->msaa_layout == ISL_MSAA_LAYOUT_NONE || in isl_surf_get_hiz_surf() [all …]
|
D | isl_storage_image.c | 226 const struct isl_surf *surf, in isl_surf_fill_image_param() argument 231 if (surf->dim != ISL_SURF_DIM_3D) { in isl_surf_fill_image_param() 233 surf->logical_level0_px.array_len); in isl_surf_fill_image_param() 235 param->size[0] = isl_minify(surf->logical_level0_px.w, view->base_level); in isl_surf_fill_image_param() 236 param->size[1] = surf->dim == ISL_SURF_DIM_1D ? in isl_surf_fill_image_param() 238 isl_minify(surf->logical_level0_px.h, view->base_level); in isl_surf_fill_image_param() 239 param->size[2] = surf->dim == ISL_SURF_DIM_2D ? in isl_surf_fill_image_param() 241 isl_minify(surf->logical_level0_px.d, view->base_level); in isl_surf_fill_image_param() 244 isl_surf_get_image_offset_el(surf, view->base_level, in isl_surf_fill_image_param() 245 surf->dim == ISL_SURF_DIM_3D ? in isl_surf_fill_image_param() [all …]
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 98 const struct blorp_surf *surf, in brw_blorp_surface_info_init() argument 104 assert(level < surf->surf->levels); in brw_blorp_surface_info_init() 105 assert(layer < MAX2(surf->surf->logical_level0_px.depth >> level, in brw_blorp_surface_info_init() 106 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init() 111 format = surf->surf->format; in brw_blorp_surface_info_init() 113 info->surf = *surf->surf; in brw_blorp_surface_info_init() 114 info->addr = surf->addr; in brw_blorp_surface_info_init() 116 info->aux_usage = surf->aux_usage; in brw_blorp_surface_info_init() 118 info->aux_surf = *surf->aux_surf; in brw_blorp_surface_info_init() 119 info->aux_addr = surf->aux_addr; in brw_blorp_surface_info_init() [all …]
|
D | blorp_clear.c | 304 const struct isl_surf *surf, in get_fast_clear_rect() argument 313 if (surf->samples == 1) { in get_fast_clear_rect() 315 assert(surf->tiling == ISL_TILING_4); in get_fast_clear_rect() 326 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_fast_clear_rect() 449 const struct blorp_surf *surf, in blorp_fast_clear() argument 467 get_fast_clear_rect(batch->blorp->isl_dev, surf->surf, surf->aux_surf, in blorp_fast_clear() 473 brw_blorp_surface_info_init(batch, ¶ms.dst, surf, level, in blorp_fast_clear() 475 params.num_samples = params.dst.surf.samples; in blorp_fast_clear() 512 const struct blorp_surf *surf, in blorp_clear() argument 526 false, surf->aux_usage)); in blorp_clear() [all …]
|
/third_party/skia/gm/ |
D | surface.cpp | 150 auto surf(ToolUtils::makeSurface(canvas, info, nullptr)); in onDraw() local 151 drawInto(surf->getCanvas()); in onDraw() 153 sk_sp<SkImage> image(surf->makeImageSnapshot()); in onDraw() 156 auto surf2(surf->makeSurface(info)); in onDraw() 160 SkASSERT(equal(surf->props(), surf2->props())); in onDraw() 243 sk_sp<SkSurface> surf = make(info); variable 245 surf->getCanvas()->clear(SK_ColorRED); 248 sk_sp<SkImage> image = surf->makeImageSnapshot(); 252 surf->getCanvas()->clipRect(SkRect::MakeWH(128, 256)); 253 surf->getCanvas()->clear(SK_ColorBLUE); [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_blt.c | 51 const struct isl_format_layout *fmtl = isl_format_get_layout(dst->surf.format); in blt_set_alpha_to_one() 53 uint32_t pitch = dst->surf.row_pitch_B; in blt_set_alpha_to_one() 55 if (dst->surf.tiling != ISL_TILING_LINEAR) in blt_set_alpha_to_one() 72 isl_tiling_get_intratile_offset_el(dst->surf.tiling, dst->surf.dim, in blt_set_alpha_to_one() 73 dst->surf.msaa_layout, in blt_set_alpha_to_one() 74 cpp * 8, dst->surf.samples, in blt_set_alpha_to_one() 75 dst->surf.row_pitch_B, in blt_set_alpha_to_one() 76 dst->surf.array_pitch_el_rows, in blt_set_alpha_to_one() 84 xyblt.TilingEnable = dst->surf.tiling != ISL_TILING_LINEAR; in blt_set_alpha_to_one() 136 int pitch = res->surf.row_pitch_B; in crocus_resource_blt_pitch() [all …]
|
D | crocus_resolve.c | 65 struct crocus_surface *surf = (void *) cso_fb->cbufs[i]; in disable_rb_aux_buffer() local 66 if (!surf) in disable_rb_aux_buffer() 69 struct crocus_resource *rb_res = (void *) surf->base.texture; in disable_rb_aux_buffer() 72 surf->base.u.tex.level >= min_level && in disable_rb_aux_buffer() 73 surf->base.u.tex.level < min_level + num_levels) { in disable_rb_aux_buffer() 166 struct crocus_surface *surf, in crocus_update_align_res() argument 172 info.src.resource = copy_to_wa ? surf->base.texture : surf->align_res; in crocus_update_align_res() 173 info.src.level = copy_to_wa ? surf->base.u.tex.level : 0; in crocus_update_align_res() 174 u_box_2d_zslice(0, 0, copy_to_wa ? surf->base.u.tex.first_layer : 0, in crocus_update_align_res() 175 u_minify(surf->base.texture->width0, surf->base.u.tex.level), in crocus_update_align_res() [all …]
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | image.c | 200 vlVaSurface *surf; in vlVaDeriveImage() local 243 surf = handle_table_get(drv->htab, surface); in vlVaDeriveImage() 245 if (!surf || !surf->buffer) in vlVaDeriveImage() 248 if (surf->buffer->interlaced) { in vlVaDeriveImage() 267 surfaces = surf->buffer->get_surfaces(surf->buffer); in vlVaDeriveImage() 275 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage() 278 img->width = surf->templat.width; in vlVaDeriveImage() 279 img->height = surf->templat.height; in vlVaDeriveImage() 283 w = align(surf->buffer->width, 2); in vlVaDeriveImage() 284 h = align(surf->buffer->height, 2); in vlVaDeriveImage() [all …]
|
/third_party/skia/tests/ |
D | WrappedSurfaceCopyOnWriteTest.cpp | 38 auto surfaceProxyID = [&](const sk_sp<SkSurface>& surf) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() argument 39 GrRenderTargetProxy* rtp = SkCanvasPriv::TopDeviceTargetProxy(surf->getCanvas()); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 43 sk_sp<SkSurface> surf = makeDirectBackendSurface(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 44 surf->getCanvas()->clear(SkColor4f{1, 0, 0, 1}); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 45 sk_sp<SkImage> img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 47 REPORTER_ASSERT(reporter, surfaceProxyID(surf) == imageProxyID(img)); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 51 REPORTER_ASSERT(reporter, surfaceProxyID(surf) == imageProxyID(img)); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 53 surf->getCanvas()->clear({0, 0, 1, 1}); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 54 REPORTER_ASSERT(reporter, surfaceProxyID(surf) != imageProxyID(img)); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 57 img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() [all …]
|
D | SpecialSurfaceTest.cpp | 20 static const SkIRect& Subset(const SkSpecialSurface* surf) { in Subset() argument 21 return surf->subset(); in Subset() 32 static void test_surface(const sk_sp<SkSpecialSurface>& surf, in test_surface() argument 36 const SkIRect surfSubset = TestingSpecialSurfaceAccess::Subset(surf.get()); in test_surface() 42 SkCanvas* canvas = surf->getCanvas(); in test_surface() 47 sk_sp<SkSpecialImage> img(surf->makeImageSnapshot()); in test_surface() 54 REPORTER_ASSERT(reporter, !surf->getCanvas()); in test_surface() 60 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeRaster(info, SkSurfaceProps())); in DEF_TEST() local 62 test_surface(surf, reporter, 0); in DEF_TEST() 72 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeFromBitmap(subset, bm, SkSurfaceProps())); in DEF_TEST() local [all …]
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_rcl.c | 58 struct v3d_surface *surf = v3d_surface(psurf); in load_general() local 59 bool separate_stencil = surf->separate_stencil && buffer == STENCIL; in load_general() 61 psurf = surf->separate_stencil; in load_general() 62 surf = v3d_surface(psurf); in load_general() 75 load.memory_format = surf->tiling; in load_general() 79 load.input_image_format = surf->format; in load_general() 80 load.r_b_swap = surf->swap_rb; in load_general() 82 if (surf->tiling == V3D_TILING_UIF_NO_XOR || in load_general() 83 surf->tiling == V3D_TILING_UIF_XOR) { in load_general() 85 surf->padded_height_of_output_image_in_uif_blocks; in load_general() [all …]
|
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_render_cl.c | 94 struct drm_vc4_submit_rcl_surface *surf, in vc4_full_res_offset() argument 97 return bo->paddr + surf->offset + VC4_TILE_BUFFER_SIZE * in vc4_full_res_offset() 379 struct drm_vc4_submit_rcl_surface *surf) in vc4_full_res_bounds_check() argument 385 if (surf->offset > obj->base.size) { in vc4_full_res_bounds_check() 387 surf->offset, obj->base.size); in vc4_full_res_bounds_check() 391 if ((obj->base.size - surf->offset) / VC4_TILE_BUFFER_SIZE < in vc4_full_res_bounds_check() 397 surf->offset); in vc4_full_res_bounds_check() 406 struct drm_vc4_submit_rcl_surface *surf) in vc4_rcl_msaa_surface_setup() argument 408 if (surf->flags != 0 || surf->bits != 0) { in vc4_rcl_msaa_surface_setup() 413 if (surf->hindex == ~0) in vc4_rcl_msaa_surface_setup() [all …]
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | presentation.c | 209 vlVdpOutputSurface *surf; in vlVdpPresentationQueueDisplay() local 224 surf = vlGetDataHTAB(surface); in vlVdpPresentationQueueDisplay() 225 if (!surf) in vlVdpPresentationQueueDisplay() 234 if (vscreen->set_back_texture_from_output && surf->send_to_X) in vlVdpPresentationQueueDisplay() 235 … vscreen->set_back_texture_from_output(vscreen, surf->surface->texture, clip_width, clip_height); in vlVdpPresentationQueueDisplay() 242 if (!vscreen->set_back_texture_from_output || !surf->send_to_X) { in vlVdpPresentationQueueDisplay() 260 … vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); in vlVdpPresentationQueueDisplay() 269 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL); in vlVdpPresentationQueueDisplay() 270 pipe->flush(pipe, &surf->fence, 0); in vlVdpPresentationQueueDisplay() 274 pq->last_surf = surf; in vlVdpPresentationQueueDisplay() [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_resolve.c | 62 struct iris_surface *surf = (void *) cso_fb->cbufs[i]; in disable_rb_aux_buffer() local 63 if (!surf) in disable_rb_aux_buffer() 66 struct iris_resource *rb_res = (void *) surf->base.texture; in disable_rb_aux_buffer() 69 surf->base.u.tex.level >= min_level && in disable_rb_aux_buffer() 70 surf->base.u.tex.level < min_level + num_levels) { in disable_rb_aux_buffer() 220 struct iris_surface *surf = (void *) cso_fb->cbufs[i]; in iris_predraw_resolve_framebuffer() local 223 iris_resource_prepare_texture(ice, res, surf->view.format, in iris_predraw_resolve_framebuffer() 224 surf->view.base_level, 1, in iris_predraw_resolve_framebuffer() 225 surf->view.base_array_layer, in iris_predraw_resolve_framebuffer() 226 surf->view.array_len); in iris_predraw_resolve_framebuffer() [all …]
|