/third_party/mesa3d/src/gallium/drivers/r600/ |
D | radeon_video.c | 145 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]) in rvid_join_surfaces() 158 if (!surfaces[i]) in rvid_join_surfaces() 162 wh = surfaces[i]->u.legacy.bankw * surfaces[i]->u.legacy.bankh; in rvid_join_surfaces() 170 if (!surfaces[i]) in rvid_join_surfaces() 174 off = align(off, 1 << surfaces[i]->surf_alignment_log2); in rvid_join_surfaces() 177 surfaces[i]->u.legacy.bankw = surfaces[best_tiling]->u.legacy.bankw; in rvid_join_surfaces() 178 surfaces[i]->u.legacy.bankh = surfaces[best_tiling]->u.legacy.bankh; in rvid_join_surfaces() 179 surfaces[i]->u.legacy.mtilea = surfaces[best_tiling]->u.legacy.mtilea; in rvid_join_surfaces() 180 surfaces[i]->u.legacy.tile_split = surfaces[best_tiling]->u.legacy.tile_split; in rvid_join_surfaces() 182 for (j = 0; j < ARRAY_SIZE(surfaces[i]->u.legacy.level); ++j) in rvid_join_surfaces() [all …]
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blitter.c | 76 struct pan_blit_surface surfaces[8]; member 153 nir_alu_type type = blit_shader->key.surfaces[rt].type; in pan_blitter_emit_blend() 423 for (unsigned i = 0; i < ARRAY_SIZE(key->surfaces); i++) { in pan_blitter_get_blit_shader() 425 if (key->surfaces[i].type == nir_type_invalid) in pan_blitter_get_blit_shader() 428 switch (key->surfaces[i].type) { in pan_blitter_get_blit_shader() 435 switch (key->surfaces[i].dim) { in pan_blitter_get_blit_shader() 444 (key->surfaces[i].dim ? : 3) + in pan_blitter_get_blit_shader() 445 (key->surfaces[i].array ? 1 : 0)); in pan_blitter_get_blit_shader() 454 gl_frag_result_name(key->surfaces[i].loc), in pan_blitter_get_blit_shader() 456 key->surfaces[i].array ? "[]" : "", in pan_blitter_get_blit_shader() [all …]
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | texture9.c | 177 This->surfaces = CALLOC(This->base.level_count, sizeof(*This->surfaces)); in NineTexture9_ctor() 178 if (!This->surfaces) in NineTexture9_ctor() 203 &sfdesc, &This->surfaces[l]); in NineTexture9_ctor() 214 *pSharedHandle = This->surfaces[0]->data; in NineTexture9_ctor() 228 if (This->surfaces) { in NineTexture9_dtor() 231 if (This->surfaces[l]) in NineTexture9_dtor() 232 NineUnknown_Destroy(&This->surfaces[l]->base.base); in NineTexture9_dtor() 233 FREE(This->surfaces); in NineTexture9_dtor() 256 *pDesc = This->surfaces[Level]->desc; in NineTexture9_GetLevelDesc() 271 NineUnknown_AddRef(NineUnknown(This->surfaces[Level])); in NineTexture9_GetSurfaceLevel() [all …]
|
D | cubetexture9.c | 129 This->surfaces = CALLOC(6 * This->base.level_count, sizeof(*This->surfaces)); in NineCubeTexture9_ctor() 130 if (!This->surfaces) in NineCubeTexture9_ctor() 156 l, f, &sfdesc, &This->surfaces[f + 6 * l]); in NineCubeTexture9_ctor() 180 if (This->surfaces) { in NineCubeTexture9_dtor() 182 if (This->surfaces[i]) in NineCubeTexture9_dtor() 183 NineUnknown_Destroy(&This->surfaces[i]->base.base); in NineCubeTexture9_dtor() 184 FREE(This->surfaces); in NineCubeTexture9_dtor() 206 *pDesc = This->surfaces[Level * 6]->desc; in NineCubeTexture9_GetLevelDesc() 225 NineUnknown_AddRef(NineUnknown(This->surfaces[s])); in NineCubeTexture9_GetCubeMapSurface() 226 *ppCubeMapSurface = (IDirect3DSurface9 *)This->surfaces[s]; in NineCubeTexture9_GetCubeMapSurface() [all …]
|
/third_party/mesa3d/src/egl/main/ |
D | eglconfigdebug.c | 110 EGLint renderable, surfaces, vtype, bindRgb, bindRgba; in _eglPrintConfig() local 113 surfaces = conf->SurfaceType; in _eglPrintConfig() 117 if (surfaces & EGL_WINDOW_BIT) in _eglPrintConfig() 119 if (surfaces & EGL_PBUFFER_BIT) in _eglPrintConfig() 121 if (surfaces & EGL_PIXMAP_BIT) in _eglPrintConfig() 123 if (surfaces & EGL_STREAM_BIT_KHR) in _eglPrintConfig() 125 if (surfaces & EGL_SWAP_BEHAVIOR_PRESERVED_BIT) in _eglPrintConfig()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_video_buffer.cpp | 141 for (uint i = 0; i < pD3D12VideoBuffer->surfaces.size(); ++i) { in d3d12_video_buffer_destroy() 142 if (pD3D12VideoBuffer->surfaces[i] != NULL) { in d3d12_video_buffer_destroy() 143 pipe_surface_reference(&pD3D12VideoBuffer->surfaces[i], NULL); in d3d12_video_buffer_destroy() 183 pD3D12VideoBuffer->surfaces.resize(VL_MAX_SURFACES, nullptr); in d3d12_video_buffer_get_surfaces() 192 if (!pD3D12VideoBuffer->surfaces[PlaneSlice]) { in d3d12_video_buffer_get_surfaces() 197 pD3D12VideoBuffer->surfaces[PlaneSlice] = in d3d12_video_buffer_get_surfaces() 200 if (!pD3D12VideoBuffer->surfaces[PlaneSlice]) { in d3d12_video_buffer_get_surfaces() 207 return pD3D12VideoBuffer->surfaces.data(); in d3d12_video_buffer_get_surfaces() 211 pipe_surface_reference(&pD3D12VideoBuffer->surfaces[PlaneSlice], NULL); in d3d12_video_buffer_get_surfaces()
|
/third_party/mesa3d/src/mesa/main/ |
D | vdpau.c | 91 GLintptr surfaces[] = { (GLintptr)surf }; in unregister_surface() local 92 _mesa_VDPAUUnmapSurfacesNV(1, surfaces); in unregister_surface() 342 _mesa_VDPAUMapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces) in _mesa_VDPAUMapSurfacesNV() argument 353 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUMapSurfacesNV() 367 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUMapSurfacesNV() 396 _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces) in _mesa_VDPAUUnmapSurfacesNV() argument 407 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUUnmapSurfacesNV() 421 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUUnmapSurfacesNV()
|
/third_party/openGLES/extensions/NV/ |
D | NV_vdpau_interop.txt | 43 This extension allows VDPAU video and output surfaces to be used 49 Alternatively, the GL may modify VDPAU surfaces in-place, and VDPAU 50 may then process and/or display those surfaces itself. 95 const vdpauSurfaceNV *surfaces); 98 const vdpauSurfaceNV *surfaces); 137 directly from the framebuffer, in the form of VDPAU surfaces. 139 VDPAU surfaces are logically ascribed an interop state. States 168 This operation will succeed even if surfaces exist in the mapped 169 or registered states; such surfaces will internally be unmapped and 233 In all cases, textures defined by VDPAU surfaces will be y- [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_vdpau_interop.txt | 43 This extension allows VDPAU video and output surfaces to be used 49 Alternatively, the GL may modify VDPAU surfaces in-place, and VDPAU 50 may then process and/or display those surfaces itself. 95 const vdpauSurfaceNV *surfaces); 98 const vdpauSurfaceNV *surfaces); 137 directly from the framebuffer, in the form of VDPAU surfaces. 139 VDPAU surfaces are logically ascribed an interop state. States 168 This operation will succeed even if surfaces exist in the mapped 169 or registered states; such surfaces will internally be unmapped and 233 In all cases, textures defined by VDPAU surfaces will be y- [all …]
|
/third_party/EGL/extensions/EXT/ |
D | EGL_EXT_protected_surface.txt | 86 secure memory region. Secure surfaces may be written to by client APIs 88 client APIs will not allow contents of protected surfaces to be accessed 91 to non-protected surfaces. Copies within a protected surface, or from one 93 protected surfaces if and only if the window system is able to maintain 98 to any other surfaces. The definition of secure and non-secure access is 115 secure memory region. Secure surfaces may be written to by client APIs 117 client APIs will not allow contents of protected surfaces to be accessed 120 to non-protected surfaces. Copies within a protected surface, or from one 125 to any other surfaces. The definition of secure and non-secure access is 137 the surface. The protection state of window and pbuffer surfaces is specified [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_protected_surface.txt | 86 secure memory region. Secure surfaces may be written to by client APIs 88 client APIs will not allow contents of protected surfaces to be accessed 91 to non-protected surfaces. Copies within a protected surface, or from one 93 protected surfaces if and only if the window system is able to maintain 98 to any other surfaces. The definition of secure and non-secure access is 115 secure memory region. Secure surfaces may be written to by client APIs 117 client APIs will not allow contents of protected surfaces to be accessed 120 to non-protected surfaces. Copies within a protected surface, or from one 125 to any other surfaces. The definition of secure and non-secure access is 137 the surface. The protection state of window and pbuffer surfaces is specified [all …]
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | vulkan_surface_producer.cc | 131 surfaces) { in OnSurfacesPresented() 140 if (!TransitionSurfacesToExternal(surfaces)) in OnSurfacesPresented() 144 for (auto& surface : surfaces) { in OnSurfacesPresented() 173 surfaces) { in TransitionSurfacesToExternal() 174 for (auto& surface : surfaces) { in TransitionSurfacesToExternal()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_sampler.c | 250 struct svga_winsys_surface *surfaces[PIPE_MAX_SAMPLERS]; in update_sampler_resources() local 262 surfaces[i] = svga_resource_handle(sv->base.texture); in update_sampler_resources() 273 surfaces[i] = NULL; in update_sampler_resources() 281 surfaces[i] = NULL; in update_sampler_resources() 294 struct svga_winsys_surface **pSurf = surfaces; in update_sampler_resources() 549 struct svga_winsys_surface *surfaces[PIPE_MAX_SAMPLERS]; in update_cs_sampler_resources() local 561 surfaces[i] = svga_resource_handle(sv->base.texture); in update_cs_sampler_resources() 572 surfaces[i] = NULL; in update_cs_sampler_resources() 580 surfaces[i] = NULL; in update_cs_sampler_resources() 593 struct svga_winsys_surface **pSurf = surfaces; in update_cs_sampler_resources()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_qsv.c | 206 sizeof(*hwctx->surfaces), qsv_pool_release_dummy, NULL, 0); in qsv_pool_alloc() 298 s->surfaces_internal[i].Data.MemId = (mfxMemId)child_frames_hwctx->surfaces[i]; in qsv_init_child_ctx() 385 frames_hwctx->surfaces = s->surfaces_internal; in qsv_init_pool() 398 mfxFrameInfo *i1 = &hwctx->surfaces[0].Info; in frame_alloc() 495 par.vpp.In = frames_hwctx->surfaces[0].Info; in qsv_init_internal_session() 547 s->surface_ptrs[i] = frames_hwctx->surfaces + i; in qsv_frames_init() 565 s->mem_ids[i] = frames_hwctx->surfaces[i].Data.MemId; in qsv_frames_init() 631 *(VASurfaceID*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() 640 dst_hwctx->surfaces = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from() 641 sizeof(*dst_hwctx->surfaces)); in qsv_frames_derive_from() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video.c | 56 return buf->surfaces; in nouveau_vp3_video_buffer_surfaces() 71 pipe_surface_reference(&buf->surfaces[i * 2], NULL); in nouveau_vp3_video_buffer_destroy() 72 pipe_surface_reference(&buf->surfaces[i * 2 + 1], NULL); in nouveau_vp3_video_buffer_destroy() 156 buffer->surfaces[j * 2] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create() 157 if (!buffer->surfaces[j * 2]) in nouveau_vp3_video_buffer_create() 161 buffer->surfaces[j * 2 + 1] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create() 162 if (!buffer->surfaces[j * 2 + 1]) in nouveau_vp3_video_buffer_create()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | image.c | 205 struct pipe_surface **surfaces; in vlVaDeriveImage() local 267 surfaces = surf->buffer->get_surfaces(surf->buffer); in vlVaDeriveImage() 268 if (!surfaces || !surfaces[0]->texture) in vlVaDeriveImage() 295 screen->resource_get_info(screen, surfaces[0]->texture, &stride, in vlVaDeriveImage() 335 screen->resource_get_info(screen, surfaces[1]->texture, &img->pitches[1], in vlVaDeriveImage() 367 surfaces = surf->buffer->get_surfaces(new_buffer); in vlVaDeriveImage() 369 screen->resource_get_info(screen, surfaces[0]->texture, &img->pitches[0], in vlVaDeriveImage() 374 screen->resource_get_info(screen, surfaces[1]->texture, &img->pitches[1], in vlVaDeriveImage() 416 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture); in vlVaDeriveImage()
|
D | surface.c | 57 int num_surfaces, VASurfaceID *surfaces) in vlVaCreateSurfaces() argument 59 return vlVaCreateSurfaces2(ctx, format, width, height, surfaces, num_surfaces, in vlVaCreateSurfaces() 791 struct pipe_surface **surfaces; in vlVaHandleSurfaceAllocate() local 807 surfaces = surface->buffer->get_surfaces(surface->buffer); in vlVaHandleSurfaceAllocate() 811 if (!surfaces[i]) in vlVaHandleSurfaceAllocate() 817 drv->pipe->clear_render_target(drv->pipe, surfaces[i], &c, 0, 0, in vlVaHandleSurfaceAllocate() 818 surfaces[i]->width, surfaces[i]->height, in vlVaHandleSurfaceAllocate() 829 VASurfaceID *surfaces, unsigned int num_surfaces, in vlVaCreateSurfaces2() argument 988 memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID)); in vlVaCreateSurfaces2() 1032 surfaces[i] = handle_table_add(drv->htab, surf); in vlVaCreateSurfaces2() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/extensions/ |
D | EGL_ANGLE_keyed_mutex.txt | 40 obtaining the IDXGIKeyedMutex for such EGL surfaces. 67 are only available from EGL surfaces backed by Direct3D 11 surfaces.
|
/third_party/skia/third_party/externals/angle2/extensions/ |
D | EGL_ANGLE_keyed_mutex.txt | 40 obtaining the IDXGIKeyedMutex for such EGL surfaces. 67 are only available from EGL surfaces backed by Direct3D 11 surfaces.
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 213 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_destroy() 322 pipe_surface_reference(&buf->surfaces[surf], NULL); in vl_video_buffer_surfaces() 326 if (!buf->surfaces[surf]) { in vl_video_buffer_surfaces() 330 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces() 331 if (!buf->surfaces[surf]) in vl_video_buffer_surfaces() 337 return buf->surfaces; in vl_video_buffer_surfaces() 341 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_surfaces()
|
/third_party/EGL/extensions/NV/ |
D | EGL_NV_post_sub_buffer.txt | 40 Many EGL client APIs do not support rendering to window surfaces 42 window surfaces. Applications that need to perform many small updates 138 SWAP_BEHAVIOR can be set for some surfaces using eglSurfaceAttrib, as 202 1. Should all surfaces be required to support sub-buffer posts if 208 which surfaces support sub-surface posts. 215 surfaces. EGL_present_sub_surface was originally chosen as it was 232 creating window surfaces. 235 operations affecting on-screen surfaces, not just eglSwapBuffers.
|
/third_party/skia/third_party/externals/egl-registry/extensions/NV/ |
D | EGL_NV_post_sub_buffer.txt | 40 Many EGL client APIs do not support rendering to window surfaces 42 window surfaces. Applications that need to perform many small updates 138 SWAP_BEHAVIOR can be set for some surfaces using eglSurfaceAttrib, as 202 1. Should all surfaces be required to support sub-buffer posts if 208 which surfaces support sub-surface posts. 215 surfaces. EGL_present_sub_surface was originally chosen as it was 232 creating window surfaces. 235 operations affecting on-screen surfaces, not just eglSwapBuffers.
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_descriptors.c | 73 struct zink_descriptor_surface *surfaces; member 229 if (zds->surfaces[idx].is_buffer) { in descriptor_set_invalidate() 230 if (zds->surfaces[idx].bufferview) in descriptor_set_invalidate() 231 pop_desc_set_ref(zds, &zds->surfaces[idx].bufferview->desc_set_refs.refs); in descriptor_set_invalidate() 232 zds->surfaces[idx].bufferview = NULL; in descriptor_set_invalidate() 234 if (zds->surfaces[idx].surface) in descriptor_set_invalidate() 235 pop_desc_set_ref(zds, &zds->surfaces[idx].surface->desc_set_refs.refs); in descriptor_set_invalidate() 236 zds->surfaces[idx].surface = NULL; in descriptor_set_invalidate() 240 if (zds->surfaces[idx].is_buffer) { in descriptor_set_invalidate() 241 if (zds->surfaces[idx].bufferview) in descriptor_set_invalidate() [all …]
|
/third_party/mesa3d/docs/ |
D | egl.rst | 171 Contexts and surfaces are examples of display resources. They might live 210 For pbuffer surfaces, the render buffer is always ``EGL_BACK_BUFFER``. 211 And for pixmap surfaces, the render buffer is always 212 ``EGL_SINGLE_BUFFER``. Unlike window surfaces, EGL spec requires their 216 ``EGL_RENDER_BUFFER`` of pixmap or pbuffer surfaces. 218 It should also be noted that pixmap and pbuffer surfaces are assumed to 224 the EGL surfaces, re-route them if required. 228 draw buffer in a client API be fixed for pixmap and pbuffer surfaces. 230 renders to the specified render buffer for pixmap and pbuffer surfaces.
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkallocator_libva.c | 49 VASurfaceID *surfaces = NULL; in gst_msdk_frame_alloc() local 97 surfaces = in gst_msdk_frame_alloc() 162 req->Info.Width, req->Info.Height, surfaces, surfaces_num, attribs, in gst_msdk_frame_alloc() 180 surfaces[i], VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_2, export_flags, in gst_msdk_frame_alloc() 205 msdk_mids[i].surface = &surfaces[i]; in gst_msdk_frame_alloc() 232 surfaces[i] = coded_buf; in gst_msdk_frame_alloc() 233 msdk_mids[i].surface = &surfaces[i]; in gst_msdk_frame_alloc() 304 VASurfaceID *surfaces = mem_id->surface; in gst_msdk_frame_free() local 307 va_status = vaDestroyBuffer (dpy, surfaces[i]); in gst_msdk_frame_free()
|