/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_video.c | 135 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]) in si_vid_join_surfaces() 148 if (!surfaces[i]) in si_vid_join_surfaces() 153 wh = surfaces[i]->u.legacy.bankw * surfaces[i]->u.legacy.bankh; in si_vid_join_surfaces() 162 if (!surfaces[i]) in si_vid_join_surfaces() 166 off = align(off, surfaces[i]->surf_alignment); in si_vid_join_surfaces() 170 surfaces[i]->u.legacy.bankw = surfaces[best_tiling]->u.legacy.bankw; in si_vid_join_surfaces() 171 surfaces[i]->u.legacy.bankh = surfaces[best_tiling]->u.legacy.bankh; in si_vid_join_surfaces() 172 surfaces[i]->u.legacy.mtilea = surfaces[best_tiling]->u.legacy.mtilea; in si_vid_join_surfaces() 173 surfaces[i]->u.legacy.tile_split = surfaces[best_tiling]->u.legacy.tile_split; in si_vid_join_surfaces() 175 for (j = 0; j < ARRAY_SIZE(surfaces[i]->u.legacy.level); ++j) in si_vid_join_surfaces() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_video.c | 143 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]) in rvid_join_surfaces() 156 if (!surfaces[i]) in rvid_join_surfaces() 160 wh = surfaces[i]->u.legacy.bankw * surfaces[i]->u.legacy.bankh; in rvid_join_surfaces() 168 if (!surfaces[i]) in rvid_join_surfaces() 172 off = align(off, surfaces[i]->surf_alignment); in rvid_join_surfaces() 175 surfaces[i]->u.legacy.bankw = surfaces[best_tiling]->u.legacy.bankw; in rvid_join_surfaces() 176 surfaces[i]->u.legacy.bankh = surfaces[best_tiling]->u.legacy.bankh; in rvid_join_surfaces() 177 surfaces[i]->u.legacy.mtilea = surfaces[best_tiling]->u.legacy.mtilea; in rvid_join_surfaces() 178 surfaces[i]->u.legacy.tile_split = surfaces[best_tiling]->u.legacy.tile_split; in rvid_join_surfaces() 180 for (j = 0; j < ARRAY_SIZE(surfaces[i]->u.legacy.level); ++j) in rvid_join_surfaces() [all …]
|
D | r600_uvd.c | 63 struct radeon_surf* surfaces[VL_NUM_COMPONENTS] = {}; in r600_video_buffer_create() local 115 surfaces[i] = &resources[i]->surface; in r600_video_buffer_create() 118 rvid_join_surfaces(&ctx->b, pbs, surfaces); in r600_video_buffer_create()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | texture9.c | 173 This->surfaces = CALLOC(info->last_level + 1, sizeof(*This->surfaces)); in NineTexture9_ctor() 174 if (!This->surfaces) in NineTexture9_ctor() 204 &sfdesc, &This->surfaces[l]); in NineTexture9_ctor() 215 *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() 253 *pDesc = This->surfaces[Level]->desc; in NineTexture9_GetLevelDesc() 269 NineUnknown_AddRef(NineUnknown(This->surfaces[Level])); in NineTexture9_GetSurfaceLevel() [all …]
|
D | cubetexture9.c | 119 This->surfaces = CALLOC(6 * (info->last_level + 1), sizeof(*This->surfaces)); in NineCubeTexture9_ctor() 120 if (!This->surfaces) in NineCubeTexture9_ctor() 152 l, f, &sfdesc, &This->surfaces[f + 6 * l]); in NineCubeTexture9_ctor() 175 if (This->surfaces) { in NineCubeTexture9_dtor() 177 NineUnknown_Destroy(&This->surfaces[i]->base.base); in NineCubeTexture9_dtor() 178 FREE(This->surfaces); in NineCubeTexture9_dtor() 198 *pDesc = This->surfaces[Level * 6]->desc; in NineCubeTexture9_GetLevelDesc() 219 NineUnknown_AddRef(NineUnknown(This->surfaces[s])); in NineCubeTexture9_GetCubeMapSurface() 220 *ppCubeMapSurface = (IDirect3DSurface9 *)This->surfaces[s]; in NineCubeTexture9_GetCubeMapSurface() 243 return NineSurface9_LockRect(This->surfaces[s], pLockedRect, pRect, Flags); in NineCubeTexture9_LockRect() [all …]
|
D | basetexture9.c | 227 NineSurface9_SetResource(tex->surfaces[l], res, l - This->managed.lod); in NineBaseTexture9_UploadSelf() 235 NineSurface9_SetResource(tex->surfaces[l * 6 + z], in NineBaseTexture9_UploadSelf() 271 NineSurface9_UploadSelf(tex->surfaces[l], &box); in NineBaseTexture9_UploadSelf() 292 NineSurface9_UploadSelf(tex->surfaces[l * 6 + z], &box); in NineBaseTexture9_UploadSelf() 331 NineSurface9_UploadSelf(tex->surfaces[l], &box); in NineBaseTexture9_UploadSelf() 345 NineSurface9_UploadSelf(tex->surfaces[l * 6 + z], &box); in NineBaseTexture9_UploadSelf()
|
/external/mesa3d/src/mesa/main/ |
D | vdpau.c | 87 GLintptr surfaces[] = { (GLintptr)surf }; in unregister_surface() local 88 _mesa_VDPAUUnmapSurfacesNV(1, surfaces); in unregister_surface() 338 _mesa_VDPAUMapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces) in _mesa_VDPAUMapSurfacesNV() argument 349 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUMapSurfacesNV() 363 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUMapSurfacesNV() 392 _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces) in _mesa_VDPAUUnmapSurfacesNV() argument 403 struct vdp_surface *surf = (struct vdp_surface *)surfaces[i]; in _mesa_VDPAUUnmapSurfacesNV() 417 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);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | surface.c | 56 int num_surfaces, VASurfaceID *surfaces) in vlVaCreateSurfaces() argument 58 return vlVaCreateSurfaces2(ctx, format, width, height, surfaces, num_surfaces, in vlVaCreateSurfaces() 596 struct pipe_surface **surfaces; in vlVaHandleSurfaceAllocate() local 603 surfaces = surface->buffer->get_surfaces(surface->buffer); in vlVaHandleSurfaceAllocate() 607 if (!surfaces[i]) in vlVaHandleSurfaceAllocate() 613 drv->pipe->clear_render_target(drv->pipe, surfaces[i], &c, 0, 0, in vlVaHandleSurfaceAllocate() 614 surfaces[i]->width, surfaces[i]->height, in vlVaHandleSurfaceAllocate() 625 VASurfaceID *surfaces, unsigned int num_surfaces, in vlVaCreateSurfaces2() argument 741 memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID)); in vlVaCreateSurfaces2() 779 surfaces[i] = handle_table_add(drv->htab, surf); in vlVaCreateSurfaces2() [all …]
|
D | postproc.c | 60 struct pipe_surface **surfaces; in vlVaPostProcCompositor() local 64 surfaces = dst->get_surfaces(dst); in vlVaPostProcCompositor() 65 if (!surfaces || !surfaces[0]) in vlVaPostProcCompositor() 82 vl_compositor_render(&drv->cstate, &drv->compositor, surfaces[0], NULL, false); in vlVaPostProcCompositor()
|
D | image.c | 200 struct pipe_surface **surfaces; in vlVaDeriveImage() local 218 surfaces = surf->buffer->get_surfaces(surf->buffer); in vlVaDeriveImage() 219 if (!surfaces || !surfaces[0]->texture) in vlVaDeriveImage() 280 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture); in vlVaDeriveImage()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 287 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_destroy() 395 pipe_surface_reference(&buf->surfaces[surf], NULL); in vl_video_buffer_surfaces() 399 if (!buf->surfaces[surf]) { in vl_video_buffer_surfaces() 403 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces() 404 if (!buf->surfaces[surf]) in vl_video_buffer_surfaces() 410 return buf->surfaces; in vl_video_buffer_surfaces() 414 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_surfaces()
|
/external/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() 157 buffer->surfaces[j * 2] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create() 158 if (!buffer->surfaces[j * 2]) in nouveau_vp3_video_buffer_create() 162 buffer->surfaces[j * 2 + 1] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create() 163 if (!buffer->surfaces[j * 2 + 1]) in nouveau_vp3_video_buffer_create()
|
D | nouveau_video.h | 16 struct pipe_surface *surfaces[VL_NUM_COMPONENTS * 2]; member 41 struct nouveau_video_buffer *surfaces[8]; member
|
D | nouveau_video.c | 385 if (dec->surfaces[i] == buf) in nouveau_decoder_surface_index() 389 dec->surfaces[i] = buf; in nouveau_decoder_surface_index() 729 if (!buf->surfaces[i]) { in nouveau_video_buffer_surfaces() 732 buf->surfaces[i] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in nouveau_video_buffer_surfaces() 733 if (!buf->surfaces[i]) in nouveau_video_buffer_surfaces() 738 return buf->surfaces; in nouveau_video_buffer_surfaces() 742 pipe_surface_reference(&buf->surfaces[i], NULL); in nouveau_video_buffer_surfaces() 756 pipe_surface_reference(&buf->surfaces[i], NULL); in nouveau_video_buffer_destroy()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_uvd.c | 43 struct radeon_surf *surfaces[VL_NUM_COMPONENTS] = {}; in si_video_buffer_create() local 84 surfaces[i] = & resources[i]->surface; in si_video_buffer_create() 88 si_vid_join_surfaces(&ctx->b, pbs, surfaces); in si_video_buffer_create()
|
/external/autotest/client/site_tests/security_SysVIPC/ |
D | control | 7 DOC = "Security tripwire for SysV IPC attack surfaces" 9 PURPOSE = "Detect emergence of new attack surfaces in SysV IPC"
|
/external/u-boot/disk/ |
D | part_amiga.c | 116 g->low_cyl * g->block_per_track * g->surfaces , in print_part_info() 117 (g->high_cyl - g->low_cyl + 1) * g->block_per_track * g->surfaces - 1); in print_part_info() 302 info->start = g->low_cyl * g->block_per_track * g->surfaces; in part_get_info_amiga() 303 info->size = (g->high_cyl - g->low_cyl + 1) * g->block_per_track * g->surfaces - 1; in part_get_info_amiga()
|
/external/mesa3d/docs/specs/ |
D | MESA_configless_context.spec | 34 multiple surfaces which have different EGLConfigs. Without this extension 36 with the one used by the context. The only way to render to surfaces with 119 mixing single- and double-buffered surfaces with configless contexts.
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_sampler.c | 238 struct svga_winsys_surface *surfaces[PIPE_MAX_SAMPLERS]; in update_sampler_resources() local 250 surfaces[i] = svga_resource_handle(sv->base.texture); in update_sampler_resources() 261 surfaces[i] = NULL; in update_sampler_resources() 269 surfaces[i] = NULL; in update_sampler_resources() 282 struct svga_winsys_surface **pSurf = surfaces; in update_sampler_resources()
|
D | svga_draw.c | 355 struct svga_winsys_surface *surfaces[PIPE_MAX_SAMPLERS]; in validate_sampler_resources() local 368 surfaces[i] = svga_buffer_handle(svga, sv->base.texture, in validate_sampler_resources() 372 surfaces[i] = svga_texture(sv->base.texture)->handle; in validate_sampler_resources() 376 surfaces[i] = NULL; in validate_sampler_resources() 387 surfaces[unit] = svga_texture(sv->base.texture)->handle; in validate_sampler_resources() 394 if (surfaces[i]) { in validate_sampler_resources() 396 surfaces[i], in validate_sampler_resources()
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | surface.c | 441 struct pipe_surface **surfaces; in vlVdpVideoSurfaceClear() local 447 surfaces = vlsurf->video_buffer->get_surfaces(vlsurf->video_buffer); in vlVdpVideoSurfaceClear() 451 if (!surfaces[i]) in vlVdpVideoSurfaceClear() 457 pipe->clear_render_target(pipe, surfaces[i], &c, 0, 0, in vlVdpVideoSurfaceClear() 458 surfaces[i]->width, surfaces[i]->height, false); in vlVdpVideoSurfaceClear()
|
/external/skia/bench/ |
D | SKPAnimationBench.cpp | 38 this->surfaces()[j]->getCanvas()->drawPicture(this->picture(), &trans, nullptr); in drawPicture() 42 this->surfaces()[j]->getCanvas()->flush(); in drawPicture()
|
/external/skqp/bench/ |
D | SKPAnimationBench.cpp | 38 this->surfaces()[j]->getCanvas()->drawPicture(this->picture(), &trans, nullptr); in drawPicture() 42 this->surfaces()[j]->getCanvas()->flush(); in drawPicture()
|
/external/mesa3d/src/intel/isl/ |
D | README | 5 isl is a small library that calculates the layout of Intel GPU surfaces, queries 16 hardware: the actual memory layout of Intel GPU surfaces and how one programs 17 the GPU to use those surfaces. For example: 107 type multisampled surfaces, an element is a sample.
|