Home
last modified time | relevance | path

Searched refs:surfaces (Results 1 – 25 of 168) sorted by relevance

1234567

/external/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c145 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, surfaces[i]->surf_alignment); 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 …]
Dr600_uvd.c63 struct radeon_surf* surfaces[VL_NUM_COMPONENTS] = {}; in r600_video_buffer_create() local
118 surfaces[i] = &resources[i]->surface; in r600_video_buffer_create()
121 rvid_join_surfaces(&ctx->b, pbs, surfaces); in r600_video_buffer_create()
/external/crosvm/gpu_display/src/
Dgpu_display_stub.rs95 surfaces: BTreeMap<SurfaceId, Surface>, field
102 surfaces: Default::default(), in new()
110 self.surfaces.insert(new_surface_id, new_surface); in create_surface()
117 SurfaceId::new(surface_id).and_then(move |id| self.surfaces.get_mut(&id)) in get_surface()
121 SurfaceId::new(surface_id).and_then(|id| self.surfaces.remove(&id)); in destroy_surface()
134 surfaces: SurfacesHelper, field
143 surfaces: SurfacesHelper::new(), in new()
160 Ok(self.surfaces.create_surface(width, height)) in create_surface()
164 self.surfaces.destroy_surface(surface_id); in release_surface()
168 self.surfaces in framebuffer()
[all …]
Dgpu_display_wl.rs92 surfaces: HashMap<u32, Surface>, field
131 surfaces: Default::default(), in new()
142 self.surfaces.get(&surface_id) in get_surface()
236 self.surfaces.insert( in create_surface()
252 self.surfaces.remove(&surface_id); in release_surface()
/external/mesa3d/src/gallium/frontends/nine/
Dtexture9.c174 This->surfaces = CALLOC(info->last_level + 1, sizeof(*This->surfaces)); in NineTexture9_ctor()
175 if (!This->surfaces) in NineTexture9_ctor()
205 &sfdesc, &This->surfaces[l]); in NineTexture9_ctor()
216 *pSharedHandle = This->surfaces[0]->data; in NineTexture9_ctor()
229 if (This->surfaces) { in NineTexture9_dtor()
232 if (This->surfaces[l]) in NineTexture9_dtor()
233 NineUnknown_Destroy(&This->surfaces[l]->base.base); in NineTexture9_dtor()
234 FREE(This->surfaces); in NineTexture9_dtor()
254 *pDesc = This->surfaces[Level]->desc; in NineTexture9_GetLevelDesc()
270 NineUnknown_AddRef(NineUnknown(This->surfaces[Level])); in NineTexture9_GetSurfaceLevel()
[all …]
Dcubetexture9.c120 This->surfaces = CALLOC(6 * (info->last_level + 1), sizeof(*This->surfaces)); in NineCubeTexture9_ctor()
121 if (!This->surfaces) in NineCubeTexture9_ctor()
153 l, f, &sfdesc, &This->surfaces[f + 6 * l]); in NineCubeTexture9_ctor()
176 if (This->surfaces) { in NineCubeTexture9_dtor()
178 NineUnknown_Destroy(&This->surfaces[i]->base.base); in NineCubeTexture9_dtor()
179 FREE(This->surfaces); in NineCubeTexture9_dtor()
199 *pDesc = This->surfaces[Level * 6]->desc; in NineCubeTexture9_GetLevelDesc()
220 NineUnknown_AddRef(NineUnknown(This->surfaces[s])); in NineCubeTexture9_GetCubeMapSurface()
221 *ppCubeMapSurface = (IDirect3DSurface9 *)This->surfaces[s]; in NineCubeTexture9_GetCubeMapSurface()
244 return NineSurface9_LockRect(This->surfaces[s], pLockedRect, pRect, Flags); in NineCubeTexture9_LockRect()
[all …]
/external/mesa3d/src/mesa/main/
Dvdpau.c88 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()
Dvdpau.h67 _mesa_VDPAUMapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces);
70 _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces);
/external/angle/extensions/
DEGL_ANGLE_keyed_mutex.txt40 obtaining the IDXGIKeyedMutex for such EGL surfaces.
67 are only available from EGL surfaces backed by Direct3D 11 surfaces.
/external/mesa3d/src/gallium/frontends/va/
Dsurface.c57 int num_surfaces, VASurfaceID *surfaces) in vlVaCreateSurfaces() argument
59 return vlVaCreateSurfaces2(ctx, format, width, height, surfaces, num_surfaces, in vlVaCreateSurfaces()
642 struct pipe_surface **surfaces; in vlVaHandleSurfaceAllocate() local
649 surfaces = surface->buffer->get_surfaces(surface->buffer); in vlVaHandleSurfaceAllocate()
653 if (!surfaces[i]) in vlVaHandleSurfaceAllocate()
659 drv->pipe->clear_render_target(drv->pipe, surfaces[i], &c, 0, 0, in vlVaHandleSurfaceAllocate()
660 surfaces[i]->width, surfaces[i]->height, in vlVaHandleSurfaceAllocate()
671 VASurfaceID *surfaces, unsigned int num_surfaces, in vlVaCreateSurfaces2() argument
791 memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID)); in vlVaCreateSurfaces2()
829 surfaces[i] = handle_table_add(drv->htab, surf); in vlVaCreateSurfaces2()
[all …]
Dimage.c204 struct pipe_surface **surfaces; in vlVaDeriveImage() local
254 surfaces = surf->buffer->get_surfaces(surf->buffer); in vlVaDeriveImage()
255 if (!surfaces || !surfaces[0]->texture) in vlVaDeriveImage()
282 screen->resource_get_info(screen, surfaces[0]->texture, &stride, in vlVaDeriveImage()
338 surfaces = surf->buffer->get_surfaces(new_buffer); in vlVaDeriveImage()
340 screen->resource_get_info(screen, surfaces[0]->texture, &stride, in vlVaDeriveImage()
378 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture); in vlVaDeriveImage()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_framebuffer.c67 for (int i = 0; i < ARRAY_SIZE(fbuf->surfaces); ++i) in zink_destroy_framebuffer()
68 pipe_surface_reference(fbuf->surfaces + i, NULL); in zink_destroy_framebuffer()
95 pipe_surface_reference(fbuf->surfaces + i, &surf->base); in zink_create_framebuffer()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.c56 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()
/external/autotest/client/site_tests/security_SysVIPC/
Dcontrol7 DOC = "Security tripwire for SysV IPC attack surfaces"
9 PURPOSE = "Detect emergence of new attack surfaces in SysV IPC"
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c211 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_destroy()
319 pipe_surface_reference(&buf->surfaces[surf], NULL); in vl_video_buffer_surfaces()
323 if (!buf->surfaces[surf]) { in vl_video_buffer_surfaces()
327 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces()
328 if (!buf->surfaces[surf]) in vl_video_buffer_surfaces()
334 return buf->surfaces; in vl_video_buffer_surfaces()
338 pipe_surface_reference(&buf->surfaces[i], NULL); in vl_video_buffer_surfaces()
/external/llvm-project/llvm/docs/AMDGPU/
Dgfx8_data_mimg_atomic_cmp.rst21 …ay specify 2 data elements for 32-bit-per-pixel surfaces or 4 data elements for 64-bit-per-pixel s…
Dgfx7_data_mimg_atomic_cmp.rst21 …ay specify 2 data elements for 32-bit-per-pixel surfaces or 4 data elements for 64-bit-per-pixel s…
Dgfx8_data_mimg_atomic_reg.rst21 …may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel s…
Dgfx9_data_mimg_atomic_cmp.rst21 …ay specify 2 data elements for 32-bit-per-pixel surfaces or 4 data elements for 64-bit-per-pixel s…
Dgfx10_data_mimg_atomic_reg.rst21 …may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel s…
Dgfx10_data_mimg_atomic_cmp.rst21 …ay specify 2 data elements for 32-bit-per-pixel surfaces or 4 data elements for 64-bit-per-pixel s…
Dgfx9_data_mimg_atomic_reg.rst21 …may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel s…
Dgfx7_data_mimg_atomic_reg.rst21 …may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel s…
/external/mesa3d/docs/_extra/specs/
DMESA_configless_context.spec34 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/docs/
Degl.rst177 Contexts and surfaces are examples of display resources. They might live
216 For pbuffer surfaces, the render buffer is always ``EGL_BACK_BUFFER``.
217 And for pixmap surfaces, the render buffer is always
218 ``EGL_SINGLE_BUFFER``. Unlike window surfaces, EGL spec requires their
222 ``EGL_RENDER_BUFFER`` of pixmap or pbuffer surfaces.
224 It should also be noted that pixmap and pbuffer surfaces are assumed to
230 the EGL surfaces, re-route them if required.
234 draw buffer in a client API be fixed for pixmap and pbuffer surfaces.
236 renders to the specified render buffer for pixmap and pbuffer surfaces.

1234567