Searched defs:surf (Results 1 - 25 of 70) sorted by relevance

123

/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_surface.h61 svga_winsys_surface(struct vmw_svga_winsys_surface *surf) argument
63 assert(!surf || surf->sid != SVGA3D_INVALID_ID);
64 return (struct svga_winsys_surface *)surf;
69 vmw_svga_winsys_surface(struct svga_winsys_surface *surf) argument
71 return (struct vmw_svga_winsys_surface *)surf;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_vs_surface_state.c97 const int surf = SURF_INDEX_VERT_CONST_BUFFER; local
100 &brw->vs.surf_offset[surf]);
/external/skia/gm/
H A Dcgm.c56 sk_surface_t* surf = sk_surface_new_raster(&info); local
57 do_draw(sk_surface_get_canvas(surf));
59 sk_image_t* img0 = sk_surface_new_image_snapshot(surf);
60 sk_surface_unref(surf);
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_program.h57 struct pipe_surface surf; member in struct:program
/external/mesa3d/src/gallium/tests/graw/
H A Dclear.c23 struct pipe_surface *surf; variable in typeref:struct:pipe_surface
34 graw_save_surface_to_file(ctx, surf, NULL);
89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
90 if (surf == NULL)
97 fb.cbufs[0] = surf;
H A Dquad-sample.c33 static struct pipe_surface *surf = NULL; variable in typeref:struct:pipe_surface
156 graw_save_surface_to_file(ctx, surf, NULL);
346 surf = ctx->create_surface(ctx, rttex, &surf_tmpl);
347 if (surf == NULL)
354 fb.cbufs[0] = surf;
H A Dshader-leak.c31 static struct pipe_surface *surf = NULL; variable in typeref:struct:pipe_surface
217 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
218 if (surf == NULL) {
227 fb.cbufs[0] = surf;
H A Dtri-gs.c27 static struct pipe_surface *surf = NULL; variable in typeref:struct:pipe_surface
224 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
225 if (surf == NULL)
232 fb.cbufs[0] = surf;
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_context.h71 struct rbug_resource *surf; member in struct:rbug_context::__anon12170
/external/mesa3d/src/egl/main/
H A Deglcontext.c400 _EGLSurface *surf = ctx->DrawSurface; local
403 if (!surf)
405 if (surf->Type == EGL_WINDOW_BIT && ctx->WindowRenderBuffer != EGL_NONE)
408 rb = surf->RenderBuffer;
H A Deglscreen.c194 _EGLScreen *scrn, _EGLSurface **surf)
196 *surf = scrn->CurrentSurface;
193 _eglQueryScreenSurfaceMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, _EGLSurface **surf) argument
H A Deglsurface.c48 _eglClampSwapInterval(_EGLSurface *surf, EGLint interval) argument
50 EGLint bound = surf->Config->MaxSwapInterval;
55 bound = surf->Config->MinSwapInterval;
59 surf->SwapInterval = interval;
65 _eglParseScreenSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) argument
82 surf->Width = val;
89 surf->Height = val;
111 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) argument
113 _EGLDisplay *dpy = surf->Resource.Display;
114 EGLint type = surf
279 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, _EGLConfig *conf, const EGLint *attrib_list) argument
525 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval) argument
[all...]
H A Deglsurface.h82 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type,
87 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint *value);
91 _eglSurfaceAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint value);
95 _eglBindTexImage(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer);
99 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval);
106 _eglGetSurface(_EGLSurface *surf) argument
108 if (surf)
109 _eglGetResource(&surf->Resource);
110 return surf;
118 _eglPutSurface(_EGLSurface *surf) argument
129 _eglLinkSurface(_EGLSurface *surf) argument
141 _eglUnlinkSurface(_EGLSurface *surf) argument
154 _EGLSurface *surf = (_EGLSurface *) surface; local
165 _eglGetSurfaceHandle(_EGLSurface *surf) argument
[all...]
H A Degldisplay.c307 _EGLSurface *surf = (_EGLSurface *) list; local
310 _eglUnlinkSurface(surf);
311 drv->API.DestroySurface(drv, display, surf);
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d_st.c157 _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; local
158 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
193 _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; local
194 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
209 _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; local
210 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
289 egl_g3d_create_st_framebuffer(_EGLSurface *surf) argument
291 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dpresentation.c206 vlVdpOutputSurface *surf; local
220 surf = vlGetDataHTAB(surface);
221 if (!surf)
242 surf->timestamp = (vlVdpTime)earliest_presentation_time;
266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL);
279 pipe->flush(pipe, &surf->fence);
313 vlVdpOutputSurface *surf; local
323 surf = vlGetDataHTAB(surface);
324 if (!surf)
347 vlVdpOutputSurface *surf; local
[all...]
/external/skia/tests/
H A DDrawPathTest.cpp20 SkSurface* surf = SkSurface::NewRasterN32Premul(300, 33300); local
21 SkCanvas* canvas = surf->getCanvas();
48 surf->unref();
/external/mesa3d/src/egl/drivers/dri2/
H A Dplatform_drm.c43 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local
44 struct dri2_egl_surface *dri2_surf = surf->dri_private;
62 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local
63 struct dri2_egl_surface *dri2_surf = surf->dri_private;
76 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local
77 struct dri2_egl_surface *dri2_surf = surf->dri_private;
95 struct gbm_dri_surface *surf; local
113 surf = gbm_dri_surface((struct gbm_surface *) window);
114 dri2_surf->gbm_surf = surf;
115 dri2_surf->base.Width = surf
151 dri2_destroy_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf) argument
184 struct gbm_dri_surface *surf = dri2_surf->gbm_surf; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.c51 u_surface_default_template(struct pipe_surface *surf, argument
55 memset(surf, 0, sizeof(*surf));
57 surf->format = texture->format;
59 surf->usage = bind;
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_video_buffer.c352 unsigned i, j, depth, surf; local
359 for (i = 0, surf = 0; i < depth; ++i ) {
360 for (j = 0; j < VL_NUM_COMPONENTS; ++j, ++surf) {
361 assert(surf < (VL_NUM_COMPONENTS * 2));
364 pipe_surface_reference(&buf->surfaces[surf], NULL);
368 if (!buf->surfaces[surf]) {
373 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[j], &surf_templ);
374 if (!buf->surfaces[surf])
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_surface.c309 struct pipe_surface *surf)
311 pipe_resource_reference(&surf->texture, NULL);
312 FREE(surf);
308 i915_surface_destroy(struct pipe_context *ctx, struct pipe_surface *surf) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_texture.c290 struct pipe_surface *surf)
296 assert(surf->texture);
297 pipe_resource_reference(&surf->texture, NULL);
298 FREE(surf);
289 softpipe_surface_destroy(struct pipe_context *pipe, struct pipe_surface *surf) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_surface.c287 struct pipe_surface *surf)
289 struct svga_surface *s = svga_surface(surf);
290 struct svga_texture *t = svga_texture(surf->texture);
291 struct svga_screen *ss = svga_screen(surf->texture->screen);
298 pipe_resource_reference(&surf->texture, NULL);
299 FREE(surf);
304 svga_mark_surface_dirty(struct pipe_surface *surf) argument
306 struct svga_surface *s = svga_surface(surf);
309 struct svga_texture *tex = svga_texture(surf->texture);
315 if (surf
286 svga_surface_destroy(struct pipe_context *pipe, struct pipe_surface *surf) argument
351 svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf) argument
392 svga_surface_needs_propagation(const struct pipe_surface *surf) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.c448 struct pipe_surface *surf; local
456 surf = ctx->pipe->create_surface(ctx->pipe,
459 if (surf) {
462 surf, 0, 0, stfb->width, stfb->height,
465 pipe_surface_reference(&surf, NULL);
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dsurface.c361 struct pipe_surface surf_templ, *surf; local
390 surf = pipe->create_surface(pipe, tex, &surf_templ);
392 if (!surf)
436 vl_compositor_render(cstate, compositor, surf, dirty_area);

Completed in 436 milliseconds

123