Searched refs:surface (Results 1 - 25 of 648) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/include/state_tracker/
H A Dvdpau_interop.h51 typedef struct pipe_video_buffer *VdpVideoSurfaceGallium(uint32_t surface); typedef in typeref:struct:pipe_video_buffer * VdpVideoSurfaceGallium (uint32_t)
52 typedef struct pipe_resource *VdpOutputSurfaceGallium(uint32_t surface); typedef in typeref:struct:pipe_resource * VdpOutputSurfaceGallium (uint32_t)
/xsrc/external/mit/MesaLib/dist/src/gallium/include/frontend/
H A Dvdpau_interop.h51 typedef struct pipe_video_buffer *VdpVideoSurfaceGallium(uint32_t surface); typedef in typeref:struct:pipe_video_buffer * VdpVideoSurfaceGallium (uint32_t)
52 typedef struct pipe_resource *VdpOutputSurfaceGallium(uint32_t surface); typedef in typeref:struct:pipe_resource * VdpOutputSurfaceGallium (uint32_t)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/tegra/
H A Dtegra_resource.h62 to_tegra_surface(struct pipe_surface *surface) argument
64 return (struct tegra_surface *)surface;
68 tegra_surface_unwrap(struct pipe_surface *surface) argument
70 if (!surface)
73 return to_tegra_surface(surface)->gpu;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/tegra/
H A Dtegra_resource.h63 to_tegra_surface(struct pipe_surface *surface) argument
65 return (struct tegra_surface *)surface;
69 tegra_surface_unwrap(struct pipe_surface *surface) argument
71 if (!surface)
74 return to_tegra_surface(surface)->gpu;
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_surface_ums.c27 * A 'free' surface is one that is not allocated on the device. These
30 * A 'live' surface is one that the X server is using for something. It
34 * A 'dead' surface is one that the X server is no using any more, but
39 * A 'destroyed' surface is one whose ref count has reached 0. It is no
41 * When a surface enters this state, the associated pixman images are freed, and
43 * which puts the surface into the 'free' state.
80 * All surfaces, excluding the primary one, indexed by surface id.
101 surface_log = fopen("/tmp/xf86-video-qxl.surface.log", "w+");
104 fprintf(stderr, "error creating surface log file (DEBUG_SURFACE_LIFECYCLE)\n");
109 static int surface_count(qxl_surface_t *surface) argument
272 qxl_surface_t *surface = cache->all_surfaces + id; local in function:qxl_surface_recycle
295 qxl_surface_t *surface; local in function:qxl_surface_cache_create_primary
353 qxl_surface_get_host_bits(qxl_surface_t * surface) argument
440 qxl_surface_t *surface; local in function:surface_send_create
534 qxl_surface_t *surface; local in function:qxl_surface_create
586 qxl_surface_set_pixmap(qxl_surface_t * surface,PixmapPtr pixmap) argument
594 unlink_surface(qxl_surface_t * surface) argument
616 surface_destroy(qxl_surface_t * surface) argument
636 surface_add_to_cache(qxl_surface_t * surface) argument
710 qxl_surface_t *surface = cache->all_surfaces + id; local in function:qxl_surface_unref
718 qxl_surface_kill(qxl_surface_t * surface) argument
828 qxl_surface_t *surface; local in function:qxl_surface_cache_replace_all
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/tests/
H A Dtest_surface.c46 XvMCSurface surface = {0}; local in function:main
78 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext);
79 /* Test NULL surface */
82 assert(XvMCCreateSurface(display, &context, &surface) == Success);
83 /* Test surface id assigned */
84 assert(surface.surface_id != 0);
86 assert(surface.context_id == context.context_id);
87 /* Test surface type id assigned and correct */
88 assert(surface.surface_type_id == surface_type_id);
90 assert(surface
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/tests/
H A Dtest_surface.c46 XvMCSurface surface = {0}; local in function:main
78 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext);
79 /* Test NULL surface */
82 assert(XvMCCreateSurface(display, &context, &surface) == Success);
83 /* Test surface id assigned */
84 assert(surface.surface_id != 0);
86 assert(surface.context_id == context.context_id);
87 /* Test surface type id assigned and correct */
88 assert(surface.surface_type_id == surface_type_id);
90 assert(surface
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_surface.c107 init_surface_info(struct zink_surface *surface, struct zink_resource *res, VkImageViewCreateInfo *ivci) argument
109 surface->info.flags = res->obj->vkflags;
110 surface->info.usage = res->obj->vkusage;
111 surface->info.width = surface->base.width;
112 surface->info.height = surface->base.height;
113 surface->info.layerCount = ivci->subresourceRange.layerCount;
114 surface->info.format = ivci->format;
115 surface
128 struct zink_surface *surface = CALLOC_STRUCT(zink_surface); local in function:create_surface
171 struct zink_surface *surface = NULL; local in function:zink_get_surface
260 struct zink_surface *surface = zink_surface(psurface); local in function:surface_clear_fb_refs
280 struct zink_surface *surface = zink_surface(psurface); local in function:zink_destroy_surface
319 struct zink_surface *surface = zink_surface(*psurface); local in function:zink_rebind_surface
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/
H A DMakefile.sources5 surface.c \
H A Dsurface.c47 XvMCSurfacePrivate *surface,
100 GetPictureDescription(XvMCSurfacePrivate *surface, struct pipe_mpeg12_picture_desc *desc) argument
104 assert(surface && desc);
108 desc->picture_structure = surface->picture_structure;
110 if (surface->ref[i]) {
111 XvMCSurfacePrivate *ref = surface->ref[i]->privData;
120 RecursiveEndFrame(XvMCSurfacePrivate *surface) argument
125 assert(surface);
127 context_priv = surface->context->privData;
130 if (surface
46 MacroBlocksToPipe(XvMCContextPrivate * context,XvMCSurfacePrivate * surface,unsigned int xvmc_picture_structure,const XvMCMacroBlock * xvmc_mb,const XvMCBlockArray * xvmc_blocks,struct pipe_mpeg12_macroblock * mb,unsigned int num_macroblocks) argument
154 XvMCCreateSurface(Display * dpy,XvMCContext * context,XvMCSurface * surface) argument
320 XvMCFlushSurface(Display * dpy,XvMCSurface * surface) argument
336 XvMCSyncSurface(Display * dpy,XvMCSurface * surface) argument
349 XvMCPutSurface(Display * dpy,XvMCSurface * surface,Drawable drawable,short srcx,short srcy,unsigned short srcw,unsigned short srch,short destx,short desty,unsigned short destw,unsigned short desth,int flags) argument
472 XvMCGetSurfaceStatus(Display * dpy,XvMCSurface * surface,int * status) argument
499 XvMCDestroySurface(Display * dpy,XvMCSurface * surface) argument
529 XvMCHideSurface(Display * dpy,XvMCSurface * surface) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/driver_trace/
H A Dtr_texture.h50 struct pipe_surface *surface; member in struct:trace_surface
78 trace_surface(struct pipe_surface *surface) argument
80 if (!surface)
82 return (struct trace_surface *)surface;
107 struct pipe_surface *surface);
H A Dtr_texture.c41 struct pipe_surface *surface)
45 if (!surface)
48 assert(surface->texture == res);
54 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface));
60 tr_surf->surface = surface;
65 pipe_surface_reference(&surface, NULL);
75 pipe_surface_reference(&tr_surf->surface, NULL);
39 trace_surf_create(struct trace_context * tr_ctx,struct pipe_resource * res,struct pipe_surface * surface) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/driver_trace/
H A Dtr_texture.h51 struct pipe_surface *surface; member in struct:trace_surface
80 trace_surface(struct pipe_surface *surface) argument
82 if (!surface)
84 return (struct trace_surface *)surface;
109 struct pipe_surface *surface);
H A Dtr_texture.c41 struct pipe_surface *surface)
45 if (!surface)
48 assert(surface->texture == res);
54 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface));
60 tr_surf->surface = surface;
65 pipe_surface_reference(&surface, NULL);
74 pipe_surface_reference(&tr_surf->surface, NULL);
39 trace_surf_create(struct trace_context * tr_ctx,struct pipe_resource * res,struct pipe_surface * surface) argument
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_bo_helper.c111 radeon_surface_initialize(RADEONInfoPtr info, struct radeon_surface *surface, argument
115 memset(surface, 0, sizeof(struct radeon_surface));
117 surface->npix_x = width;
119 surface->npix_y = RADEON_ALIGN(height, 8);
120 surface->npix_z = 1;
121 surface->blk_w = 1;
122 surface->blk_h = 1;
123 surface->blk_d = 1;
124 surface->array_size = 1;
125 surface
191 struct radeon_surface surface; local in function:radeon_alloc_pixmap_bo
451 radeon_set_shared_pixmap_backing(PixmapPtr ppix,void * fd_handle,struct radeon_surface * surface) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_surface_builder.h34 const src_reg &surface, const src_reg &addr,
39 emit_untyped_write(const vec4_builder &bld, const src_reg &surface,
46 const src_reg &surface, const src_reg &addr,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_surface.cpp241 struct d3d12_surface *surface = CALLOC_STRUCT(d3d12_surface); local in function:d3d12_create_surface
242 if (!surface)
245 pipe_resource_reference(&surface->base.texture, pres);
246 pipe_reference_init(&surface->base.reference, 1);
247 surface->base.context = pctx;
248 surface->base.format = tpl->format;
249 surface->base.width = u_minify(pres->width0, tpl->u.tex.level);
250 surface->base.height = u_minify(pres->height0, tpl->u.tex.level);
251 surface->base.u.tex.level = tpl->u.tex.level;
252 surface
268 struct d3d12_surface *surface = (struct d3d12_surface*) psurf; local in function:d3d12_surface_destroy
283 blit_surface(struct d3d12_surface * surface,bool pre) argument
304 d3d12_surface_update_pre_draw(struct d3d12_surface * surface,DXGI_FORMAT format) argument
353 d3d12_surface_update_post_draw(struct d3d12_surface * surface,enum d3d12_surface_conversion_mode mode) argument
361 d3d12_surface_get_handle(struct d3d12_surface * surface,enum d3d12_surface_conversion_mode mode) argument
[all...]
H A Dd3d12_surface.h55 d3d12_surface_update_pre_draw(struct d3d12_surface *surface,
59 d3d12_surface_update_post_draw(struct d3d12_surface *surface,
63 d3d12_surface_get_handle(struct d3d12_surface *surface,
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_surface_builder.h34 const src_reg &surface, const src_reg &addr,
39 emit_untyped_write(const vec4_builder &bld, const src_reg &surface,
46 const src_reg &surface, const src_reg &addr,
/xsrc/external/mit/MesaLib/dist/src/egl/main/
H A Deglsurface.c51 * Parse the list of surface attributes and return the proper error code.
201 /* window surface attributes */
246 /* pbuffer surface attributes */
329 /* no pixmap surface specific attributes */
348 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
390 /* The config can't be used to create a surface of this type */
457 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surface, argument
462 *value = surface->Width;
465 *value = surface->Height;
468 *value = surface
631 _eglSurfaceAttrib(_EGLDisplay * disp,_EGLSurface * surface,EGLint attribute,EGLint value) argument
756 _eglBindTexImage(_EGLDisplay * disp,_EGLSurface * surface,EGLint buffer) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/egl/main/
H A Deglsurface.c51 * Parse the list of surface attributes and return the proper error code.
201 /* window surface attributes */
231 /* pbuffer surface attributes */
306 /* no pixmap surface specific attributes */
325 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
366 /* The config can't be used to create a surface of this type */
429 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surface, argument
434 *value = surface->Width;
437 *value = surface->Height;
440 *value = surface
593 _eglSurfaceAttrib(_EGLDriver * drv,_EGLDisplay * disp,_EGLSurface * surface,EGLint attribute,EGLint value) argument
718 _eglBindTexImage(_EGLDriver * drv,_EGLDisplay * disp,_EGLSurface * surface,EGLint buffer) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dvdpau.h54 _mesa_VDPAUIsSurfaceNV(GLintptr surface);
57 _mesa_VDPAUUnregisterSurfaceNV(GLintptr surface);
60 _mesa_VDPAUGetSurfaceivNV(GLintptr surface, GLenum pname, GLsizei bufSize,
64 _mesa_VDPAUSurfaceAccessNV(GLintptr surface, GLenum access);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dvdpau.h54 _mesa_VDPAUIsSurfaceNV(GLintptr surface);
57 _mesa_VDPAUUnregisterSurfaceNV(GLintptr surface);
60 _mesa_VDPAUGetSurfaceivNV(GLintptr surface, GLenum pname, GLsizei bufSize,
64 _mesa_VDPAUSurfaceAccessNV(GLintptr surface, GLenum access);
/xsrc/external/mit/MesaLib.old/dist/include/EGL/
H A Deglextchromium.h47 EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust,
51 (EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust,
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/
H A Dsurface.c47 XvMCSurfacePrivate *surface,
100 GetPictureDescription(XvMCSurfacePrivate *surface, struct pipe_mpeg12_picture_desc *desc) argument
104 assert(surface && desc);
108 desc->picture_structure = surface->picture_structure;
110 if (surface->ref[i]) {
111 XvMCSurfacePrivate *ref = surface->ref[i]->privData;
120 RecursiveEndFrame(XvMCSurfacePrivate *surface) argument
125 assert(surface);
127 context_priv = surface->context->privData;
130 if (surface
46 MacroBlocksToPipe(XvMCContextPrivate * context,XvMCSurfacePrivate * surface,unsigned int xvmc_picture_structure,const XvMCMacroBlock * xvmc_mb,const XvMCBlockArray * xvmc_blocks,struct pipe_mpeg12_macroblock * mb,unsigned int num_macroblocks) argument
154 XvMCCreateSurface(Display * dpy,XvMCContext * context,XvMCSurface * surface) argument
320 XvMCFlushSurface(Display * dpy,XvMCSurface * surface) argument
336 XvMCSyncSurface(Display * dpy,XvMCSurface * surface) argument
349 XvMCPutSurface(Display * dpy,XvMCSurface * surface,Drawable drawable,short srcx,short srcy,unsigned short srcw,unsigned short srch,short destx,short desty,unsigned short destw,unsigned short desth,int flags) argument
472 XvMCGetSurfaceStatus(Display * dpy,XvMCSurface * surface,int * status) argument
499 XvMCDestroySurface(Display * dpy,XvMCSurface * surface) argument
529 XvMCHideSurface(Display * dpy,XvMCSurface * surface) argument
[all...]

Completed in 24 milliseconds

1234567891011>>