/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/wayland-ivi-extension/ivi-layermanagement-api/test/ |
D | ilm_input_test.cpp | 91 t_ilm_surface surfaces[] = {iviSurfaces[0].surface_id, in TEST_F() local 103 EXPECT_EQ(ILM_SUCCESS, ilm_layerSetRenderOrder(layer, surfaces, surfaceCount)); in TEST_F() 122 …ASSERT_EQ(ILM_SUCCESS, ilm_setInputFocus(&surfaces[0], surfaceCount, ILM_INPUT_DEVICE_KEYBOARD, IL… in TEST_F() 128 if (surfaceIDs[i] == surfaces[j]) in TEST_F() 136 … ASSERT_EQ(ILM_SUCCESS, ilm_setInputFocus(&surfaces[0], 1, ILM_INPUT_DEVICE_KEYBOARD, ILM_FALSE)); in TEST_F() 140 if (surfaceIDs[i] == surfaces[0]) in TEST_F() 146 ASSERT_EQ(ILM_SUCCESS, ilm_setInputFocus(&surfaces[1], 1, ILM_INPUT_DEVICE_POINTER, ILM_TRUE)); in TEST_F() 150 if (surfaceIDs[i] == surfaces[1]) in TEST_F() 156 ASSERT_EQ(ILM_SUCCESS, ilm_setInputFocus(&surfaces[2], 1, ILM_INPUT_DEVICE_TOUCH, ILM_TRUE)); in TEST_F() 160 if (surfaceIDs[i] == surfaces[2]) in TEST_F()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blitter.c | 77 struct pan_blit_surface surfaces[8]; member 153 nir_alu_type type = blit_shader->key.surfaces[rt].type; in pan_blitter_emit_blend() 413 for (unsigned i = 0; i < ARRAY_SIZE(key->surfaces); i++) { in pan_blitter_get_blit_shader() 415 if (key->surfaces[i].type == nir_type_invalid) in pan_blitter_get_blit_shader() 418 switch (key->surfaces[i].type) { in pan_blitter_get_blit_shader() 425 switch (key->surfaces[i].dim) { in pan_blitter_get_blit_shader() 434 (key->surfaces[i].dim ? : 3) + in pan_blitter_get_blit_shader() 435 (key->surfaces[i].array ? 1 : 0)); in pan_blitter_get_blit_shader() 444 gl_frag_result_name(key->surfaces[i].loc), in pan_blitter_get_blit_shader() 446 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/weston/libweston-desktop/ |
D | seat.c | 49 struct wl_list surfaces; member 268 wl_list_init(&seat->popup_grab.surfaces); in weston_desktop_seat_from_seat() 276 if (seat == NULL || wl_list_empty(&seat->popup_grab.surfaces)) in weston_desktop_seat_popup_grab_get_topmost_surface() 279 struct wl_list *grab_link = seat->popup_grab.surfaces.next; in weston_desktop_seat_popup_grab_get_topmost_surface() 329 while (!wl_list_empty(&seat->popup_grab.surfaces)) { in weston_desktop_seat_popup_grab_end() 330 struct wl_list *link = seat->popup_grab.surfaces.prev; in weston_desktop_seat_popup_grab_end() 360 wl_list_insert(&seat->popup_grab.surfaces, link); in weston_desktop_seat_popup_grab_add_surface() 371 if (wl_list_empty(&seat->popup_grab.surfaces)) in weston_desktop_seat_popup_grab_remove_surface()
|
/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/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/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/mesa3d/src/mesa/main/ |
D | vdpau.c | 88 GLintptr surfaces[] = { (GLintptr)surf }; in unregister_surface() local 89 _mesa_VDPAUUnmapSurfacesNV(1, surfaces); in unregister_surface() 339 _mesa_VDPAUMapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces) in _mesa_VDPAUMapSurfacesNV() argument 350 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUMapSurfacesNV() 364 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUMapSurfacesNV() 393 _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces) in _mesa_VDPAUUnmapSurfacesNV() argument 404 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUUnmapSurfacesNV() 418 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUUnmapSurfacesNV()
|
D | vdpau.h | 67 _mesa_VDPAUMapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces); 70 _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces);
|
/third_party/wayland-ivi-extension/screen-info/module/ |
D | screen-info.c | 81 ilayer->surfaces = (struct surface_info **)malloc( in get_screens_info() 84 ilayer->surfaces[j] = (struct surface_info *)malloc( in get_screens_info() 91 struct surface_info *isurface = ilayer->surfaces[j]; in get_screens_info() 119 struct surface_info *isurface = ilayer->surfaces[k]; in free_screens_info() 122 free(ilayer->surfaces); in free_screens_info()
|
/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/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/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/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/weston/ivi-shell/ |
D | hmi-controller.c | 216 struct ivi_layout_surface **surfaces; in mode_divided_into_tiling() local 225 surfaces = MEM_ALLOC(sizeof(*surfaces) * surface_length); in mode_divided_into_tiling() 226 new_order = MEM_ALLOC(sizeof(*surfaces) * surface_length); in mode_divided_into_tiling() 235 surfaces[surf_num++] = ivisurf; in mode_divided_into_tiling() 248 ivisurf = surfaces[idx]; in mode_divided_into_tiling() 275 hmi_ctrl->interface->surface_set_visibility(surfaces[i], false); in mode_divided_into_tiling() 277 free(surfaces); in mode_divided_into_tiling() 294 struct ivi_layout_surface **surfaces; in mode_divided_into_sidebyside() local 300 surfaces = MEM_ALLOC(sizeof(*surfaces) * surface_length); in mode_divided_into_sidebyside() 301 new_order = MEM_ALLOC(sizeof(*surfaces) * surface_length); in mode_divided_into_sidebyside() [all …]
|
/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/drivers/d3d12/ |
D | d3d12_batch.cpp | 47 batch->surfaces = _mesa_set_create(NULL, _mesa_hash_pointer, in d3d12_init_batch() 53 if (!batch->bos || !batch->sampler_views || !batch->surfaces || !batch->objects) in d3d12_init_batch() 124 _mesa_set_clear(batch->surfaces, delete_surface); in d3d12_reset_batch() 151 _mesa_set_destroy(batch->surfaces, NULL); in d3d12_destroy_batch()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_descriptors.c | 71 struct zink_descriptor_surface *surfaces; member 224 if (zds->surfaces[i].is_buffer) { in descriptor_set_invalidate() 225 if (zds->surfaces[i].bufferview) in descriptor_set_invalidate() 226 pop_desc_set_ref(zds, &zds->surfaces[i].bufferview->desc_set_refs.refs); in descriptor_set_invalidate() 227 zds->surfaces[i].bufferview = NULL; in descriptor_set_invalidate() 229 if (zds->surfaces[i].surface) in descriptor_set_invalidate() 230 pop_desc_set_ref(zds, &zds->surfaces[i].surface->desc_set_refs.refs); in descriptor_set_invalidate() 231 zds->surfaces[i].surface = NULL; in descriptor_set_invalidate() 235 if (zds->surfaces[i].is_buffer) { in descriptor_set_invalidate() 236 if (zds->surfaces[i].bufferview) in descriptor_set_invalidate() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 211 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_destroy() 320 pipe_surface_reference(&buf->surfaces[surf], NULL); in vl_video_buffer_surfaces() 324 if (!buf->surfaces[surf]) { in vl_video_buffer_surfaces() 328 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces() 329 if (!buf->surfaces[surf]) in vl_video_buffer_surfaces() 335 return buf->surfaces; in vl_video_buffer_surfaces() 339 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/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/ |
D | common.cpp | 115 vector<t_ilm_surface> surfaces = scene.layerSurfaces[layer]; in getSceneRenderOrder() local 118 for (vector<t_ilm_surface>::iterator it = surfaces.begin(); it != surfaces.end(); ++it) in getSceneRenderOrder() 257 scene.surfaces = vector<t_ilm_surface>(surfaceArray, surfaceArray + surfaceCount); in captureSceneData()
|