/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
H A D | vmw_surface.h | 61 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/gallium/winsys/svga/drm/ |
H A D | vmw_surface.h | 61 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | gen7_wm_surface_state.c | 65 gen7_set_surface_tiling(struct gen7_surface_state *surf, uint32_t tiling) argument 69 surf->ss0.tiled_surface = 0; 70 surf->ss0.tile_walk = 0; 73 surf->ss0.tiled_surface = 1; 74 surf->ss0.tile_walk = BRW_TILEWALK_XMAJOR; 77 surf->ss0.tiled_surface = 1; 78 surf->ss0.tile_walk = BRW_TILEWALK_YMAJOR; 85 gen7_set_surface_msaa(struct gen7_surface_state *surf, unsigned num_samples, argument 89 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_8; 91 surf 103 gen7_set_surface_mcs_info(struct brw_context *brw, struct gen7_surface_state *surf, uint32_t surf_offset, const struct intel_mipmap_tree *mcs_mt, bool is_render_target) argument 143 gen7_check_surface_setup(struct gen7_surface_state *surf, bool is_render_target) argument 239 struct gen7_surface_state *surf; local 303 struct gen7_surface_state *surf; local 411 struct gen7_surface_state *surf; local 471 struct gen7_surface_state *surf; local 509 struct gen7_surface_state *surf; local [all...] |
H A D | gen7_blorp.cpp | 155 struct gen7_surface_state *surf = (struct gen7_surface_state *) local 156 brw_state_batch(brw, AUB_TRACE_SURFACE_STATE, sizeof(*surf), 32, 158 memset(surf, 0, sizeof(*surf)); 161 surf->ss0.vertical_alignment = 1; 163 surf->ss0.horizontal_alignment = 1; 165 surf->ss0.surface_format = surface->brw_surfaceformat; 166 surf->ss0.surface_type = BRW_SURFACE_2D; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_wm_surface_state.c | 65 gen7_set_surface_tiling(struct gen7_surface_state *surf, uint32_t tiling) argument 69 surf->ss0.tiled_surface = 0; 70 surf->ss0.tile_walk = 0; 73 surf->ss0.tiled_surface = 1; 74 surf->ss0.tile_walk = BRW_TILEWALK_XMAJOR; 77 surf->ss0.tiled_surface = 1; 78 surf->ss0.tile_walk = BRW_TILEWALK_YMAJOR; 85 gen7_set_surface_msaa(struct gen7_surface_state *surf, unsigned num_samples, argument 89 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_8; 91 surf 103 gen7_set_surface_mcs_info(struct brw_context *brw, struct gen7_surface_state *surf, uint32_t surf_offset, const struct intel_mipmap_tree *mcs_mt, bool is_render_target) argument 143 gen7_check_surface_setup(struct gen7_surface_state *surf, bool is_render_target) argument 239 struct gen7_surface_state *surf; local 303 struct gen7_surface_state *surf; local 411 struct gen7_surface_state *surf; local 471 struct gen7_surface_state *surf; local 509 struct gen7_surface_state *surf; local [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
H A D | eglsurface.h | 82 _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 D | eglsurface.c | 48 _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...] |
/external/mesa3d/src/egl/main/ |
H A D | eglsurface.h | 82 _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 D | eglsurface.c | 48 _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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_st.h | 43 egl_g3d_create_st_framebuffer(_EGLSurface *surf);
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_st.h | 43 egl_g3d_create_st_framebuffer(_EGLSurface *surf);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | svga_surface.c | 287 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/drivers/svga/ |
H A D | svga_surface.c | 287 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/chromium_org/third_party/skia/gm/ |
H A D | image.cpp | 58 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) { argument 59 drawContents(surf, SK_ColorRED); 60 SkImage* imgR = surf->newImageSnapshot(); 63 SkImage* imgR2 = surf->newImageSnapshot(); 68 drawContents(surf, SK_ColorGREEN); 69 SkImage* imgG = surf->newImageSnapshot(); 74 drawContents(surf, SK_ColorBLUE); 82 surf->draw(canvas, 0, 160, usePaint ? &paint : NULL); 85 src1.iset(0, 0, surf->width(), surf [all...] |
/external/skia/gm/ |
H A D | image.cpp | 64 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) { argument 65 drawContents(surf, SK_ColorRED); 66 SkImage* imgR = surf->newImageSnapshot(); 69 SkImage* imgR2 = surf->newImageSnapshot(); 74 drawContents(surf, SK_ColorGREEN); 75 SkImage* imgG = surf->newImageSnapshot(); 80 drawContents(surf, SK_ColorBLUE); 88 surf->draw(canvas, 0, 160, usePaint ? &paint : NULL); 91 src1.iset(0, 0, surf->width(), surf [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | presentation.c | 206 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/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | presentation.c | 206 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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.h | 57 struct pipe_surface surf; member in struct:program
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.h | 57 struct pipe_surface surf; member in struct:program
|
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
H A D | gbm.c | 399 * \param surf The surface 402 gbm_surface_destroy(struct gbm_surface *surf) argument 404 surf->gbm->surface_destroy(surf); 420 * \param surf The surface 429 gbm_surface_lock_front_buffer(struct gbm_surface *surf) argument 431 return surf->gbm->surface_lock_front_buffer(surf); 443 * \param surf The surface 447 gbm_surface_release_buffer(struct gbm_surface *surf, struc argument 469 gbm_surface_has_free_buffers(struct gbm_surface *surf) argument [all...] |
/external/mesa3d/src/gbm/main/ |
H A D | gbm.c | 399 * \param surf The surface 402 gbm_surface_destroy(struct gbm_surface *surf) argument 404 surf->gbm->surface_destroy(surf); 420 * \param surf The surface 429 gbm_surface_lock_front_buffer(struct gbm_surface *surf) argument 431 return surf->gbm->surface_lock_front_buffer(surf); 443 * \param surf The surface 447 gbm_surface_release_buffer(struct gbm_surface *surf, struc argument 469 gbm_surface_has_free_buffers(struct gbm_surface *surf) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 43 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/egl/drivers/dri2/ |
H A D | platform_drm.c | 43 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/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
H A D | clear.c | 23 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;
|
/external/mesa3d/src/gallium/tests/graw/ |
H A D | clear.c | 23 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;
|