Home
last modified time | relevance | path

Searched refs:surf (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/third_party/libdrm/radeon/
Dradeon_surface.c96 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/
Dac_surface.c125 const struct radeon_surf *surf) in ac_surface_supports_dcc_image_stores() argument
150 return (!surf->u.gfx9.color.dcc.independent_64B_blocks && in ac_surface_supports_dcc_image_stores()
151 surf->u.gfx9.color.dcc.independent_128B_blocks && in ac_surface_supports_dcc_image_stores()
152 surf->u.gfx9.color.dcc.max_compressed_block_size == V_028C78_MAX_BLOCK_SIZE_128B) || in ac_surface_supports_dcc_image_stores()
154 surf->u.gfx9.color.dcc.independent_64B_blocks && in ac_surface_supports_dcc_image_stores()
155 surf->u.gfx9.color.dcc.independent_128B_blocks && in ac_surface_supports_dcc_image_stores()
156 surf->u.gfx9.color.dcc.max_compressed_block_size == V_028C78_MAX_BLOCK_SIZE_64B); in ac_surface_supports_dcc_image_stores()
168 ac_modifier_fill_dcc_params(uint64_t modifier, struct radeon_surf *surf, in ac_modifier_fill_dcc_params() argument
185 surf->u.gfx9.color.dcc.independent_64B_blocks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_64B, modifier); in ac_modifier_fill_dcc_params()
186 surf->u.gfx9.color.dcc.independent_128B_blocks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_128B, modifier); in ac_modifier_fill_dcc_params()
[all …]
Dac_surface_modifier_test.c69 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/
Disl_surf_get_image_offset_test.c55 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/
Detnaviv_surface.c83 struct etna_surface *surf = CALLOC_STRUCT(etna_surface); in etna_create_surface() local
85 if (!surf) in etna_create_surface()
93 surf->base.context = pctx; in etna_create_surface()
95 pipe_reference_init(&surf->base.reference, 1); in etna_create_surface()
96 pipe_resource_reference(&surf->base.texture, &rsc->base); in etna_create_surface()
97 pipe_resource_reference(&surf->prsc, prsc); in etna_create_surface()
115 surf->base.format = templat->format; in etna_create_surface()
116 surf->base.width = rsc->levels[level].width; in etna_create_surface()
117 surf->base.height = rsc->levels[level].height; in etna_create_surface()
118 surf->base.writable = templat->writable; /* what is this for anyway */ in etna_create_surface()
[all …]
/third_party/mesa3d/src/egl/main/
Deglsurface.c54 _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 …]
Deglsurface.h183 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *disp, EGLint type,
189 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint *value);
193 _eglSurfaceAttrib(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute, EGLint value);
197 _eglBindTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
200 _eglReleaseTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer);
204 _eglSurfaceHasMutableRenderBuffer(_EGLSurface *surf);
207 _eglSurfaceInSharedBufferMode(_EGLSurface *surf);
213 _eglGetSurface(_EGLSurface *surf) in _eglGetSurface() argument
215 if (surf) in _eglGetSurface()
216 _eglGetResource(&surf->Resource); in _eglGetSurface()
[all …]
/third_party/mesa3d/src/mesa/main/
Dvdpau.c84 struct vdp_surface *surf = (struct vdp_surface *)entry->key; in unregister_surface() local
87 if (surf->state == GL_SURFACE_MAPPED_NV) { in unregister_surface()
88 GLintptr surfaces[] = { (GLintptr)surf }; in unregister_surface()
93 free(surf); in unregister_surface()
118 struct vdp_surface *surf; in register_surface() local
136 surf = CALLOC_STRUCT( vdp_surface ); in register_surface()
137 if (surf == NULL) { in register_surface()
142 surf->vdpSurface = vdpSurface; in register_surface()
143 surf->target = target; in register_surface()
144 surf->access = GL_READ_WRITE; in register_surface()
[all …]
/third_party/mesa3d/src/intel/blorp/
Dblorp.c82 const struct blorp_surf *surf, in brw_blorp_surface_info_init() argument
88 assert(level < surf->surf->levels); in brw_blorp_surface_info_init()
89 assert(layer < MAX2(surf->surf->logical_level0_px.depth >> level, in brw_blorp_surface_info_init()
90 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init()
95 format = surf->surf->format; in brw_blorp_surface_info_init()
97 info->surf = *surf->surf; in brw_blorp_surface_info_init()
98 info->addr = surf->addr; in brw_blorp_surface_info_init()
100 info->aux_usage = surf->aux_usage; in brw_blorp_surface_info_init()
102 info->aux_surf = *surf->aux_surf; in brw_blorp_surface_info_init()
103 info->aux_addr = surf->aux_addr; in brw_blorp_surface_info_init()
[all …]
Dblorp_clear.c424 const struct blorp_surf *surf, in blorp_fast_clear() argument
442 get_fast_clear_rect(batch->blorp->isl_dev, surf->aux_surf, in blorp_fast_clear()
448 brw_blorp_surface_info_init(batch, &params.dst, surf, level, in blorp_fast_clear()
450 params.num_samples = params.dst.surf.samples; in blorp_fast_clear()
487 const struct blorp_surf *surf, in blorp_clear() argument
501 false, surf->aux_usage)); in blorp_clear()
544 if (surf->surf->tiling == ISL_TILING_LINEAR) in blorp_clear()
570 brw_blorp_surface_info_init(batch, &params.dst, surf, level, in blorp_clear()
587 assert(params.dst.surf.samples == 1); in blorp_clear()
599 (params.dst.surf.usage & ISL_SURF_USAGE_CUBE_BIT)) { in blorp_clear()
[all …]
/third_party/weston/tests/
Dsubsurface-shot-test.c120 struct wl_surface *surf[5] = { 0 }; in TEST() local
143 surf[0] = client->surface->wl_surface; in TEST()
144 bufs[0] = surface_commit_color(client, surf[0], &red, 100, 100); in TEST()
150 surf[1] = wl_compositor_create_surface(client->wl_compositor); in TEST()
151 sub[1] = wl_subcompositor_get_subsurface(subco, surf[1], surf[0]); in TEST()
152 bufs[1] = surface_commit_color(client, surf[1], &blue, 100, 100); in TEST()
155 wl_surface_commit(surf[0]); in TEST()
160 surf[2] = wl_compositor_create_surface(client->wl_compositor); in TEST()
161 sub[2] = wl_subcompositor_get_subsurface(subco, surf[2], surf[1]); in TEST()
162 bufs[2] = surface_commit_color(client, surf[2], &cyan, 100, 100); in TEST()
[all …]
/third_party/skia/gm/
Dsurface.cpp150 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/intel/isl/
Disl.c1740 struct isl_surf *surf, in isl_surf_init_s() argument
1911 *surf = (struct isl_surf) { in isl_surf_init_s()
1938 isl_surf_get_tile_info(const struct isl_surf *surf, in isl_surf_get_tile_info() argument
1941 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in isl_surf_get_tile_info()
1942 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info()
1943 surf->samples, tile_info); in isl_surf_get_tile_info()
1948 const struct isl_surf *surf, in isl_surf_get_hiz_surf() argument
1953 if (!isl_surf_usage_is_depth(surf->usage)) in isl_surf_get_hiz_surf()
1957 if (!isl_tiling_is_any_y(surf->tiling)) in isl_surf_get_hiz_surf()
1961 switch (surf->format) { in isl_surf_get_hiz_surf()
[all …]
Disl_surface_state.c167 get_image_alignment(const struct isl_surf *surf) in get_image_alignment() argument
170 if (surf->tiling == ISL_TILING_64) { in get_image_alignment()
176 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in get_image_alignment()
180 return isl_surf_get_image_alignment_el(surf); in get_image_alignment()
185 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_image_alignment()
186 return isl_extent3d(surf->image_alignment_el.w * bs, in get_image_alignment()
187 surf->image_alignment_el.h, in get_image_alignment()
188 surf->image_alignment_el.d); in get_image_alignment()
191 if (isl_tiling_is_std_y(surf->tiling) || in get_image_alignment()
192 surf->dim_layout == ISL_DIM_LAYOUT_GFX9_1D) { in get_image_alignment()
[all …]
Disl_storage_image.c226 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/gallium/drivers/crocus/
Dcrocus_blt.c51 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 …]
Dcrocus_resolve.c65 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/flutter/skia/gm/
Dsurface.cpp147 auto surf(ToolUtils::makeSurface(canvas, info, nullptr)); in onDraw() local
148 drawInto(surf->getCanvas()); in onDraw()
150 sk_sp<SkImage> image(surf->makeImageSnapshot()); in onDraw()
153 auto surf2(surf->makeSurface(info)); in onDraw()
157 SkASSERT(equal(surf->props(), surf2->props())); in onDraw()
172 sk_sp<SkSurface> surf = ToolUtils::makeSurface(canvas, info); variable
174 surf->getCanvas()->clear(SK_ColorRED);
177 sk_sp<SkImage> image = surf->makeImageSnapshot();
181 surf->getCanvas()->clipRect(SkRect::MakeWH(128, 256));
182 surf->getCanvas()->clear(SK_ColorBLUE);
[all …]
/third_party/skia/tests/
DWrappedSurfaceCopyOnWriteTest.cpp38 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 …]
DSpecialSurfaceTest.cpp20 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/flutter/skia/tests/
DSpecialSurfaceTest.cpp21 static const SkIRect& Subset(const SkSpecialSurface* surf) { in Subset() argument
22 return surf->subset(); in Subset()
33 static void test_surface(const sk_sp<SkSpecialSurface>& surf, in test_surface() argument
37 const SkIRect surfSubset = TestingSpecialSurfaceAccess::Subset(surf.get()); in test_surface()
43 SkCanvas* canvas = surf->getCanvas(); in test_surface()
48 sk_sp<SkSpecialImage> img(surf->makeImageSnapshot()); in test_surface()
55 REPORTER_ASSERT(reporter, !surf->getCanvas()); in test_surface()
61 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeRaster(info)); in DEF_TEST() local
63 test_surface(surf, reporter, 0); in DEF_TEST()
73 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeFromBitmap(subset, bm)); in DEF_TEST() local
[all …]
/third_party/mesa3d/src/gallium/frontends/va/
Dimage.c200 vlVaSurface *surf; in vlVaDeriveImage() local
239 surf = handle_table_get(drv->htab, surface); in vlVaDeriveImage()
241 if (!surf || !surf->buffer) in vlVaDeriveImage()
244 if (surf->buffer->interlaced) { in vlVaDeriveImage()
256 surfaces = surf->buffer->get_surfaces(surf->buffer); in vlVaDeriveImage()
264 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage()
267 img->width = surf->templat.width; in vlVaDeriveImage()
268 img->height = surf->templat.height; in vlVaDeriveImage()
272 w = align(surf->buffer->width, 2); in vlVaDeriveImage()
273 h = align(surf->buffer->height, 2); in vlVaDeriveImage()
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_rcl.c58 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/
Dvc4_render_cl.c94 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/
Dpresentation.c209 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 …]

12345678910>>...19